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

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

Issue 2939873004: MD Bookmarks: Fix issue where keyboard shortcuts could fire incorrectly (Closed)
Patch Set: Fix mac test? Created 3 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
« no previous file with comments | « chrome/test/data/webui/md_bookmarks/command_manager_test.js ('k') | ui/webui/resources/js/cr/ui/command.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/md_bookmarks/md_bookmarks_focus_test.js
diff --git a/chrome/test/data/webui/md_bookmarks/md_bookmarks_focus_test.js b/chrome/test/data/webui/md_bookmarks/md_bookmarks_focus_test.js
index 628007ed1af0c9072d5dd7253e53a829b4c9653c..8ac2961d53b10adc9f5b202ac8fded8a3301ee11 100644
--- a/chrome/test/data/webui/md_bookmarks/md_bookmarks_focus_test.js
+++ b/chrome/test/data/webui/md_bookmarks/md_bookmarks_focus_test.js
@@ -185,14 +185,14 @@ TEST_F('MaterialBookmarksFocusTest', 'All', function() {
test('keyboard commands are passed to command manager', function() {
var commandManager = new TestCommandManager();
document.body.appendChild(commandManager);
- chrome.bookmarkManagerPrivate.removeTrees = function() {}
+ chrome.bookmarkManagerPrivate.removeTrees = function() {};
store.data.selection.items = new Set(['3', '4']);
store.data.selectedFolder = '2';
store.notifyObservers();
getFolderNode('2').$.container.focus();
- keydown('2', 'delete');
+ keydown('2', 'Delete');
commandManager.assertLastCommand(Command.DELETE, ['2']);
});
« no previous file with comments | « chrome/test/data/webui/md_bookmarks/command_manager_test.js ('k') | ui/webui/resources/js/cr/ui/command.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698