Closed Bug 591921 Opened 14 years ago Closed 14 years ago

Add-ons in the profile are still installed and enabled even when excluded via enabledScopes

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: whimboo, Unassigned)

Details

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b5pre) Gecko/20100829 Firefox/4.0b5pre

Today I have found an issue regarding the installation of the default theme and that it was not listed in the new add-ons manager. After digging into the problem I have noticed that extensions.enabledScopes pref was accidentally set to '0'. Means no extensions should be installed at all. But opening the extensions pane showed me all my profile installed extensions.

Don't we correctly check against the SCOPE_PROFILE constant and still install profile located extensions even when it is not permitted?
blocking2.0: --- → ?
You aren't meant to be able to turn off loading profile extensions with this pref, it would just be too complex a case to support and I can't think of a real reason why anyone would want to.
Status: NEW → RESOLVED
blocking2.0: ? → ---
Closed: 14 years ago
Resolution: --- → INVALID
So it's only a placeholder? Can we please document this correctly then? It will leave wrong assumptions to consumers of this code right now.
(In reply to comment #2)
> So it's only a placeholder? Can we please document this correctly then? It will
> leave wrong assumptions to consumers of this code right now.

Added dev-doc-needed to bug 555486
Dave, can we also update:
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/AddonManager.jsm#982

I assume that most people will run a search via mxr as looking on MDN.
You need to log in before you can comment on or make changes to this bug.