1 <p>This tests that dispatching a keyboard event created via javascript does
8 testRunner
.dumpAsText();
10 var evt
= document
.createEvent("KeyboardEvent");
11 evt
.initKeyboardEvent("keydown", true, true, window
, 0, 0, 0, 0, 0, 0, "a");
12 var elt
= document
.getElementById("1");
14 elt
.dispatchEvent(evt
);
16 document
.getElementById("results").innerText
= "PASSED";