Extension popups are leaked to the tabs API to other extensions, which enables tracking
Categories
(GeckoView :: Extensions, defect)
Tracking
(Not tracked)
People
(Reporter: cpeterson, Unassigned)
Details
From github: https://github.com/mozilla-mobile/fenix/issues/28421.
Steps to reproduce
I found this issue while working on my extension Tablet UI for Firefox. The Firefox bug is easy to demo there.
- Install Tablet UI for Firefox on Firefox Nightly for Android
- Open any website (for example google.com)
- You can see the list of loaded tabs in the tab bar the extension draws
- Open the popup of say Dark Reader (three dot menu -> Addons -> Dark Reader)
- Tap the back button to close the popup
Expected behaviour
The Dark Reader "tab" doesn't appear as a normal tab in
browser.tabs.onUpdated.addListener
callback.
It sure does not do this on desktop.
Firefox extensions have no business in seeing what extension popups (which are private) are being opened.
It does not even make sense from the standpoint of functionality. Why would a Firefox extension get access to that tab, if it is closed right after the user does anything else, including opening another tab or even that Firefox extension's popup.Actual behaviour
Now there are two tabs in the tab bar: google.com and Dark Reader.
Different behaviour than desktop.Device name
Samsung Galaxy A52
Android version
Android 12
Firefox release type
Firefox Nightly
Firefox version
110.0a1
Device logs
No response
Additional information
No response
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Updated•1 year ago
|
Description
•