summaryrefslogtreecommitdiffstats
path: root/debian/patches/prefs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:45:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:45:40 +0000
commitb9a2bf7b2ccc8190d38e44db120a92ca46c9fd1e (patch)
tree3cbe7aab712cf5a385e4aa0446b3766b7a17617f /debian/patches/prefs
parentAdding upstream version 1:115.7.0. (diff)
downloadthunderbird-e5c94eaa3478257ebb1f6e85ba1a0b4aef1ebbe5.tar.xz
thunderbird-e5c94eaa3478257ebb1f6e85ba1a0b4aef1ebbe5.zip
Adding debian version 1:115.7.0-1.debian/1%115.7.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/prefs')
-rw-r--r--debian/patches/prefs/Don-t-auto-disable-extensions-in-system-directories.patch21
-rw-r--r--debian/patches/prefs/Set-javascript.options.showInConsole.patch33
2 files changed, 54 insertions, 0 deletions
diff --git a/debian/patches/prefs/Don-t-auto-disable-extensions-in-system-directories.patch b/debian/patches/prefs/Don-t-auto-disable-extensions-in-system-directories.patch
new file mode 100644
index 0000000000..5bb8e35afe
--- /dev/null
+++ b/debian/patches/prefs/Don-t-auto-disable-extensions-in-system-directories.patch
@@ -0,0 +1,21 @@
+From: Christoph Goehre <chris@sigxcpu.org>
+Date: Sat, 24 Mar 2012 11:54:43 +0100
+Subject: Don't auto-disable extensions in system directories
+
+---
+ comm/mail/app/profile/all-thunderbird.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/comm/mail/app/profile/all-thunderbird.js b/comm/mail/app/profile/all-thunderbird.js
+index f80a70f..008018d 100644
+--- a/comm/mail/app/profile/all-thunderbird.js
++++ b/comm/mail/app/profile/all-thunderbird.js
+@@ -189,7 +189,7 @@ pref("extensions.systemAddon.update.enabled", true); // See bug 1462160.
+ // Disable add-ons installed into the shared user and shared system areas by
+ // default. This does not include the application directory. See the SCOPE
+ // constants in AddonManager.jsm for values to use here
+-pref("extensions.autoDisableScopes", 15);
++pref("extensions.autoDisableScopes", 3);
+
+ // Enable add-ons installed and owned by the application, like the default theme.
+ pref("extensions.startupScanScopes", 4);
diff --git a/debian/patches/prefs/Set-javascript.options.showInConsole.patch b/debian/patches/prefs/Set-javascript.options.showInConsole.patch
new file mode 100644
index 0000000000..33f8fdd487
--- /dev/null
+++ b/debian/patches/prefs/Set-javascript.options.showInConsole.patch
@@ -0,0 +1,33 @@
+From: Mike Hommey <glandium@debian.org>
+Date: Sat, 8 Dec 2007 19:24:40 +0100
+Subject: Set javascript.options.showInConsole
+
+---
+ modules/libpref/init/all.js | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
+index c7c6f0c..3823047 100644
+--- a/modules/libpref/init/all.js
++++ b/modules/libpref/init/all.js
+@@ -976,11 +976,20 @@ pref("javascript.options.throw_on_asmjs_validation_failure", false);
+ // memory, but makes things like Function.prototype.toSource()
+ // fail.
+ pref("javascript.options.discardSystemSource", false);
++pref("javascript.options.showInConsole", true);
+
+ // Many of the the following preferences tune the SpiderMonkey GC, if you
+ // change the defaults here please also consider changing them in
+ // js/src/jsgc.cpp. They're documented in js/src/jsapi.h.
+
++// JSGC_MAX_MALLOC_BYTES
++// How much malloc memory can be allocated before triggering a GC, in MB.
++// This preference limits the memory usage of javascript.
++// If you want to change these values for your device,
++// please find Bug 417052 comment 17 and Bug 456721
++// Comment 32 and Bug 613551.
++pref("javascript.options.mem.high_water_mark", 128);
++
+ // JSGC_MAX_BYTES
+ // SpiderMonkey defaults to 2^32-1 bytes, but this is measured in MB so that
+ // cannot be represented directly in order to show it in about:config.