Confusing permission messages for manifest v3 extension
Categories
(WebExtensions :: Frontend, defect, P2)
Tracking
(firefox118 affected, firefox119 affected, firefox120 affected)
People
(Reporter: tobias.bengfort, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Steps to reproduce:
I created an extension with manifest v3 which uses the "activeTab" and "scripting" permissions: https://addons.mozilla.org/en-US/firefox/addon/a11y-outline/
Actual results:
The permission tab in the about:addons page says "This extension doesn’t require any permissions".
Also, every time I open a new page, the extension menu shows a blue dot and the tooltip "Extensions permissions needed". When I open the menu I see that there is a blue dot on my extension with the message "Permission needed to read and change data".
Expected results:
The about:addons page should list the permissions that are actually required (e.g. "Access your data for the website where you explicitly activate it".
The extension menu should not display a permanent, distracting blue dot.
Reporter | ||
Updated•9 months ago
|
Comment 1•9 months ago
|
||
Hey Tom, would you mind to take a look into the about:addons part of what described in comment 0? (e.g. to determine if that's a separate issue and if we already have a bugzilla issue tracking it)
Comment 2•9 months ago
|
||
Hello,
I reproduced the issue on the latest Nightly (120.0a1/20231002221644), Beta (119.0b4/20231002091755) and Release (118.0.1/20230927232528) under Windows 10 x64 and Ubuntu 22.04 LTS.
Using the linked extension and checking the add-on permissions in about:addons indeed reveals that "This extension doesn’t require any permissions". Accessing a website will show the attention dot on the extensions menu and on the extension button stating that the extension actually needs permissions.
Once the permissions are granted (by clicking on the extension button), the add-on starts to do what it was intended to do.
Refreshing the page will once again show the attention dot and permissions have to be granted again.
Updated•9 months ago
|
Updated•9 months ago
|
Comment 3•8 months ago
|
||
The severity field is not set for this bug.
:robwu, could you have a look please?
For more information, please visit BugBot documentation.
Updated•8 months ago
|
Description
•