Merge remote-tracking branch 'origin/tracking' into custom

This commit is contained in:
roytam1 2022-07-30 08:49:22 +08:00
commit 1822f2031e
3280 changed files with 281114 additions and 237673 deletions

View file

@ -1256,7 +1256,7 @@ pref("javascript.options.wasm_baselinejit", false);
#endif
pref("javascript.options.native_regexp", true);
pref("javascript.options.parallel_parsing", true);
// ayncstack is used for debugging promises in devtools.
// asyncstack is used for debugging promises in devtools.
pref("javascript.options.asyncstack", false);
pref("javascript.options.throw_on_asmjs_validation_failure", false);
pref("javascript.options.ion.offthread_compilation", true);
@ -1306,6 +1306,18 @@ pref("javascript.options.shared_memory", true);
pref("javascript.options.throw_on_debuggee_would_run", false);
pref("javascript.options.dump_stack_on_debuggee_would_run", false);
// Set a thread stack quota limit for the main thread.
// Default 2MB for normal builds on all OSes. Tweak this if your custom
// build explicitly requires a larger or smaller stack limit
// Do NOT touch these values unless you know exactly what you are doing!
// Neither exceedingly large nor exceedingly small values are beneficial.
#ifdef MOZ_ASAN
pref("javascript.options.main_thread_stack_quota_cap", 6291456);
#else
pref("javascript.options.main_thread_stack_quota_cap", 2097152);
#endif
// advanced prefs
pref("advanced.mailftp", false);
pref("image.animation_mode", "normal");
@ -1484,6 +1496,10 @@ pref("network.http.referer.XOriginTrimmingPolicy", 0);
// 0=always send, 1=send iff base domains match, 2=send iff hosts match
pref("network.http.referer.XOriginPolicy", 0);
// Include an origin header on non-GET and non-HEAD requests regardless of CORS
// 0=never send, 1=send when same-origin only, 2=always send
pref("network.http.sendOriginHeader", 0);
// Controls whether referrer attributes in <a>, <img>, <area>, <iframe>, and <link> are honoured
pref("network.http.enablePerElementReferrer", true);