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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-auto-whitespace-removing.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, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/editor/text-editor-auto-whitespace-removing.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-auto-whitespace-removing.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-auto-whitespace-removing.html
index f188d00fd013bfd59cfc961d9deac667e2cccff6..01020a8a730ea2cb1c8ffa32396f1d42d8490113 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-auto-whitespace-removing.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-auto-whitespace-removing.html
@@ -35,10 +35,10 @@ function test() {
{
function onFirstEnter()
{
- InspectorTest.fakeKeyEvent(textEditor, "enter", [], dumpAndNext(next));
+ InspectorTest.fakeKeyEvent(textEditor, "Enter", [], dumpAndNext(next));
}
- InspectorTest.fakeKeyEvent(textEditor, "enter", [], onFirstEnter);
+ InspectorTest.fakeKeyEvent(textEditor, "Enter", [], onFirstEnter);
}
var testSuite = [
@@ -85,7 +85,7 @@ function test() {
InspectorTest.setLineSelections(textEditor, [
{line: 1, column: 17}
]);
- InspectorTest.fakeKeyEvent(textEditor, "enter", [], onEnter);
+ InspectorTest.fakeKeyEvent(textEditor, "Enter", [], onEnter);
function onEnter()
{
@@ -94,7 +94,7 @@ function test() {
function onEditedText()
{
- InspectorTest.fakeKeyEvent(textEditor, "enter", [], dumpAndNext(next));
+ InspectorTest.fakeKeyEvent(textEditor, "Enter", [], dumpAndNext(next));
}
},
];

Powered by Google App Engine
This is Rietveld 408576698