Closed Bug 660898 Opened 14 years ago Closed 6 years ago

Add-ons in the application distribution directory should be ignored when extensions.enabledScopes doesn't include the application

Categories

(Toolkit :: Add-ons Manager, defect, P3)

2.0 Branch
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mossop, Unassigned)

References

(Blocks 1 open bug)

Details

Because these get installed to the profile they currently work even when extensions.enabledScopes doesn't include the application. We should not install them in that case (though we'd still load ones that had previously been installed).
This bug blocks our Mozmill update tests for major releases since the feedback extension is installed. See also bug 627595. I will raise the severity to major because it really impacts the way when we can sign-off from update tests. Right now, all of those updates have to be run manually. It would be great if we can get it fixed asap. Thanks.
Blocks: 627595
Severity: normal → major
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [mozmill-test-failure]
Version: Trunk → 2.0 Branch
Whiteboard: [mozmill-test-failure] → [mozmill-test-blocked]
Which set are we talking about? The ones in appdir/distribution/bundles, or the ones in appdir/distribution?
The ones in appdir/distribution/extensions
With the workaround Dave mentioned over on bug 627595 we were able to fix for the Mozmill case. So we aren't blocked on it anymore.
Whiteboard: [mozmill-test-blocked]
Mossop: Do you still agree with this statement? Extensions in the distribution/extensions directory should not get installed if extensions.enabledScopes doesn't include the profile. If so, I'll take this as a bug against distributions.
Flags: needinfo?(dtownsend)
(In reply to Mike Kaply [:mkaply] from comment #5) > Mossop: Do you still agree with this statement? > > Extensions in the distribution/extensions directory should not get installed > if extensions.enabledScopes doesn't include the profile. It makes sense to me but I can't think of any cases beyond the testing issue we filed this for so I don't think it's a high priority unless you have other use cases I'm not thinking of.
Flags: needinfo?(dtownsend)
Whiteboard: webext?
Blocks: 1566913
Priority: -- → P3
Flags: needinfo?(mixedpuppy)

Since this appears to be a test issue only, and extensions.installDistroAddons (pref'd off everywhere other than desktop) can be set to false and there has been no other affect from this in over 3 years, I'm inclined to wontfix this.

The only alternative I think that might make sense is to make a DistributionLocation class like we have for builtins and avoid installing these into the profile. Then we could add a SCOPE_DISTRIBUTION. I'm not sure this is worth the effort.

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