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