tor-browser

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

third-party-cookies.tentative.https.html (884B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8"/>
      3 <meta name="timeout" content="long">
      4 <title>Test third-party cookies</title>
      5 <script src="/resources/testdriver.js"></script>
      6 <script src="/resources/testdriver-vendor.js"></script>
      7 <script src="/resources/testharness.js"></script>
      8 <script src="/resources/testharnessreport.js"></script>
      9 <script src="/common/get-host-info.sub.js"></script>
     10 <script src="/cookies/resources/cookie-helper.sub.js"></script>
     11 <script src="/cookies/third-party-cookies/resources/test-helpers.js"></script>
     12 
     13 <body>
     14 <script>
     15 
     16 document.body.onload = async () => {
     17  // Open a cross-site window.
     18  const crossSiteUrl = new URL(
     19    `./resources/third-party-cookies-cross-site-embedder-opener.html`,
     20    get_host_info().HTTPS_NOTSAMESITE_ORIGIN + self.location.pathname);
     21  const popup = window.open(crossSiteUrl);
     22  fetch_tests_from_window(popup);
     23 };
     24 
     25 </script>
     26 </body>