blob: 92d510abcac64c8178c0fa0a97f81e5f8916608a [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function iframeDone() {
console.log('main frame: iframe is done');
setTimeout(() => {
if (window.testRunner)
testRunner.notifyDone();
}, 0);
}
</script>
<iframe name="iframe" src="resources/onbeforeunload-detach-iframe.html"></iframe>
This test passes if it does not crash.