blob: 02397fa7e4de82e268508a8a3ac6ac5ba2e0d0bf [file] [log] [blame]
<p>
Tests that WebKit does not crash when a frame is removed during keydown
event processing. To test manually, press any letter key. The iframe
below should disappear and Safari should not crash.
</p>
<script>
function test() {
document.getElementById("iframe").focus();
if (window.testRunner) {
testRunner.dumpAsText();
eventSender.keyDown("x");
}
}
</script>
<iframe onload="test()" id="iframe" src="resources/keydown-remove-frame-iframe.html"></iframe>