file_sandbox_3.html (496B)
1 <html> 2 <head> <meta charset="utf-8"> </head> 3 <body> 4 <!-- sandbox="allow-same-origin" --> 5 <!-- Content-Security-Policy: default-src 'none' --> 6 7 <!-- these should be stopped by CSP --> 8 <img src="http://example.org/tests/dom/security/test/csp/file_CSP.sjs?testid=img3_bad&type=img/png"> </img> 9 <img src="/tests/dom/security/test/csp/file_CSP.sjs?testid=img3a_bad&type=img/png" /> 10 <script src='/tests/dom/security/test/csp/file_sandbox_fail.js'></script> 11 12 </body> 13 </html>