Loading browser/components/BrowserGlue.sys.mjs +7 −1 Original line number Original line Diff line number Diff line Loading @@ -4650,7 +4650,8 @@ BrowserGlue.prototype = { // the security level anymore (tor-browser#42149). // the security level anymore (tor-browser#42149). // Also, reset security.xfocsp.errorReporting.automatic since we // Also, reset security.xfocsp.errorReporting.automatic since we // hid its neterror checkbox. tor-browser#42653. // hid its neterror checkbox. tor-browser#42653. const MIGRATION_VERSION = 2; // Version 3: 14.0a7: Reset general.smoothScroll. tor-browser#42070. const MIGRATION_VERSION = 3; const MIGRATION_PREF = "basebrowser.migration.version"; const MIGRATION_PREF = "basebrowser.migration.version"; // We do not care whether this is a new or old profile, since in version 1 // We do not care whether this is a new or old profile, since in version 1 // we just quickly clear a user preference, which should not do anything to // we just quickly clear a user preference, which should not do anything to Loading Loading @@ -4678,6 +4679,11 @@ BrowserGlue.prototype = { Services.prefs.clearUserPref(prefName); Services.prefs.clearUserPref(prefName); } } } } if (currentVersion < 3) { Services.prefs.clearUserPref( "general.smoothScroll" ); } Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION); Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION); }, }, Loading Loading
browser/components/BrowserGlue.sys.mjs +7 −1 Original line number Original line Diff line number Diff line Loading @@ -4650,7 +4650,8 @@ BrowserGlue.prototype = { // the security level anymore (tor-browser#42149). // the security level anymore (tor-browser#42149). // Also, reset security.xfocsp.errorReporting.automatic since we // Also, reset security.xfocsp.errorReporting.automatic since we // hid its neterror checkbox. tor-browser#42653. // hid its neterror checkbox. tor-browser#42653. const MIGRATION_VERSION = 2; // Version 3: 14.0a7: Reset general.smoothScroll. tor-browser#42070. const MIGRATION_VERSION = 3; const MIGRATION_PREF = "basebrowser.migration.version"; const MIGRATION_PREF = "basebrowser.migration.version"; // We do not care whether this is a new or old profile, since in version 1 // We do not care whether this is a new or old profile, since in version 1 // we just quickly clear a user preference, which should not do anything to // we just quickly clear a user preference, which should not do anything to Loading Loading @@ -4678,6 +4679,11 @@ BrowserGlue.prototype = { Services.prefs.clearUserPref(prefName); Services.prefs.clearUserPref(prefName); } } } } if (currentVersion < 3) { Services.prefs.clearUserPref( "general.smoothScroll" ); } Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION); Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION); }, }, Loading