4 <p>To run this test manually, press arrow keys three times. WebKit should not crash. On DRT, you see see PASS:
</p>
5 <input type=
"text" onkeydown=
"move(this.nextSibling)"
6 ><input type=
"text" onkeydown=
"move(this.nextSibling)"
7 ><input type=
"text" onkeydown=
"move(this.nextSibling)"
8 ><input type=
"text" onkeydown=
"move(this.nextSibling)"
9 ><input type=
"text" onkeydown=
"move(this.nextSibling)"
10 ><input type=
"text" onkeydown=
"move(this.nextSibling)">
11 <script type=
"text/javascript">
13 if (window
.testRunner
)
14 testRunner
.dumpAsText();
16 var activeInput
= null;
18 function move(newInput
)
20 newInput
.className
= '';
21 newInput
.style
.dispaly
= '';
24 activeInput
.style
.display
= 'none';
25 activeInput
= newInput
;
28 var inputs
= document
.getElementsByTagName('input');
31 if (window
.eventSender
) {
32 testRunner
.waitUntilDone();
33 for (var i
= 0; i
< inputs
.length
- 1; i
++)
34 eventSender
.keyDown('downArrow', []);
35 testRunner
.notifyDone();
38 document
.body
.appendChild(document
.createTextNode('PASS'));