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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/select/optgroup-clicking.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/forms/select/optgroup-clicking.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/select/optgroup-clicking.html b/third_party/WebKit/LayoutTests/fast/forms/select/optgroup-clicking.html
index 0c6ff6893ed8d85bfb54be6ee5a8257e0fc70cc2..2ce676b86772668a431143758897d29264586ebb 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/select/optgroup-clicking.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/select/optgroup-clicking.html
@@ -75,8 +75,8 @@ function test()
debug("\nMenu list with arrow key. The test is expected to fail on OSX because of a key binding difference.");
$("menulist").selectedIndex = 3;
$("menulist").focus();
- eventSender.keyDown("downArrow");
- eventSender.keyDown("\n");
+ eventSender.keyDown("ArrowDown");
+ eventSender.keyDown("Enter");
shouldBe('$("menulist").selectedIndex', '8');
finishJSTest();

Powered by Google App Engine
This is Rietveld 408576698