Commit graph

5 commits

Author SHA1 Message Date
Rob Wu
60a6666222 Avoid logspam: "Cannot find menu item with id ..."
The extension frequently tries to remove context menus that do not
exists, which results in errors like:

> Error: Cannot find menu item with id firefox-container-1

because starting from Firefox 136, the contextMenus.remove method
rejects if the menu item does not exist. To avoid logspam, catch it.

References:

- https://bugzilla.mozilla.org/show_bug.cgi?id=1688743
- https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/136#changes_for_add-on_developers
2025-04-30 00:51:11 +02:00
Lesley Norton
91b0b4519e
Fix tests 2021-10-20 14:41:58 -05:00
Moonloard
46d76dfaa3 new option to replace current tab when a assigned domain is opened 2020-07-27 22:12:49 +02:00
Kendall Werts
f56f9b0ea8 fixed tests 2020-02-10 16:00:47 -06:00
stoically
405e605ba3
Refactor tests to not rely on globals 2020-01-28 11:33:17 +01:00
Renamed from test/setup.js (Browse further)