tor-browser

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

document-write.https.window.js (435B)


      1 // META: script=/common/get-host-info.sub.js
      2 
      3 // To use document.domain, we need to start from a subdomain.
      4 //
      5 // For document.domain setter to work, some web browser require the
      6 // |Origin-Agent-Cluster: ?0| header to be set uniformly on the origin.
      7 const origin = get_host_info().OTHER_ORIGIN;
      8 const openee = window.open(
      9  origin + '/html/browsers/origin/inheritance/resources/document-write.html')
     10 fetch_tests_from_window(openee);