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

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

  </body>
</html>