Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/render-text-crash.html

Issue 2100243002: Remove non-standardize key code names from event_sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix inspector tests that were missed by sed Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p>To run this test manually, press arrow keys three times. WebKit should not cr ash. On DRT, you see see PASS:</p> 4 <p>To run this test manually, press arrow keys three times. WebKit should not cr ash. On DRT, you see see PASS:</p>
5 <input type="text" onkeydown="move(this.nextSibling)" 5 <input type="text" onkeydown="move(this.nextSibling)"
6 ><input type="text" onkeydown="move(this.nextSibling)" 6 ><input type="text" onkeydown="move(this.nextSibling)"
7 ><input type="text" onkeydown="move(this.nextSibling)" 7 ><input type="text" onkeydown="move(this.nextSibling)"
8 ><input type="text" onkeydown="move(this.nextSibling)" 8 ><input type="text" onkeydown="move(this.nextSibling)"
9 ><input type="text" onkeydown="move(this.nextSibling)" 9 ><input type="text" onkeydown="move(this.nextSibling)"
10 ><input type="text" onkeydown="move(this.nextSibling)"> 10 ><input type="text" onkeydown="move(this.nextSibling)">
(...skipping 13 matching lines...) Expand all
24 activeInput.style.display = 'none'; 24 activeInput.style.display = 'none';
25 activeInput = newInput; 25 activeInput = newInput;
26 } 26 }
27 27
28 var inputs = document.getElementsByTagName('input'); 28 var inputs = document.getElementsByTagName('input');
29 move(inputs[0]); 29 move(inputs[0]);
30 30
31 if (window.eventSender) { 31 if (window.eventSender) {
32 testRunner.waitUntilDone(); 32 testRunner.waitUntilDone();
33 for (var i = 0; i < inputs.length - 1; i++) 33 for (var i = 0; i < inputs.length - 1; i++)
34 eventSender.keyDown('downArrow', []); 34 eventSender.keyDown('ArrowDown', []);
35 testRunner.notifyDone(); 35 testRunner.notifyDone();
36 } 36 }
37 37
38 document.body.appendChild(document.createTextNode('PASS')); 38 document.body.appendChild(document.createTextNode('PASS'));
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698