Loading browser/components/ProfileDataUpgrader.sys.mjs +11 −1 Original line number Diff line number Diff line Loading @@ -913,7 +913,8 @@ export let ProfileDataUpgrader = { // hid its neterror checkbox. tor-browser#42653. // Version 3: 14.0a7: Reset general.smoothScroll. tor-browser#42070. // Version 4: 15.0a2: Drop ML components. tor-browser#44045. const MIGRATION_VERSION = 4; // Version 5: 15.0a3: Disable LaterRun using prefs. tor-browser#42630. const MIGRATION_VERSION = 5; const MIGRATION_PREF = "basebrowser.migration.version"; if (isNewProfile) { Loading Loading @@ -972,6 +973,15 @@ export let ProfileDataUpgrader = { Services.prefs.clearUserPref(prefName); } } if (currentVersion < 5) { for (const prefName of [ "browser.laterrun.bookkeeping.sessionCount", "browser.laterrun.bookkeeping.profileCreationTime", "browser.laterrun.bookkeeping.updateAppliedTime", ]) { Services.prefs.clearUserPref(prefName); } } Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION); }, Loading Loading
browser/components/ProfileDataUpgrader.sys.mjs +11 −1 Original line number Diff line number Diff line Loading @@ -913,7 +913,8 @@ export let ProfileDataUpgrader = { // hid its neterror checkbox. tor-browser#42653. // Version 3: 14.0a7: Reset general.smoothScroll. tor-browser#42070. // Version 4: 15.0a2: Drop ML components. tor-browser#44045. const MIGRATION_VERSION = 4; // Version 5: 15.0a3: Disable LaterRun using prefs. tor-browser#42630. const MIGRATION_VERSION = 5; const MIGRATION_PREF = "basebrowser.migration.version"; if (isNewProfile) { Loading Loading @@ -972,6 +973,15 @@ export let ProfileDataUpgrader = { Services.prefs.clearUserPref(prefName); } } if (currentVersion < 5) { for (const prefName of [ "browser.laterrun.bookkeeping.sessionCount", "browser.laterrun.bookkeeping.profileCreationTime", "browser.laterrun.bookkeeping.updateAppliedTime", ]) { Services.prefs.clearUserPref(prefName); } } Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION); }, Loading