tor-browser

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

requestStorageAccess-sandboxed-iframe-allow-storage-access.sub.https.window.js (452B)


      1 // META: script=helpers.js
      2 // META: script=/resources/testdriver.js
      3 // META: script=/resources/testdriver-vendor.js
      4 'use strict';
      5 
      6 const frameSourceUrl =
      7    'https://{{hosts[alt][www]}}:{{ports[https][0]}}/storage-access-api/resources/sandboxed-iframe-allow-storage-access.html';
      8 
      9 const sandboxAttribute =
     10    'allow-scripts allow-same-origin allow-storage-access-by-user-activation allow-popups';
     11 
     12 RunTestsInIFrame(frameSourceUrl, sandboxAttribute);