forked from mirrors/gecko-dev
FillHistoryMenu was returning early and preventing the context menu from opening when there is only one history item. For long-presses, the menu typically doesn't open until after the updateSessionHistory callback was finished so the menu shows properly, but context menus have no delay. However, when browsingContext.sessionHistory is available, we can get the history without callbacks. Also, combine the two similar session history tests into one more complete test. Differential Revision: https://phabricator.services.mozilla.com/D106694 |
||
|---|---|---|
| .. | ||
| .eslintrc.js | ||
| browser.ini | ||
| browser_history_menu.js | ||