1 <p>This test verifies that the ENTER key fires the change event.
</p>
3 <input id=
"input" type=
"password" onchange=
"changeHandler()" onblur=
"blurHandler()"></input>
4 <pre id=
"console"></pre>
9 document
.getElementById('console').appendChild(document
.createTextNode(s
+ "\n"));
12 function changeHandler()
14 log ('PASS: change event fired.\n');
17 function blurHandler()
19 log ('blur event fired.\n');
22 if (window
.testRunner
)
23 testRunner
.dumpAsText();
26 document
.getElementById('input').focus();
27 document
.execCommand("InsertText", false, "foo bar baz");
31 if (window
.eventSender
)
32 eventSender
.keyDown("\r", []);