Set javascript.options.showInConsole
authorMike Hommey <glandium@debian.org>
Sat, 8 Dec 2007 18:24:40 +0000 (19:24 +0100)
committerCarsten Schoenert <c.schoenert@t-online.de>
Thu, 7 Apr 2022 16:45:43 +0000 (17:45 +0100)
Gbp-Pq: Topic prefs
Gbp-Pq: Name Set-javascript.options.showInConsole.patch

modules/libpref/init/all.js

index d3650a05b5dd7cba6a7121879df6b738555100ac..329ed626b38061d4f92a49d8cb5a4bfaba26e953 100644 (file)
@@ -1115,11 +1115,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.