| 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..f2bf31f6219b7a64e09f2e7c52cafa3c227b82d8 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(element.$.sharedMenu, 27);
|
| assertEquals(false, element.$.sharedMenu.menuOpen);
|
| });
|
|
|
|
|