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