tor-browser

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

file_connect-src-fetch.html (428B)


      1 <!DOCTYPE HTML>
      2 <html>
      3  <head>
      4    <title>Bug 1139667 - Test mapping of fetch() to connect-src</title>
      5  </head>
      6  <body>
      7  <script type="text/javascript">
      8 
      9    // Please note that file_testserver.sjs?foo does not return a response.
     10    // For testing purposes this is not necessary because we only want to check
     11    // whether CSP allows or blocks the load.
     12    fetch( "file_testserver.sjs?foo");
     13 
     14  </script>
     15 </body>
     16 </html>