about:addons panel occasionally pops open to the
Closed this issue · 3 comments
Occasionally while browsing and after updating firefox, a new about:addons tab will open by itself and take focus. The Terms of Service; Didn’t Read add-on page is showing and the permissions tab is selected. None of the tickboxes are selected. This has started happening since adding the feature to disable notifications.
To Reproduce
It has randomly happened a few times now with different computers. I haven't noticed a guaranteed reproduction so far but immediatley after Firefox updates seems to be reoccuring.
Expected behavior
No tab self opening
Desktop (please complete the following information):
- OS: macOS 11.1
- Browser: Firefox
- Version: 85.0
Extension (please complete the following information):
- Version: 4.0.3 from Mozilla Add-ons
browser-extensions/src/background.js
Lines 128 to 130 in 854d54e
This could be how firefox handles extension installation. If it fires onInstallation each time you update firefox this is intended behaviour. However while randomly browsing this should not happen at all.
I'll investigate this
Ah, I'm relieved I'm not the only one with this problem. I'll be disabling the extension until this is fixed.
This happens when firefox is updated to a new version as well.
Fired when the extension is first installed, when the extension is updated to a new version, and when the browser is updated to a new version.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onInstalled
I'll implement an if
with the installation type to prevent this on browser updates.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/OnInstalledReason