tor-browser

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

url-image-referrer-policy-same-origin.sub.html (788B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Request URL Modifiers: referrer-policy(no-referrer)</title>
      5 <link rel="help" href="https://drafts.csswg.org/css-values-5/#typedef-request-url-modifier-referrer-policy-modifier">
      6 <link rel="author" title="Sam Weinig" href="mailto:weinig@webkit.org">
      7 <link rel="match" href="../../url-image-ref.html">
      8 <meta name="assert" content="A same origin url with the request URL modifier referrer-policy(no-referrer) sends the appropriate referrer header.">
      9 <script src="../../support/image-referrer-policy.sub.js"></script>
     10 <script>
     11  test_image_referrer_policy({ load_type:`same-origin`, referrer_policy:`no-referrer`, expected_referrer:`none`});
     12 </script>
     13 </head>
     14 <body>
     15 <p>Test passes if there is a green square.</p>
     16 <div class="test"></div>
     17 </body>
     18 </html>