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

Unified Diff: third_party/WebKit/LayoutTests/accessibility/multiselect-list-reports-active-option.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/multiselect-list-reports-active-option.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/multiselect-list-reports-active-option.html b/third_party/WebKit/LayoutTests/accessibility/multiselect-list-reports-active-option.html
index 68f497ca7810bc1557e5f0a5df2bd4e8b86a9f74..02f066ff36254da91e32651d043aa63334d5784e 100644
--- a/third_party/WebKit/LayoutTests/accessibility/multiselect-list-reports-active-option.html
+++ b/third_party/WebKit/LayoutTests/accessibility/multiselect-list-reports-active-option.html
@@ -29,7 +29,7 @@
shouldBe("accessibleThree.isSelectedOptionActive", "false");
// Change the selected index by simulating a down arrow keydown event.
- eventSender.keyDown('downArrow', []);
+ eventSender.keyDown('ArrowDown', []);
shouldBe("accessibleOne.isSelected", "false");
shouldBe("accessibleOne.isSelectedOptionActive", "false");
@@ -39,7 +39,7 @@
shouldBe("accessibleThree.isSelectedOptionActive", "false");
// Extend the selection by simulating a Shift + Down Arrow keydown event.
- eventSender.keyDown('downArrow', ['shiftKey']);
+ eventSender.keyDown('ArrowDown', ['shiftKey']);
shouldBe("accessibleOne.isSelected", "false");
shouldBe("accessibleOne.isSelectedOptionActive", "false");

Powered by Google App Engine
This is Rietveld 408576698