| testRunner.waitUntilDone(); |
| <body onload='deleteFrame()'> |
| var frameToRemove = document.getElementById('subframe'); |
| document.body.removeChild(frameToRemove); |
| function reloadSubframe() |
| var iframe = document.createElement('iframe'); |
| iframe.src = 'resources/crash-during-iframe-load-stop.html'; |
| document.body.appendChild(iframe); |
| setTimeout(function() { deleteFrame(); }, 0); |
| function subFrameFinishedLoading() |
| <p>This tests that WebKit does not crash when frame loads are interrupted. This test passes if it does not crash.</p> |
| <iframe id="subframe" src='resources/crash-during-iframe-load-stop.html'></iframe> |