blob: f972a4b9235de649a5b9339322a7feb01f53b988 [file] [log] [blame]
justin.garcia@apple.com16711cb2008-02-15 23:25:26 +00001<p>This tests for a crash on Undo. You should see an empty input field below.</p>
2<input type="text" id="input">
3
4<script>
rniwa@webkit.org14f6b5b2012-06-13 08:51:53 +00005if (window.testRunner)
6 window.testRunner.dumpAsText();
justin.garcia@apple.com16711cb2008-02-15 23:25:26 +00007document.getElementById("input").focus();
8document.execCommand("InsertText", false, "x");
9document.execCommand("Undo");
10</script>