Add policy/policies for `app.update.background.enabled`
Categories
(Toolkit :: Application Update, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: nalexander, Assigned: bytesized)
References
Details
Attachments
(3 files)
The per-installation pref app.update.auto
is controlled by AppAutoUpdate. We need a pref for app.update.background.enabled
.
This is essentially Bug 1657533 but for app.update.background.enabled
.
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
I'll be working on this bug. I just clarified with :nalexander that the pref/policy won't initially be hooked up to anything. So I'll make sure to write a test, which will be its only consumer for now.
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Also moves appUpdateSettingIsLocked into UpdateUtils so it can be used by consumers.
Depends on D107921
Assignee | ||
Comment 4•4 years ago
|
||
Note that I made this a browser test rather than an xpcshell test, despite not using any particular browser functionality. I made this choice because I expect to expand this test a bit later, adding checking for preferences UI, much like the browser_policy_app_auto_update.js test in the same directory does.
Depends on D107922
Comment 5•4 years ago
|
||
How is the background updater going to read this?
Assignee | ||
Comment 6•4 years ago
•
|
||
The newest iteration of the background update agent is headless Firefox, so it will read it the exact same way that the included test reads it.
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5a5ce6145f08
https://hg.mozilla.org/mozilla-central/rev/1f6f64fb9699
https://hg.mozilla.org/mozilla-central/rev/01c65f9b8d24
Reporter | ||
Comment 9•4 years ago
|
||
I've filed https://github.com/mozilla/policy-templates/issues/756 to document this.
Description
•