repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bug 1685822 [wpt PR 27117] - [Import Maps] Add tests for rejecting multiple import...
[gecko.git]
/
dom
/
security
/
test
/
csp
/
file_iframe_sandbox_srcdoc.html
blob
bc700ed68fb314ec5337afb70c768885b1e3216d
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>