browser_action's without a valid default_area set should fallback to using AREA_ADDONS when Unified Extensions UI is enabled
Categories
(WebExtensions :: Frontend, enhancement, P1)
Tracking
(firefox109 fixed)
| Tracking | Status | |
|---|---|---|
| firefox109 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Attachments
(2 files)
By default, up until now, if a WebExtension with a browser_action has not supplied a default_area, we've fallen back to putting the browser_action into the navbar.
With the Unified Extensions UI enabled, we want to change that fallback behaviour so that browser_actions with a default_area get added to the addons panel instead.
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
We should also take the opportunity to update the documentation at https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action about this.
| Assignee | ||
Comment 2•3 years ago
|
||
Depends on D161338
| Assignee | ||
Comment 3•3 years ago
|
||
We had a number of tests that assumed that when adding a browser_action without
specifying the default_area, that the button would enter the navbar. The previous
patch in this series changes that assumption when the Unified Extensions UI is
enabled.
Instead of updating all of these tests to add additional steps to move the
browser_action's out to the navbar after adding them, I've gone ahead and
updated them to default their browser_action's to the navbar instead.
Depends on D161720
Updated•3 years ago
|
Comment 5•3 years ago
•
|
||
Backed out 2 changesets (Bug 1799947) for causing multiple browserAction bc, mochitest, devtools related failures.
Backout link
Push with failures <--> bc1 <--> 6 <--> dt4
Failure Log
Also 6 Failure Log
Also dt4 Failure Log
Comment 7•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/33884422a0a4
https://hg.mozilla.org/mozilla-central/rev/4f0d86227850
| Assignee | ||
Updated•3 years ago
|
Comment 8•3 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #1)
We should also take the opportunity to update the documentation at https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action about this.
I created an issue for the dev doc: https://github.com/mdn/content/issues/23797
Comment 9•3 years ago
|
||
I noticed the inaccuracy in the MDN docs so I submitted a patch.
Description
•