tor-browser

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

commit a381c04b4eb8db653c6eac708e673e91ff2aee03
parent 10d6224cb3a0244b18e6dc4aba47250089d0179d
Author: Johannes Schmidt <joschmidt@mozilla.com>
Date:   Thu, 16 Oct 2025 17:11:37 +0000

Bug 1993480 - ensure mirror is re-migrated after fixed import-mirroring - r=dimi,firefox-desktop-core-reviewers ,Gijs

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

Diffstat:
Mbrowser/components/BrowserGlue.sys.mjs | 2+-
Mbrowser/components/ProfileDataUpgrader.sys.mjs | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/browser/components/BrowserGlue.sys.mjs b/browser/components/BrowserGlue.sys.mjs @@ -1605,7 +1605,7 @@ BrowserGlue.prototype = { // Use an increasing number to keep track of the current state of the user's // profile, so we can move data around as needed as the browser evolves. // Completely unrelated to the current Firefox release number. - const APP_DATA_VERSION = 161; + const APP_DATA_VERSION = 162; const PREF = "browser.migration.version"; let profileDataVersion = Services.prefs.getIntPref(PREF, -1); diff --git a/browser/components/ProfileDataUpgrader.sys.mjs b/browser/components/ProfileDataUpgrader.sys.mjs @@ -929,7 +929,8 @@ export let ProfileDataUpgrader = { Services.prefs.setBoolPref("signon.reencryptionNeeded", true); } - if (existingDataVersion < 161) { + // Updating from 161 to 162 to trigger the re-migration of the Rusts store. + if (existingDataVersion < 162) { // Force all logins to be re-migrated to the rust store. Services.prefs.setBoolPref("signon.rustMirror.migrationNeeded", true); }