[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-102.5.0esr-12.5-1] fixup! Firefox preference overrides.

Pier Angelo Vendrame (@pierov) git at gitlab.torproject.org
Fri Dec 16 07:32:44 UTC 2022



Pier Angelo Vendrame pushed to branch tor-browser-102.5.0esr-12.5-1 at The Tor Project / Applications / Tor Browser


Commits:
afa37f60 by Pier Angelo Vendrame at 2022-12-16T07:31:13+00:00
fixup! Firefox preference overrides.

Bug 41503: Disable restart in case of reboot and restore in case of crash

- - - - -


1 changed file:

- browser/app/profile/001-base-profile.js


Changes:

=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -52,6 +52,9 @@ pref("browser.sessionstore.privacy_level", 2);
 // Use the in-memory media cache and increase its maximum size (#29120)
 pref("browser.privatebrowsing.forceMediaMemoryCache", true);
 pref("media.memory_cache_max_size", 16384);
+// Disable restore in case of crash (tor-browser#41503)
+// This should not be needed in PBM, but we added it anyway like other options.
+pref("browser.sessionstore.resume_from_crash", false);
 
 // Enable HTTPS-Only mode (tor-browser#19850)
 pref("dom.security.https_only_mode", true);
@@ -454,8 +457,8 @@ pref("browser.onboarding.newtour", "welcome,privacy,tor-network-9.0,circuit-disp
 pref("browser.onboarding.updatetour", "learn-more");
 pref("browser.onboarding.skip-tour-button.hide", true);
 
-// prefs to disable jump-list entries in the taskbar on Windows (see bug #12885)
 #ifdef XP_WIN
+// prefs to disable jump-list entries in the taskbar on Windows (see bug #12885)
 // this pref changes the app's set AUMID to be dependent on the profile path, rather than
 // attempting to read it from the registry; this is necessary so that the file generated
 // by the jumplist system can be properly deleted if it is disabled
@@ -464,6 +467,10 @@ pref("browser.taskbar.lists.enabled", false);
 pref("browser.taskbar.lists.frequent.enabled", false);
 pref("browser.taskbar.lists.tasks.enabled", false);
 pref("browser.taskbar.lists.recent.enabled", false);
+
+// Do not re-open Tor Browser automatically after reboots when "Restart apps" is
+// enabled (tor-browser#41503)
+pref("toolkit.winRegisterApplicationRestart", false);
 #endif
 
 // If we are bundling fonts, whitelist those bundled fonts, and restrict system fonts to a selection.



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/afa37f606837c43ca79e62a3a595aed199a60255

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/afa37f606837c43ca79e62a3a595aed199a60255
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20221216/dab28c3f/attachment-0001.htm>


More information about the tbb-commits mailing list