Sign in
webkit
/
WebKit
/
a505795d6604e65c53d1725ad4e11f5541e21004
/
.
/
LayoutTests
/
http
/
tests
/
security
/
resources
/
sandboxed-iframe-origin-add-step1.html
blob: 211db5c620b66cdc5688e9b42bbb6218d7c751d1 [
file
] [
log
] [
blame
]
<script>
window
.
addEventListener
(
"message"
,
function
(
evt
)
{
try
{
top
.
fail
();
}
catch
(
e
)
{
console
.
log
(
e
);
top
.
postMessage
(
"step1-done"
,
"*"
);
}
},
false
);
top
.
postMessage
(
"step1-ready"
,
"*"
);
</script>