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