blob: 902c1fb5c75d2333c91d73ebf5963ac9f3a821ad [file] [log] [blame]
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function r()
{
document.body.removeChild(document.getElementById("f"));
setTimeout(function() { testRunner.notifyDone();}, 0);
}
</script>
Test deleting a subframe from within its readystatechange event. We pass if we don't crash.
<iframe id="f" src="resources/delete-frame-during-readystatechange-frame.html"></iframe>