Source/WebCore: Crash in WebCore::FrameLoader::checkCompleted()
[WebKit-https.git] / LayoutTests / http / tests / misc / delete-frame-during-readystatechange.html
1 <script>
2 if (window.testRunner) {
3     testRunner.dumpAsText();
4     testRunner.waitUntilDone();
5 }
6
7 function r()
8 {
9     document.body.removeChild(document.getElementById("f"));
10     setTimeout(function() { testRunner.notifyDone();}, 0);
11 }
12 </script>
13 Test deleting a subframe from within its readystatechange event. We pass if we don't crash.
14 <iframe id="f" src="resources/delete-frame-during-readystatechange-frame.html"></iframe>