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

Unified Diff: chrome/test/data/webui/md_history/history_overflow_menu_test.js

Issue 2118383003: MD History: add shortcuts for search (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test change Created 4 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
Index: chrome/test/data/webui/md_history/history_overflow_menu_test.js
diff --git a/chrome/test/data/webui/md_history/history_overflow_menu_test.js b/chrome/test/data/webui/md_history/history_overflow_menu_test.js
index 5fee65069c2e1d47fe9a4614877c0cbda8afabce..01836a7f3545f911d201889063cd9a60e240be06 100644
--- a/chrome/test/data/webui/md_history/history_overflow_menu_test.js
+++ b/chrome/test/data/webui/md_history/history_overflow_menu_test.js
@@ -66,7 +66,7 @@ cr.define('md_history.history_overflow_menu_test', function() {
// actual page, it will take two presses to close the menu due to focus.
// TODO(yingran): Fix this behavior to only require one key press.
element.toggleMenu_(MENU_EVENT);
- MockInteractions.pressAndReleaseKeyOn(document, 27);
+ MockInteractions.pressAndReleaseKeyOn(document.body, 27);
assertEquals(false, element.$.sharedMenu.menuOpen);
});
« no previous file with comments | « chrome/browser/resources/md_history/history_toolbar.js ('k') | chrome/test/data/webui/md_history/history_toolbar_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698