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

Unified Diff: chrome/test/data/webui/md_bookmarks/command_manager_test.js

Issue 2964883002: MD Bookmarks: Fix Meta-down not triggering the 'Open' command on Mac (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « chrome/browser/resources/md_bookmarks/list.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/md_bookmarks/command_manager_test.js
diff --git a/chrome/test/data/webui/md_bookmarks/command_manager_test.js b/chrome/test/data/webui/md_bookmarks/command_manager_test.js
index 61ff0f85b6a41da3ce75ab74c125d3868860b67b..da428c25b1ae4757960a3182b218c1fd4f77baa4 100644
--- a/chrome/test/data/webui/md_bookmarks/command_manager_test.js
+++ b/chrome/test/data/webui/md_bookmarks/command_manager_test.js
@@ -382,4 +382,13 @@ suite('<bookmarks-item> CommandManager integration', function() {
assertOpenedTabs(['http://111/', 'http://13/']);
});
+
+ test('meta-down triggers Open on Mac', function() {
+ if (!cr.isMac)
+ return;
+
+ customClick(items[0]);
+ MockInteractions.pressAndReleaseKeyOn(items[0], 0, 'meta', 'ArrowDown');
+ assertEquals('11', store.data.selectedFolder);
+ });
});
« no previous file with comments | « chrome/browser/resources/md_bookmarks/list.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698