tor-browser

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

header-referrer-origin-when-cross-origin.https.html (686B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <title>FetchLater Referrer Header: Origin When Cross Origin Policy</title>
      5 <meta name='referrer' content='origin-when-cross-origin'>
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <script src="/common/utils.js"></script>
      9 <script src="/common/get-host-info.sub.js"></script>
     10 <script src="/fetch/fetch-later/resources/header-referrer-helper.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14 
     15 const {
     16  HTTPS_ORIGIN,
     17  HTTPS_REMOTE_ORIGIN
     18 } = get_host_info();
     19 
     20 testReferrerHeader(token(), HTTPS_ORIGIN, REFERRER_URL);
     21 testReferrerHeader(token(), HTTPS_REMOTE_ORIGIN, REFERRER_ORIGIN);
     22 
     23 </script>
     24 </body>
     25 </html>