Allow extensions installed from certain locations to be disabled by default

VERIFIED FIXED in mozilla7

Status

()

Toolkit
Add-ons Manager
--
enhancement
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: mossop, Assigned: mossop)

Tracking

({dev-doc-complete, verified-aurora, verified-beta})

Trunk
mozilla7
dev-doc-complete, verified-aurora, verified-beta
Points:
---
Bug Flags:
in-testsuite +
in-litmus -

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa!])

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
To support bug 476430 we want to be able to mark certain install locations as installing their add-ons disabled by default.
(Assignee)

Comment 1

6 years ago
Created attachment 541226 [details] [diff] [review]
patch rev 1

This adds the pref extensions.autoDisableScopes. By default it isn't set to anything so all add-ons install enabled as normal.
Attachment #541226 - Flags: review?(robert.bugzilla)
Comment on attachment 541226 [details] [diff] [review]
patch rev 1

>diff --git a/toolkit/mozapps/extensions/test/xpcshell/test_startup.js b/toolkit/mozapps/extensions/test/xpcshell/test_startup.js
>--- a/toolkit/mozapps/extensions/test/xpcshell/test_startup.js
>+++ b/toolkit/mozapps/extensions/test/xpcshell/test_startup.js
>...
>+}
>\ No newline at end of file
nit
Attachment #541226 - Flags: review?(robert.bugzilla) → review+
(Assignee)

Comment 3

6 years ago
Landed: http://hg.mozilla.org/mozilla-central/rev/25b6b9df083e
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Flags: in-testsuite+
Flags: in-litmus-
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
Dave, would that require devdoc or userdoc needed?
(Assignee)

Comment 5

6 years ago
Yeah it's probably worth documenting this for other application's that want to use it
Keywords: dev-doc-needed
Documentation updated:

https://developer.mozilla.org/en/Installing_extensions#Preventing_automatic_install_from_specific_locations

https://developer.mozilla.org/en/Addons/Add-on_Manager/AddonManager#Installation_scopes

And added to Firefox 8 for developers.
Keywords: dev-doc-needed → dev-doc-complete

Comment 7

6 years ago
Setting resolution to Verified Fixed on 
Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0 beta 6 build 2.
Mozilla/5.0 (Windows NT 6.1; rv:9.0a2) Gecko/20111102 Firefox/9.0a2
Mozilla/5.0 (Windows NT 6.1; rv:10.0a1) Gecko/20111031 Firefox/10.0a1
also on Ubuntu, MacOS X and WinXP

The extention is disabled at Firefox startup and the warning appears every time.
Also, the pref extensions.autoDisableScopes is present.
Status: RESOLVED → VERIFIED
Keywords: verified-aurora, verified-beta
Whiteboard: [qa!]
You need to log in before you can comment on or make changes to this bug.