Sign in
webkit
/
WebKit
/
0aa192ef1bb53cd65ee1ccdfb1bf23e98c2e6e65
/
.
/
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>