summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/history/the-location-interface/location_origin.html
blob: 2325f4018aa25dedcb25e854fcc3048083eb9b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<meta charset="utf-8">
<title></title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  test(function () {
    assert_equals(
      location.origin,
      location.protocol + '//' + location.host,
      "origin"
    );
  }, "location origin");
</script>