tor-browser

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

network-partition-iframe-checker.html (961B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4  <meta charset="utf-8">
      5  <title>Iframe Network Partition Checker</title>
      6  <meta name="help" href="https://fetch.spec.whatwg.org/#network-partition-keys">
      7  <meta name="timeout" content="normal">
      8  <script src="SUBRESOURCE_PREFIX:&dispatch=fetch_file&path=common/utils.js"></script>
      9  <script src="SUBRESOURCE_PREFIX:&dispatch=fetch_file&path=resources/testharness.js"></script>
     10  <script src="SUBRESOURCE_PREFIX:&dispatch=fetch_file&path=fetch/connection-pool/resources/network-partition-key.js"></script>
     11 </head>
     12 <body>
     13 <script>
     14  // Listen for first message from the iframe, and pass it back to the opener.
     15  function message_listener(event) {
     16    window.opener.postMessage(event.data, '*');
     17  }
     18  window.addEventListener('message', message_listener, {once: 'true'});
     19 </script>
     20 <iframe src="SUBRESOURCE_PREFIX:&dispatch=fetch_file&path=fetch/connection-pool/resources/network-partition-checker.html"></iframe>
     21 </body>
     22 </html>