搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

What is this "app.update.background.rolled out" setting?

  • 1 回覆
  • 0 有這個問題
  • 6 次檢視
  • 最近回覆由 zeroknight

more options

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);

所有回覆 (1)

more options

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.