commit 19f6a3de7a35c9e339550b6f20c42287dae176f6
parent 14a8d0148214ac326452e66c03760f598c1cc66c
Author: Johannes Schmidt <joschmidt@mozilla.com>
Date: Thu, 16 Oct 2025 08:49:13 +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:
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);
}