Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 1 trả lời
  • 0 gặp vấn đề này
  • 6 lượt xem
  • Trả lời mới nhất được viết bởi 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);

Tất cả các câu trả lời (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.