From a820a96849e295d4abc6238a01c650bf3663b774 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:33:31 +0200 Subject: Adding debian version 1:115.7.0-1~deb12u1. Signed-off-by: Daniel Baumann --- .../Set-javascript.options.showInConsole.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 debian/patches/prefs/Set-javascript.options.showInConsole.patch (limited to 'debian/patches/prefs/Set-javascript.options.showInConsole.patch') 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 +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. -- cgit v1.2.3