Sign in
webkit
/
WebKit
/
5477927d104775982421a977c5683c552d9374f2
/
.
/
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>