| <!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] --> |
| <html manifest="THIS_FILE_DOES_NOT_EXIST.manifest"> |
| <script src="THIS_FILE_DOES_NOT_EXIST.js" type="text/javascript"></script> |
| <script type="text/javascript"> |
| var isParentFrame = window == window.top; |
| testRunner.waitUntilDone(); |
| window.onmessage = function() { |
| document.getElementById('result').innerHTML = "SUCCESS"; |
| window.applicationCache.onchecking = function() { |
| parent.postMessage("hello", "*"); |
| function killChildFrame() { |
| document.body.removeChild(document.getElementsByTagName("iframe")[0]); |
| <p>Test the destruction of an iframe while deferred events are being raised does not crash the system.</p> |
| <div id="result">FAILURE</div> |
| <iframe src="deferred-events-delete-while-raising.html"></iframe> |