Commit 2c45a84c authored by henry's avatar henry Committed by Pier Angelo Vendrame
Browse files

fixup! TB 41435: Add a Tor Browser migration function

TB 43462: Drop preference for blocking internet tests since it no longer
requires Moat access.
parent 92e93b8b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4868,6 +4868,7 @@ BrowserGlue.prototype = {
    //            since we hid the UI (tor-browser#43118).
    // Version 6: Tor Browser 14.5a3: Clear preference for TorSettings that is
    //            no longer used (tor-browser#41921).
    //            Drop unused TorConnect setting (tor-browser#43462).
    const TBB_MIGRATION_VERSION = 6;
    const MIGRATION_PREF = "torbrowser.migration.version";

@@ -4952,6 +4953,7 @@ BrowserGlue.prototype = {

    if (currentVersion < 6) {
      Services.prefs.clearUserPref("torbrowser.settings.enabled");
      Services.prefs.clearUserPref("torbrowser.bootstrap.allow_internet_test");
    }

    Services.prefs.setIntPref(MIGRATION_PREF, TBB_MIGRATION_VERSION);