3 testRunner
.dumpAsText();
8 if (!window
.testRunner
)
11 var elem
= document
.getElementById('focusMe')
14 eventSender
.keyDown("\t");
16 if (!key
) { // first test passed, continue with second test
19 eventSender
.keyDown("\t",["shiftKey"]);
21 if (!key
) { // second test passed
22 document
.write("PASSED");
27 document
.write("FAILED");
31 <body onload=
"test()">
32 <input onfocus=
"key-=1">
33 <input id=
"focusMe" tabindex=
"-1">
34 <input onfocus=
"key+=1">
35 <div id=
"results"></div>