Sign in
webkit
/
WebKit
/
c2482f3ae25f413cff2e13443ac27ae81b76180f
/
.
/
LayoutTests
/
fast
/
parser
/
resources
/
set-parent-to-javascript-url.html
blob: 4f1ebdd03015bb3225d30ec8560623ef9704495a [
file
] [
log
] [
blame
]
<script>
const
parent
=
window
.
parent
;
alert
(
1
);
parent
.
document
.
getElementsByTagName
(
'iframe'
)[
0
].
src
=
"javascript:alert(3),'PASS<script>alert(4)<\/script>'"
;
alert
(
2
);
parent
.
setTimeout
(
"done()"
,
0
);
</script>