summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_sandbox_3.html
blob: ba808e47d5dd02148917b2a6ce9ce8432e73518e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<html>
<head> <meta charset="utf-8"> </head>
  <body>
    <!-- sandbox="allow-same-origin" -->
    <!-- Content-Security-Policy: default-src 'none' -->

    <!-- these should be stopped by CSP -->
    <img src="http://example.org/tests/dom/security/test/csp/file_CSP.sjs?testid=img3_bad&type=img/png"> </img>
    <img src="/tests/dom/security/test/csp/file_CSP.sjs?testid=img3a_bad&type=img/png" />
    <script src='/tests/dom/security/test/csp/file_sandbox_fail.js'></script>

  </body>
</html>