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

Unified Diff: third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.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-word-jumps.html
diff --git a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
index e38696b8e52b9da3f673668ef62b29a6ed2baf1d..90b986e67ec07dcf7825ac613f21ce8d27446d70 100644
--- a/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
+++ b/third_party/WebKit/LayoutTests/inspector/editor/text-editor-word-jumps.html
@@ -76,28 +76,28 @@ function testMyCamelMove(foo, bar)
{
setCursorAtBeginning();
dumpEditorSelection();
- fireEventWhileSelectionChanges("rightArrow", [wordJumpModifier], next);
+ fireEventWhileSelectionChanges("ArrowRight", [wordJumpModifier], next);
},
function testCtrlLeftArrow(next)
{
setCursorAtEnd();
dumpEditorSelection();
- fireEventWhileSelectionChanges("leftArrow", [wordJumpModifier], next);
+ fireEventWhileSelectionChanges("ArrowLeft", [wordJumpModifier], next);
},
function testCtrlShiftRightArrow(next)
{
setCursorAtBeginning();
dumpEditorSelection();
- fireEventWhileSelectionChanges("rightArrow", [wordJumpModifier, "shiftKey"], next);
+ fireEventWhileSelectionChanges("ArrowRight", [wordJumpModifier, "shiftKey"], next);
},
function testCtrlShiftLeftArrow(next)
{
setCursorAtEnd();
var selection = dumpEditorSelection();
- fireEventWhileSelectionChanges("leftArrow", [wordJumpModifier, "shiftKey"], next);
+ fireEventWhileSelectionChanges("ArrowLeft", [wordJumpModifier, "shiftKey"], next);
},
function testCtrlBackspace(next)
@@ -123,28 +123,28 @@ function testMyCamelMove(foo, bar)
textEditor.setText(testMyCamelMove.toString());
setCursorAtBeginning();
dumpEditorSelection();
- fireEventWhileSelectionChanges("rightArrow", [camelJumpModifier], next);
+ fireEventWhileSelectionChanges("ArrowRight", [camelJumpModifier], next);
},
function testAltLeft(next)
{
setCursorAtEnd();
dumpEditorSelection();
- fireEventWhileSelectionChanges("leftArrow", [camelJumpModifier], next);
+ fireEventWhileSelectionChanges("ArrowLeft", [camelJumpModifier], next);
},
function testAltShiftRight(next)
{
setCursorAtBeginning();
dumpEditorSelection();
- fireEventWhileSelectionChanges("rightArrow", [camelJumpModifier, "shiftKey"], next);
+ fireEventWhileSelectionChanges("ArrowRight", [camelJumpModifier, "shiftKey"], next);
},
function testAltShiftLeft(next)
{
setCursorAtEnd();
dumpEditorSelection();
- fireEventWhileSelectionChanges("leftArrow", [camelJumpModifier, "shiftKey"], next);
+ fireEventWhileSelectionChanges("ArrowLeft", [camelJumpModifier, "shiftKey"], next);
}
]);

Powered by Google App Engine
This is Rietveld 408576698