tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 4c47a4eb09689eb87cb1d2fd327cdbe781f73266
parent 0792ad68a9b39b74631a1ecc88512031e6547263
Author: Chris DuPuis <cdupuis@mozilla.com>
Date:   Fri, 12 Dec 2025 22:26:57 +0000

Bug 2005794 - Switch archiveKillswitch handling to enable backup functionality by default on Windows 10 r=hsohaney

Since we used an unusual method of doing a Nimbus rollout, this change
involves modifying our handling of the archiveKillswitch Nimbus
setting.

Differential Revision: https://phabricator.services.mozilla.com/D276298

Diffstat:
Mbrowser/components/backup/BackupService.sys.mjs | 11++---------
1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/browser/components/backup/BackupService.sys.mjs b/browser/components/backup/BackupService.sys.mjs @@ -660,13 +660,8 @@ export class BackupService extends EventTarget { BACKUP_ARCHIVE_ENABLED_OVERRIDE_PREF_NAME, false ); - // This is explicitly checking for archiveKillswitchTriggered !== false because - // we now also (potentially) want to use this nimbus setting for doing staged rollout - // of the feature. What this means is that if the value is: - // - true: feature is turned off ("killed") - // - undefined: feature is turned off (not launched yet) - // - false: feature is turned on - if (archiveKillswitchTriggered !== false && !archiveOverrideEnabled) { + // Only disable feature if archiveKillswitch is true. + if (archiveKillswitchTriggered && !archiveOverrideEnabled) { return { enabled: false, reason: "Archiving a profile disabled remotely.", @@ -739,8 +734,6 @@ export class BackupService extends EventTarget { false ); - // restoreKillswitch is a "normal" killswitch, in contrast - // to archiveKillswitch if (restoreKillswitchTriggered && !restoreOverrideEnabled) { return { enabled: false,