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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/contenteditable-notifications.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/accessibility/contenteditable-notifications.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/contenteditable-notifications.html b/third_party/WebKit/LayoutTests/accessibility/contenteditable-notifications.html
index acec61fefdb28a8c79222abcb0ca70c792e7e299..dda6c19c961f51e9463a7394d7e3499ae609ea6d 100644
--- a/third_party/WebKit/LayoutTests/accessibility/contenteditable-notifications.html
+++ b/third_party/WebKit/LayoutTests/accessibility/contenteditable-notifications.html
@@ -18,8 +18,8 @@ if (window.testRunner && window.accessibilityController) {
// Focus the contenteditable text box and move the cursor to the end.
var textbox = document.getElementById("textbox");
textbox.focus();
- eventSender.keyDown("downArrow", []);
- eventSender.keyDown("downArrow", []);
+ eventSender.keyDown("ArrowDown", []);
+ eventSender.keyDown("ArrowDown", []);
var axTextBox = accessibilityController.focusedElement;
@@ -44,8 +44,8 @@ if (window.testRunner && window.accessibilityController) {
}
});
- eventSender.keyDown("leftArrow", []);
- eventSender.keyDown("leftArrow", []);
+ eventSender.keyDown("ArrowLeft", []);
+ eventSender.keyDown("ArrowLeft", []);
eventSender.keyDown("w", []);
eventSender.keyDown("x", []);
eventSender.keyDown("y", []);

Powered by Google App Engine
This is Rietveld 408576698