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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-enter-behaviour.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="editor-test.js"></script> 4 <script src="editor-test.js"></script>
5 <script> 5 <script>
6 function codeSnippet() { 6 function codeSnippet() {
7 return document.getElementById("codeSnippet").textContent; 7 return document.getElementById("codeSnippet").textContent;
8 } 8 }
9 9
10 function test() 10 function test()
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 { line: 3, column: 0 }, 101 { line: 3, column: 0 },
102 { line: 5, column: 1 }, 102 { line: 5, column: 1 },
103 { line: 6, column: 2 }, 103 { line: 6, column: 2 },
104 ]); 104 ]);
105 hitEnterDumpTextAndNext(next); 105 hitEnterDumpTextAndNext(next);
106 } 106 }
107 ]); 107 ]);
108 108
109 function hitEnterDumpTextAndNext(next) 109 function hitEnterDumpTextAndNext(next)
110 { 110 {
111 InspectorTest.fakeKeyEvent(textEditor, "enter", null, step2); 111 InspectorTest.fakeKeyEvent(textEditor, "Enter", null, step2);
112 function step2() 112 function step2()
113 { 113 {
114 InspectorTest.dumpTextWithSelection(textEditor, true); 114 InspectorTest.dumpTextWithSelection(textEditor, true);
115 next(); 115 next();
116 } 116 }
117 } 117 }
118 } 118 }
119 119
120 </script> 120 </script>
121 </head> 121 </head>
122 122
123 <body onload="runTest();"> 123 <body onload="runTest();">
124 <p> 124 <p>
125 This test checks text editor enter behaviour. 125 This test checks text editor enter behaviour.
126 </p> 126 </p>
127 </body> 127 </body>
128 </html> 128 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698