Loading browser/app/profile/000-tor-browser.js +3 −0 Original line number Diff line number Diff line Loading @@ -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); Loading tbb-tests/browser_tor_TB4.js +4 −1 Original line number Diff line number Diff line Loading @@ -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], Loading Loading @@ -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]) { Loading Loading
browser/app/profile/000-tor-browser.js +3 −0 Original line number Diff line number Diff line Loading @@ -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); Loading
tbb-tests/browser_tor_TB4.js +4 −1 Original line number Diff line number Diff line Loading @@ -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], Loading Loading @@ -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]) { Loading