Bug 1685822 [wpt PR 27117] - [Import Maps] Add tests for rejecting multiple import...
[gecko.git] / dom / security / test / csp / file_iframe_sandbox_srcdoc.html
blobbc700ed68fb314ec5337afb70c768885b1e3216d
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Bug 1073952 - CSP should restrict scripts in srcdoc iframe even if sandboxed</title>
6 </head>
7 <body>
8 <iframe srcdoc="<img src=x onerror='parent.postMessage({result: `unexpected-csp-violation`}, `*`);'>"
9 sandbox="allow-scripts"></iframe>
10 </body>
11 </html>