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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/menu-key-context-menu-reveal-focus.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/menu-key-context-menu-reveal-focus.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/menu-key-context-menu-reveal-focus.html b/third_party/WebKit/LayoutTests/fast/events/menu-key-context-menu-reveal-focus.html
index 767c9528b1f7ba7314ed4e38d0ba96f48bb39900..e25c7747b6cc64163ba04ce47d68976167b5f1e6 100644
--- a/third_party/WebKit/LayoutTests/fast/events/menu-key-context-menu-reveal-focus.html
+++ b/third_party/WebKit/LayoutTests/fast/events/menu-key-context-menu-reveal-focus.html
@@ -18,7 +18,7 @@ test(function() {
document.getElementById('txt').focus();
document.scrollingElement.scrollTop = 3000;
assert_not_equals(document.scrollingElement.scrollTop, 0);
- eventSender.keyDown("menu");
+ eventSender.keyDown("ContextMenu");
assert_equals(document.scrollingElement.scrollTop, 0);
}, 'Testing ContextMenu key should reveal focused input.');
@@ -30,7 +30,7 @@ test(function() {
document.getElementById('anchor').focus();
document.scrollingElement.scrollTop = 3000;
assert_not_equals(document.scrollingElement.scrollTop, 0);
- eventSender.keyDown("menu");
+ eventSender.keyDown("ContextMenu");
assert_equals(document.scrollingElement.scrollTop, 0);
}, 'Testing ContextMenu key should reveal focused anchor.');
</script>

Powered by Google App Engine
This is Rietveld 408576698