From 1b58e00144e859c71104da05a5e35f3f0d74a2c9 Mon Sep 17 00:00:00 2001 From: Mike Conley Date: Sat, 6 Apr 2024 22:59:15 +0000 Subject: [PATCH] Bug 1885993 - Enable the BackupService initializer on Nightly by default. r=backup-reviewers,kpatenio This also bumps the browser.startup.record pref access threshold in browser_preferences_usage.js slightly. Differential Revision: https://phabricator.services.mozilla.com/D206046 --- browser/app/profile/firefox.js | 4 ++++ browser/base/content/test/performance/browser_preferences_usage.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index a64f7d5b7b40..bf820dce4879 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -3027,7 +3027,11 @@ pref("browser.mailto.dualPrompt", false); // default mailto handler. pref("browser.mailto.prompt.os", true); +#if defined(NIGHTLY_BUILD) +pref("browser.backup.enabled", true); +#else pref("browser.backup.enabled", false); +#endif // Pref to enable the new profiles pref("browser.profiles.enabled", false); diff --git a/browser/base/content/test/performance/browser_preferences_usage.js b/browser/base/content/test/performance/browser_preferences_usage.js index 6bc623a360ed..b0ff140d192f 100644 --- a/browser/base/content/test/performance/browser_preferences_usage.js +++ b/browser/base/content/test/performance/browser_preferences_usage.js @@ -107,7 +107,7 @@ add_task(async function startup() { "browser.startup.record": { // This pref is accessed in Nighly and debug builds only. min: 200, - max: 400, + max: 450, }, "network.loadinfo.skip_type_assertion": { // This is accessed in debug only. -- 2.11.4.GIT