tor-browser

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

file_allow_https_schemes.html (481B)


      1 <!DOCTYPE HTML>
      2 <html>
      3  <head>
      4    <title>Bug 826805 - CSP: Allow http and https for scheme-less sources</title>
      5  </head>
      6  <body>
      7  <div id="testdiv">blocked</div>
      8  <!--
      9    We resue file_path_matching.js which just updates the contents of 'testdiv' to contain allowed.
     10    Note, that we are loading the file_path_matchting.js using a scheme of 'https'.
     11   -->
     12  <script src="https://example.com/tests/dom/security/test/csp/file_path_matching.js#foo"></script>
     13 </body>
     14 </html>