Skip media source tests since the feature is not enabled on Windows.
[WebKit-https.git] / LayoutTests / fast / forms / render-text-crash.html
1 <!DOCTYPE html>
2 <html>
3 <body>
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">
12
13 if (window.testRunner)
14     testRunner.dumpAsText();
15
16 var activeInput = null;
17
18 function move(newInput)
19 {
20     newInput.className = '';
21     newInput.style.dispaly = '';
22     newInput.focus();
23     if (activeInput)
24         activeInput.style.display = 'none';
25     activeInput = newInput;
26 }
27
28 var inputs = document.getElementsByTagName('input');
29 move(inputs[0]);
30
31 if (window.eventSender) {
32     testRunner.waitUntilDone();
33     for (var i = 0; i < inputs.length - 1; i++)
34         eventSender.keyDown('downArrow', []);
35     testRunner.notifyDone();
36 }
37
38 document.body.appendChild(document.createTextNode('PASS'));
39 </script>
40 </body>
41 </html>