summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/beacon/headers/header-referrer-origin.html
blob: c7a571e3a125ac2c3cc0ed42ff8eb658e35f73b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>SendBeacon Referrer Header Origin Policy</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <meta name='referrer' content='origin'>
  </head>
  <body>
    <script src="/common/utils.js"></script>
    <script src="/common/get-host-info.sub.js"></script>
    <script src="header-referrer.js"></script>
    <script>
      var testBase = get_host_info().HTTP_REMOTE_ORIGIN + RESOURCES_DIR;
      testReferrerHeader(testBase, referrerOrigin);
    </script>
  </body>
</html>