summaryrefslogtreecommitdiffstats
path: root/modules/libpref
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
commit4686be40b280142bb372d16e91b60e96e4c3bd34 (patch)
tree91f7a3700f9123d323328f3a80fb573201c20ee4 /modules/libpref
parentae656528f7ff7fdd9a2f6e5ffb7c772ae6d88f21 (diff)
downloadUXP-4686be40b280142bb372d16e91b60e96e4c3bd34.tar
UXP-4686be40b280142bb372d16e91b60e96e4c3bd34.tar.gz
UXP-4686be40b280142bb372d16e91b60e96e4c3bd34.tar.lz
UXP-4686be40b280142bb372d16e91b60e96e4c3bd34.tar.xz
UXP-4686be40b280142bb372d16e91b60e96e4c3bd34.zip
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.
Diffstat (limited to 'modules/libpref')
-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 3f21e161f..d91ac0c8b 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);