summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-12-17 03:08:49 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-12 15:55:24 +0100
commit1d6bf538a2c1b815b746c4e75b86f482ebcc68bf (patch)
tree91f7a3700f9123d323328f3a80fb573201c20ee4
parent234b38faf28fcbd849be8e0800cf9db88bd4bbac (diff)
downloaduxp-1d6bf538a2c1b815b746c4e75b86f482ebcc68bf.tar.gz
Be less up-tight about script timeouts.
Especially some chrome scripts need ample time, which is causing issues with background scripts firing when the browser is idle.
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 3f21e161f7..d91ac0c8bd 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2720,8 +2720,8 @@ pref("editor.resizing.preserve_ratio", true);
pref("editor.positioning.offset", 0);
pref("dom.use_watchdog", true);
-pref("dom.max_chrome_script_run_time", 20);
-pref("dom.max_script_run_time", 10);
+pref("dom.max_chrome_script_run_time", 90);
+pref("dom.max_script_run_time", 20);
// Stop all scripts in a compartment when the "stop script" dialog is used.
pref("dom.global_stop_script", true);