Closed
Bug 1766167
Opened 3 years ago
Closed 3 years ago
sitepermissions row should be hidden for non "sitepermission" addon types
Categories
(Toolkit :: Add-ons Manager, defect, P2)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox99 | --- | wontfix |
firefox100 | --- | wontfix |
firefox101 | --- | fixed |
People
(Reporter: rpl, Assigned: rpl)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [addons-jira])
Attachments
(2 files)
In Bug 1741545 we introduced a new row to the addon details card which is used by the addon type "sitepermission" but it should have been actually:
- hidden when the addon card is associated to any other addon type
- and the custom element setAddon method shouldn't be called for any other addon type.
From a user perspective the addon card is still working as expected, besides a small regression from a visual perspective due to an additional empty row (see the attached screenshot).
Besides that, a fluent warning is rendered in the webconsole, triggered when the custom element setAddon method is being called, due to the fact that for any other addon type but the "sitepermission" ones the argument that the fluent string is expecting is undefined:
[fluent][resolver] errors in en-US/addon-sitepermissions-required: Resolver error: Unknown variable: $hostname
As a side note:
- in some of the AOM mochitest-browser tests the fluent warning seems to also have the side-effect of preventing some of the other localized strings used in about:addons from rendering as expected, which doesn't seem to be happening when the same warning is emitted when manually opening about:addons as a user.
- fixing the fluent warning (by only calling the custom element setAddon method for add-ons with type "sitepermission") seems to fix the missing localized strings in those mochitest-browser tests
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Keywords: regression
Comment 2•3 years ago
|
||
Set release status flags based on info from the regressing bug 1741545
status-firefox100:
--- → affected
status-firefox101:
--- → affected
status-firefox99:
--- → affected
status-firefox-esr91:
--- → unaffected
Updated•3 years ago
|
Updated•3 years ago
|
Has Regression Range: --- → yes
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/051f7de214a8
AddonSitePermissionsList list should only be visible for sitepermission addon type. r=zombie
Comment 4•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•