Closed
Bug 1810718
Opened 2 years ago
Closed 3 months ago
"Addon:Install" should support installing an add-on that is enabled in Private Browsing mode
Categories
(Remote Protocol :: Marionette, enhancement, P3)
Tracking
(firefox134 fixed)
RESOLVED
FIXED
134 Branch
Tracking | Status | |
---|---|---|
firefox134 | --- | fixed |
People
(Reporter: whimboo, Assigned: Sasha)
References
Details
(Whiteboard: [webdriver:m14][webdriver:relnote])
Attachments
(2 files)
Right now the Addon:Install
command only supports a single flag which is for a temporary installation. It would be helpful to also have an eg. allowPrivateBrowsing
flag which would set the right permissions to let the add-on also run in private browsing windows.
Therefore some additional permissions have to be set after the addon has been installed and it's id
is known. This could look like:
+ const perms = {
+ permissions: ["internal:privateBrowsingAllowed"],
+ origins: [],
+ };
+ await lazy.ExtensionPermissions.add(id, perms);
+ let addon = await lazy.AddonManager.getAddonByID(id)
+ await addon.reload();
Reporter | ||
Updated•2 years ago
|
Priority: -- → P3
Updated•2 years ago
|
Product: Testing → Remote Protocol
Comment 1•2 years ago
|
||
The product has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.
Priority: P3 → --
Reporter | ||
Updated•2 years ago
|
Priority: -- → P3
Reporter | ||
Updated•4 months ago
|
Points: --- → 2
Whiteboard: [webdriver:m13]
Assignee | ||
Updated•3 months ago
|
Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•3 months ago
|
||
Assignee | ||
Comment 3•3 months ago
|
||
Updated•3 months ago
|
Whiteboard: [webdriver:m13] → [webdriver:m14]
Pushed by aborovova@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e79185b638b2
Add support for installing an add-on that is enabled in Private Browsing mode. r=webdriver-reviewers,whimboo
https://hg.mozilla.org/integration/autoland/rev/bb2abec6a56b
Add tests for installing an add-on that is enabled in Private Browsing mode. r=webdriver-reviewers,whimboo
Comment 5•3 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e79185b638b2
https://hg.mozilla.org/mozilla-central/rev/bb2abec6a56b
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox134:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
Reporter | ||
Updated•2 months ago
|
Whiteboard: [webdriver:m14] → [webdriver:m14][webdriver:relnote]
You need to log in
before you can comment on or make changes to this bug.
Description
•