tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

header-referrer-same-origin.html (694B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <meta charset="utf-8">
      5    <title>SendBeacon Referrer Header Same Origin Policy</title>
      6    <script src="/resources/testharness.js"></script>
      7    <script src="/resources/testharnessreport.js"></script>
      8    <meta name='referrer' content='same-origin'>
      9  </head>
     10  <body>
     11    <script src="/common/utils.js"></script>
     12    <script src="/common/get-host-info.sub.js"></script>
     13    <script src="header-referrer.js"></script>
     14    <script>
     15      var testBase = RESOURCES_DIR;
     16      testReferrerHeader(testBase, referrerUrl);
     17      testBase = get_host_info().HTTP_REMOTE_ORIGIN + RESOURCES_DIR;
     18      testReferrerHeader(testBase, "");
     19    </script>
     20  </body>
     21 </html>