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