tor-browser

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

popup-same-origin-with-same-site.https.html (1431B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <meta name=timeout content=long>
      4 <script src=/resources/testharness.js></script>
      5 <script src=/resources/testharnessreport.js></script>
      6 <script src="/common/dispatcher/dispatcher.js"></script>
      7 <script src="/common/get-host-info.sub.js"></script>
      8 <script src="/common/utils.js"></script>
      9 <script src="resources/common.js"></script>
     10 <script src="resources/popup-test.js"></script>
     11 <script>
     12 
     13 [
     14  {
     15    "title": "popup with empty coop",
     16    "coop": "",
     17    "opener": "severed"
     18  },
     19  {
     20    "title": "popup with coop unsafe-none",
     21    "coop": "unsafe-none",
     22    "opener": "severed"
     23  },
     24  {
     25    "title": "popup with jibberish coop",
     26    "coop": "jibberish",
     27    "opener": "severed"
     28  },
     29  {
     30    "title": "popup with obsolete coop",
     31    "coop": "same-site",
     32    "opener": "severed"
     33  },
     34  {
     35    "title": "popup with obsolete coop 2",
     36    "coop": "same-site unsafe-allow-outgoing",
     37    "opener": "severed"
     38  },
     39  {
     40    "title": "popup with obsolete coop 3",
     41    "coop": "same-origin unsafe-allow-outgoing",
     42    "opener": "severed"
     43  },
     44  {
     45    "title": "popup with coop same-origin",
     46    "coop": "same-origin",
     47    "opener": "severed"
     48  },
     49  {
     50    "title": "popup with coop same-origin-allow-popups",
     51    "coop": "same-origin-allow-popups",
     52    "opener": "severed"
     53  }
     54 ].forEach(variant => {
     55  popup_test(`Same-site ${variant.title}`, SAME_SITE, { coop: variant.coop }, variant.opener);
     56 });
     57 
     58 </script>