Open
Bug 1810718
Opened 2 years ago
Updated 1 year ago
"Addon:Install" should support installing an add-on that is enabled in Private Browsing mode
Categories
(Remote Protocol :: Marionette, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
Details
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•1 year ago
|
Product: Testing → Remote Protocol
Comment 1•1 year 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•1 year ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•