Verified Commit 7e440906 authored by morgan's avatar morgan 😸 Committed by Pier Angelo Vendrame
Browse files

fixup! Bug 42027: Base Browser migration procedures.

Bug 42078: Hide Smoothscroll UX
parent afbbc553
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -4668,7 +4668,8 @@ BrowserGlue.prototype = {
    //            the security level anymore (tor-browser#42149).
    //            Also, reset security.xfocsp.errorReporting.automatic since we
    //            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";
    // 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
@@ -4696,6 +4697,9 @@ BrowserGlue.prototype = {
        Services.prefs.clearUserPref(prefName);
      }
    }
    if (currentVersion < 3) {
      Services.prefs.clearUserPref("general.smoothScroll");
    }
    Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION);
  },