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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/horizontal-scrollbar-in-rtl.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/dom/horizontal-scrollbar-in-rtl.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/horizontal-scrollbar-in-rtl.html b/third_party/WebKit/LayoutTests/fast/dom/horizontal-scrollbar-in-rtl.html
index 8c75f874168282229223ed97c18f021df4912249..5674886cf9bdbe4e70e8e299233d0c027bc059ec 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/horizontal-scrollbar-in-rtl.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/horizontal-scrollbar-in-rtl.html
@@ -63,10 +63,10 @@
// For example, in Mac, HOME/END key reset both x and y scroll position.
// In Chromium, HOME/END key only reset y scroll position, and x scroll position is preserved.
window.scrollTo(expectedScrollX, expectedScrollY);
- eventSender.keyDown("home");
+ eventSender.keyDown("Home");
log("KeyDown HOME move x-scroll position to right for RTL page: " + window.scrollX, 0);
window.scrollTo(expectedScrollX, expectedScrollY);
- eventSender.keyDown("end");
+ eventSender.keyDown("End");
log("KeyDown END move x-scroll position to right for RTL page: " + window.scrollX, 0);
}

Powered by Google App Engine
This is Rietveld 408576698