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