Sign in
webkit
/
WebKit
/
cd096af6c6240b3ceab5d977df03c24b8d5fa8d7
/
.
/
LayoutTests
/
http
/
tests
/
security
/
xss-DENIED-window-name-alert.html
blob: f3a55338f087dbfcfcbfafa9a1052a8f2ad7625a [
file
] [
log
] [
blame
]
<script>
if
(
window
.
testRunner
)
testRunner
.
dumpAsText
();
</script>
<iframe sandbox="allow-scripts allow-modals"
src="data:text/html,
<script>
window
.
name
=
'alert2'
;
alert
(
top
.
alert2
===
window
?
'PASS'
:
'FAIL'
);
</script>
">
</iframe>