chromium/third_party/blink/web_tests/http/tests/security/resources/sandboxed-iframe-origin-remove-step2.html

<script>
try {
    top.fail();
} catch(e) {
    top.postMessage("step2-done", "*");
}
</script>