Commit c63bd034 authored by Kathleen Brade's avatar Kathleen Brade Committed by Georg Koppen
Browse files

Bug 16441: Suppress "Reset Tor Browser" prompt.

parent b9c32967
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@ pref("browser.slowStartup.notificationDisabled", true);
pref("browser.slowStartup.maxSamples", 0);
pref("browser.slowStartup.samples", 0);

// Disable the "Refresh" prompt that is displayed for stale profiles.
pref("browser.disableResetPrompt", true);

// Disk activity: Disable Browsing History Storage
pref("browser.privatebrowsing.autostart", true);
pref("browser.cache.disk.enable", false);
+4 −1
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ let expectedPrefs = [
   ["startup.homepage_welcome_url", ""],
   ["startup.homepage_override_url", ""],

   // Disable the "Refresh" prompt that is displayed for stale profiles.
   ["browser.disableResetPrompt", true],

   // Disk activity: Disable Browsing History Storage
   ["browser.privatebrowsing.autostart", true],
   ["browser.cache.disk.enable", false],
@@ -174,7 +177,7 @@ let getPref = function (prefName) {
  if (type === gPrefService.PREF_BOOL) return gPrefService.getBoolPref(prefName);
  if (type === gPrefService.PREF_STRING) return gPrefService.getCharPref(prefName);
  // Something went wrong.
  throw new Error("Can't access pref.");
  throw new Error("Can't access pref " + prefName);
};

let testPref = function([key, expectedValue]) {