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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/keydown-leftright-keys.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/fast/events/keydown-leftright-keys.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/keydown-leftright-keys.html b/third_party/WebKit/LayoutTests/fast/events/keydown-leftright-keys.html
index c858eb0df163ca00135a1f978dff2b47a8fc09b4..f0938a4dbd8b0daa44c4bd8a6a136575a149fb7a 100644
--- a/third_party/WebKit/LayoutTests/fast/events/keydown-leftright-keys.html
+++ b/third_party/WebKit/LayoutTests/fast/events/keydown-leftright-keys.html
@@ -42,13 +42,13 @@ textarea.focus();
if (window.eventSender) {
// location=0 indicates that we send events as standard keys.
- testKeyEventWithLocation("leftShift", VK_SHIFT, "KeyboardEvent.DOM_KEY_LOCATION_LEFT");
- testKeyEventWithLocation("leftControl", VK_CONTROL, "KeyboardEvent.DOM_KEY_LOCATION_LEFT");
- testKeyEventWithLocation("leftAlt", VK_MENU, "KeyboardEvent.DOM_KEY_LOCATION_LEFT");
+ testKeyEventWithLocation("ShiftLeft", VK_SHIFT, "KeyboardEvent.DOM_KEY_LOCATION_LEFT");
+ testKeyEventWithLocation("ControlLeft", VK_CONTROL, "KeyboardEvent.DOM_KEY_LOCATION_LEFT");
+ testKeyEventWithLocation("AltLeft", VK_MENU, "KeyboardEvent.DOM_KEY_LOCATION_LEFT");
- testKeyEventWithLocation("rightShift", VK_SHIFT, "KeyboardEvent.DOM_KEY_LOCATION_RIGHT");
- testKeyEventWithLocation("rightControl", VK_CONTROL, "KeyboardEvent.DOM_KEY_LOCATION_RIGHT");
- testKeyEventWithLocation("rightAlt", VK_MENU, "KeyboardEvent.DOM_KEY_LOCATION_RIGHT");
+ testKeyEventWithLocation("ShiftRight", VK_SHIFT, "KeyboardEvent.DOM_KEY_LOCATION_RIGHT");
+ testKeyEventWithLocation("ControlRight", VK_CONTROL, "KeyboardEvent.DOM_KEY_LOCATION_RIGHT");
+ testKeyEventWithLocation("AltRight", VK_MENU, "KeyboardEvent.DOM_KEY_LOCATION_RIGHT");
} else {
debug("This test requires DumpRenderTree.");
}

Powered by Google App Engine
This is Rietveld 408576698