0bdc710777f2be4c0efabec46883265e4324a6fb
[WebKit-https.git] / LayoutTests / http / tests / appcache / deferred-events-delete-while-raising-timer.html
1 <html>
2 <script>
3 if (window.testRunner) {
4   testRunner.dumpAsText();
5   testRunner.waitUntilDone();
6 }
7
8 window.onmessage = function() {
9   document.getElementById('result').innerHTML = "SUCCESS";
10   if (window.testRunner)
11     testRunner.notifyDone();
12 }
13
14 function killChildFrame() {
15   document.body.removeChild(document.getElementsByTagName("iframe")[0]);
16 }
17 </script>
18 <p>Test the destruction of an iframe while deferred events are being raised does not crash the system.</p>
19 <div id="result">FAILURE</div>
20 <iframe src="resources/deferred-events-delete-while-raising-timer-1.html"></iframe>
21 </html>