Commit 6463bb2d authored by morgan's avatar morgan 😸 Committed by morgan
Browse files

fixup! Bug 42027: Base Browser migration procedures.

Bug 42078: Hide Smoothscroll UX
parent 57016f3f
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -4780,7 +4780,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
@@ -4808,6 +4809,11 @@ BrowserGlue.prototype = {
        Services.prefs.clearUserPref(prefName);
      }
    }
    if (currentVersion < 3) {
      Services.prefs.clearUserPref(
        "general.smoothScroll"
      );
    }
    Services.prefs.setIntPref(MIGRATION_PREF, MIGRATION_VERSION);
  },