Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / misc / delete-frame-during-readystatechange.html
blob902c1fb5c75d2333c91d73ebf5963ac9f3a821ad
1 <script>
2 if (window.testRunner) {
3 testRunner.dumpAsText();
4 testRunner.waitUntilDone();
7 function r()
9 document.body.removeChild(document.getElementById("f"));
10 setTimeout(function() { testRunner.notifyDone();}, 0);
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>