Closed Bug 1627939 Opened 5 years ago Closed 4 years ago

Problem with extensions with incognito: not_allowed in their manifest and flag allowPrivateBrowsingByDefault

Categories

(WebExtensions :: Untriaged, defect)

75 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1661517

People

(Reporter: kulmegil, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image AMO - addon corrupt message.jpg (deleted) —

Steps to reproduce

  1. in about:config set "extensions.allowPrivateBrowsingByDefault" to true
  2. install extension with "incognito": "not_allowed" in their manifest,
    e.g. https://addons.mozilla.org/addon/temporary-containers/

Problem:
Extension is not installed with extension file corrupted error message. If extension was already installed prior changing "allowPrivateBrowsingByDefault" flag it will be removed.

Expected:
Extension installed and working properly in not-private mode.

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is -- (Backlog,) indicating it has has not been previously triaged, the bug's Severity is being updated to -- (default, untriaged.)

Severity: normal → --
Component: Extension Compatibility → Untriaged
Product: Firefox → WebExtensions

Global JS console (Ctrl-Shift-J) shows the following error:

1597407285103 addons.xpi WARN Download of https://addons.mozilla.org/firefox/downloads/file/3623550/temporary_containers-1.9.1-fx.xpi?src=dp-btn-primary failed: Error: manifest.incognito set to "not_allowed" is currently unvailable for use.(resource://gre/modules/Extension.jsm:867:13) JS Stack trace: parseManifest@Extension.jsm:867:13

caused by https://searchfox.org/mozilla-central/rev/358cef5d1a87172f23b15e1a705d6f278db4cdad/toolkit/components/extensions/Extension.jsm#892-900

Status: UNCONFIRMED → NEW
Ever confirmed: true

The severity field is not set for this bug.
:mixedpuppy, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mixedpuppy)

This is expected behavior as the pref was meant to return to prior behavior we had. Duping to bug 1661517

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mixedpuppy)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: