Loading browser/components/ProfileDataUpgrader.sys.mjs +6 −1 Original line number Diff line number Diff line Loading @@ -1019,7 +1019,9 @@ export let ProfileDataUpgrader = { // (tor-browser#43567). // Version 8: Tor Browser 15.0a2: Remove legacy search addons // (tor-browser#43111). const TBB_MIGRATION_VERSION = 8; // Version 9: Tor Browser 15.0a3: Remove YEC 2024 preference. // (tor-browser#44180) const TBB_MIGRATION_VERSION = 9; const MIGRATION_PREF = "torbrowser.migration.version"; // If we decide to force updating users to pass through any version Loading Loading @@ -1119,6 +1121,9 @@ export let ProfileDataUpgrader = { "wikipedia@search.mozilla.org", ]); } if (currentVersion < 9) { Services.prefs.clearUserPref("torbrowser.homepage.yec2024.message"); } Services.prefs.setIntPref(MIGRATION_PREF, TBB_MIGRATION_VERSION); }, Loading Loading
browser/components/ProfileDataUpgrader.sys.mjs +6 −1 Original line number Diff line number Diff line Loading @@ -1019,7 +1019,9 @@ export let ProfileDataUpgrader = { // (tor-browser#43567). // Version 8: Tor Browser 15.0a2: Remove legacy search addons // (tor-browser#43111). const TBB_MIGRATION_VERSION = 8; // Version 9: Tor Browser 15.0a3: Remove YEC 2024 preference. // (tor-browser#44180) const TBB_MIGRATION_VERSION = 9; const MIGRATION_PREF = "torbrowser.migration.version"; // If we decide to force updating users to pass through any version Loading Loading @@ -1119,6 +1121,9 @@ export let ProfileDataUpgrader = { "wikipedia@search.mozilla.org", ]); } if (currentVersion < 9) { Services.prefs.clearUserPref("torbrowser.homepage.yec2024.message"); } Services.prefs.setIntPref(MIGRATION_PREF, TBB_MIGRATION_VERSION); }, Loading