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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-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/forms/radio/radio-arrow-with-modifier-keys.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html b/third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html
index 702f290b8f4a4bb285851f1baf4cfa171f2be115..39d7d1abcd0a60794a6e2aa38c3d3130e9fcc50d 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/radio/radio-arrow-with-modifier-keys.html
@@ -16,12 +16,12 @@ description('Tests behavior of arrow with modifer keys on radio button.');
clickElement(document.getElementById('banana'));
shouldBeTrue('document.getElementById("banana").checked');
-eventSender.keyDown('rightArrow', ['ctrlKey']);
+eventSender.keyDown('ArrowRight', ['ctrlKey']);
shouldBeTrue('document.getElementById("banana").checked');
-eventSender.keyDown('leftArrow', ['shiftKey']);
+eventSender.keyDown('ArrowLeft', ['shiftKey']);
shouldBeTrue('document.getElementById("apple").checked');
-eventSender.keyDown('leftArrow', ['altKey']);
+eventSender.keyDown('ArrowLeft', ['altKey']);
shouldBeTrue('document.getElementById("apple").checked');
</script>

Powered by Google App Engine
This is Rietveld 408576698