multi-account-containers/test
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
..
features Revert "Fix empty sync exclude regexp behavior (#2383)" 2022-11-18 23:40:46 -05:00
issues Remove identityState when deleting containers 2022-06-23 01:46:02 +02:00
.eslintrc.js eslint fixes 2021-02-10 15:36:14 -06:00
common.js Avoid logspam: "Cannot find menu item with id ..." 2025-04-30 00:51:11 +02:00