blob: cb3ff0ba639e37c6748dbdb541a046e2fd021392 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<iframe></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function run()
{
var iframe = document.getElementsByTagName('iframe')[0];
iframe.contentDocument.documentElement.contentEditable = true;
iframe.contentDocument.documentElement.addEventListener('focusout', function () {
iframe.parentNode.removeChild(iframe);
}, false);
iframe.contentDocument.documentElement.focus();
document.write("PASS. WebKit didn't crash.");
}
document.addEventListener('DOMContentLoaded', run);
</script>
</body>
</html>