blob: 10a6a5b4d4b1f6b1e86b03e15737b481fbcdfb81 [file] [log] [blame]
<p>This tests for a crash on Undo. You should see an empty input field below.</p>
<input type="text" id="input">
<script>
if (window.layoutTestController)
window.layoutTestController.dumpAsText();
document.getElementById("input").focus();
document.execCommand("InsertText", false, "x");
document.execCommand("Undo");
</script>