Sign in
webkit
/
WebKit
/
431c47fbae9b6dec87c0dd4d3e46bfb763a4c9a3
/
.
/
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>