5 onkeypress = function(e
) {
6 var tf
= document
.getElementById("tf");
11 if (window
.testRunner
)
12 eventSender
.keyDown("\n");
17 Test that firing a \n char event at a text field doesn't insert line breaks. To
18 run the test manually, ensure that the input field below is not focused, and
19 hit enter. The test passes, if the caret stays inside the input field.
<br>
20 <input id=
"tf" type=
"text"></input>