tor-browser

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

same-site-none-embed.html (566B)


      1 <!doctype html>
      2 
      3 <head>
      4  <script src="/cookies/resources/cookie-helper.sub.js"></script>
      5  <script src="/common/get-host-info.sub.js"></script>
      6  <script src="/resources/testharness.js"></script>
      7  <script src="/resources/testharnessreport.js"></script>
      8 </head>
      9 
     10 <body>
     11  <script>
     12    promise_test(async () => {
     13      const val = await credFetch(SECURE_ORIGIN + "/cookies/resources/list.py");
     14      assert_cookie(SECURE_ORIGIN, val => val.json().data, "samesite_none", undefined, false);
     15    }, "Innermost frame contains samesite=none cookie");
     16  </script>
     17 </body>