[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sandboxed-tor-browser/master] Disable the firefox safe mode prompt, because it is nonsensical when applied to Tor Browser.
commit 5dfacef0c56d958f1a5ee59d4ed2eb018160d738
Author: Yawning Angel <yawning@xxxxxxxxxxxxxxx>
Date: Tue Dec 27 05:31:39 2016 +0000
Disable the firefox safe mode prompt, because it is nonsensical when applied to Tor Browser.
---
ChangeLog | 2 ++
data/installer/mozilla.cfg | 5 +++++
2 files changed, 7 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index bdd0e2e..c7d7e4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@ Changes in version 0.0.3 - UNRELEASED:
on certain pages.
* Bug 20973: Silence Gdk warnings on systems with integrated png loader.
* Bug 20806: Try even harder to exclude gstreamer.
+ * Disable the firefox safe mode prompt, because it is nonsensical when
+ applied to Tor Browser.
* Add a `-h` command line flag that prints usage.
* Remove the unused `pulseAudioBox` identifier.
* Store the version of the sandbox in the config file, and re-Sync() the
diff --git a/data/installer/mozilla.cfg b/data/installer/mozilla.cfg
index d4448d0..7139e68 100644
--- a/data/installer/mozilla.cfg
+++ b/data/installer/mozilla.cfg
@@ -17,6 +17,11 @@ lockPref("extensions.torbutton.versioncheck_enabled", false);
lockPref("extensions.update.enabled", false);
lockPref("extensions.update.autoUpdateDefault", false);
+// Disable the safe mode prompt, because we sometimes violently kill Tor
+// Browser and "safe mode" when we don't integrate addons and prefs properly
+// just will break the install.
+lockPref("toolkit.startup.max_resumed_crashes", -1);
+
// Set the security slider to "High" by default, if the fucking `defaultPref`
// directive worked as advertised. But it doesn't appear to actually take.
// defaultPref("extensions.torbutton.security_slider", 1);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits