What is this "app.update.background.rolled out" setting?
Hi
What is this "app.update.background.rolled out" setting?
/** * Background Update is controlled by the per-installation pref * "app.update.background.enabled". When Background Update was still in the * experimental phase, the default value of this pref may have been changed. * Now that the feature has been rolled out, we need to make sure that the * desired default value is restored. */ async ensureExperimentToRolloutTransitionPerformed() { if (!lazy.UpdateUtils.PER_INSTALLATION_PREFS_SUPPORTED) { return; } const transitionPerformedPref = "app.update.background.rolledout"; if (Services.prefs.getBoolPref(transitionPerformedPref, false)) { // writeUpdateConfigSetting serializes access to the config file. Because // of this, we can safely return here without worrying about another call // to this function that might still be in progress. return; } Services.prefs.setBoolPref(transitionPerformedPref, true);
Hi
What is this "app.update.background.rolled out" setting?
/**
* Background Update is controlled by the per-installation pref
* "app.update.background.enabled". When Background Update was still in the
* experimental phase, the default value of this pref may have been changed.
* Now that the feature has been rolled out, we need to make sure that the
* desired default value is restored.
*/
async ensureExperimentToRolloutTransitionPerformed() {
if (!lazy.UpdateUtils.PER_INSTALLATION_PREFS_SUPPORTED) {
return;
}
const transitionPerformedPref = "'''app.update.background.rolledout'''";
if (Services.prefs.getBoolPref(transitionPerformedPref, false)) {
// writeUpdateConfigSetting serializes access to the config file. Because
// of this, we can safely return here without worrying about another call
// to this function that might still be in progress.
return;
}
Services.prefs.setBoolPref(transitionPerformedPref, true);
All Replies (1)
It was used to enable Background Update by default in Firefox 96 (Bug 1738983). Some details from Bug 1343669:
The Update Agent is being planned as a background process which will remain running after the browser is closed to download and apply updates. This should make updating more convenient for everyone and reduce the time to get new updates for users who aren't well supported by the current update process because they don't run Firefox very much and/or they have slow Internet connections.