Closed
Bug 1428459
Opened 7 years ago
Closed 7 years ago
Divorce system add-ons from app.update prefs
Categories
(Toolkit :: Add-ons Manager, enhancement, P3)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | verified |
People
(Reporter: ddurst, Assigned: bytesized)
References
Details
Attachments
(4 files)
I recognize that this echoes bug 1307563 a bit, but as has been discussed via email, we want to untangle system add-on updates from app.update.enabled and app.update.auto.
Instead, we want system add-ons updates to be governed by their own (different) pref. This pref should not have UI.
For the app update side, we want to remove app.update.enabled -- and we don't want to break system add-on updates in the process.
This will allow us to treat app updates and system add-on updates separately, if need be, as well as decrease the potential for users to mistakenly orphan themselves from important updates.
Updated•7 years ago
|
Priority: -- → P5
Comment 1•7 years ago
|
||
I think there's a undesirable edge case there we should fix, since try to keep system add-ons up to date is a reasonably good idea. For that reason moving from a P5 to P3.
Priority: P5 → P3
Comment 2•7 years ago
|
||
what is the undesirable edge case?
Reporter | ||
Comment 3•7 years ago
|
||
The updater system team is actively trying to get orphaned users updated (and mitigate future orphaning), and the subset (however small) who have modified that pref are explicitly one of our targets.
I can't speak to the urgency of it, but I know that we ran in some circles the last time we needed to rely on a system add-on's uptake; minimizing that churn is another goal.
Assignee | ||
Updated•7 years ago
|
Blocks: update-prefs
Assignee | ||
Comment 4•7 years ago
|
||
I will probably start working on this bug soon. I intend to make system addon updates depend on a new pref: `extensions.systemAddon.update.enabled`.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ksteuber
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8975646 -
Flags: review?(rhelmer)
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8975646 [details]
Bug 1428459 - Divorce system add-ons from app.update prefs
https://reviewboard.mozilla.org/r/243896/#review249796
This lgtm, but have you tried running tests? I think https://searchfox.org/mozilla-central/source/toolkit/mozapps/extensions/test/xpcshell/test_system_update_custom.js#92 needs to be changed too at least.
Attachment #8975646 -
Flags: review?(rhelmer)
Comment hidden (mozreview-request) |
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8975646 [details]
Bug 1428459 - Divorce system add-ons from app.update prefs
https://reviewboard.mozilla.org/r/243896/#review250034
Attachment #8975646 -
Flags: review?(rhelmer) → review+
Pushed by ksteuber@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e6013642ac9d
Divorce system add-ons from app.update prefs r=rhelmer
Comment 10•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Comment 11•7 years ago
|
||
Is manual testing required on this bug? If Yes, please provide some STR and the proper webextension(if required), if No set the “qe-verify-“ flag.
Flags: needinfo?(ksteuber)
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
Steps for QA:
In about:config set:
- extensions.systemAddon.update.url to https://bug1428459.bmoattachments.org/attachment.cgi?id=8980719
- xpinstall.signatures.required to false
- extensions.logging.enabled to true
In Browser Console run:
ChromeUtils.import("resource://gre/modules/AddonManager.jsm"); AddonManagerPrivate.backgroundUpdateCheck()
Once "Background update check complete" is seen in the Browser Console, there should be a new icon on the toolbar and the extension "Fox Candy" should appear in about:support under "Nightly Features"
Assignee | ||
Comment 15•6 years ago
|
||
Thank you :rhelmer for the above help with QA.
The steps he gave will ensure that system addons can be installed with `extensions.systemAddon.update.enabled=true`. These additional steps should be followed to make sure that setting `extensions.systemAddon.update.enabled=false` works as expected:
With a fresh profile:
In about:config set:
- extensions.systemAddon.update.url to https://bug1428459.bmoattachments.org/attachment.cgi?id=8980719
- xpinstall.signatures.required to false
- extensions.logging.enabled to true
- extensions.systemAddon.update.enabled to false
In Browser Console run:
ChromeUtils.import("resource://gre/modules/AddonManager.jsm"); AddonManagerPrivate.backgroundUpdateCheck()
Wait until "Background update check complete" is printed to the Browser Console. The "Fox Candy" extension should not be installed. The icon should not be visible in the toolbar nor should about:support list "Fox Candy" under "Nightly Features".
Flags: needinfo?(ksteuber)
Comment 16•6 years ago
|
||
Tested with the pref extensions.systemAddon.update.enabled set to True and False, system add-ons are only installed when the pref is set to True.
Tested and verified in Firefox 62.0a1 (20180530100110) on Windows 10 64Bit and MacOS 10.13.2.
Updated•6 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•