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