Editing tests should use testRunner instead of layoutTestController
[WebKit-https.git] / LayoutTests / editing / undo / 5738768.html
1 <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>
5 if (window.testRunner)
6     window.testRunner.dumpAsText();
7 document.getElementById("input").focus();
8 document.execCommand("InsertText", false, "x");
9 document.execCommand("Undo");
10 </script>