tor-browser

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

file_sandbox_8.html (539B)


      1 <html>
      2 <head> <meta charset="utf-8"> </head>
      3  <body>
      4    <!-- Content-Security-Policy: sandbox; default-src 'self' -->
      5 
      6    <!-- these should be stopped by CSP -->
      7    <img src="http://example.org/tests/dom/security/test/csp/file_CSP.sjs?testid=img8_bad&type=img/png"> </img>
      8 
      9    <!-- these should load ok -->
     10    <img src="/tests/dom/security/test/csp/file_CSP.sjs?testid=img8a_good&type=img/png" />
     11    <!-- should not execute script -->
     12    <script src='/tests/dom/security/test/csp/file_sandbox_fail.js'></script>
     13 
     14  </body>
     15 </html>