Sign in
webkit
/
WebKit
/
436b72e27e0464bf3a61a2b074723e3cc9dee953
/
.
/
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>