зеркало из https://github.com/mozilla/gecko-dev.git
Bug 921519 - Really disable the slow script dialog on b2g. r=bholley
This commit is contained in:
Родитель
8e472bec90
Коммит
591c847f7f
|
@ -184,10 +184,14 @@ pref("content.sink.perf_deflect_count", 1000000);
|
|||
pref("content.sink.perf_parse_time", 50000000);
|
||||
|
||||
// Maximum scripts runtime before showing an alert
|
||||
pref("dom.max_chrome_script_run_time", 0); // disable slow script dialog for chrome
|
||||
// Disable the watchdog thread for B2G. See bug 870043 comment 31.
|
||||
pref("dom.use_watchdog", false);
|
||||
|
||||
// The slow script dialog can be triggered from inside the JS engine as well,
|
||||
// ensure that those calls don't accidentally trigger the dialog.
|
||||
pref("dom.max_script_run_time", 0);
|
||||
pref("dom.max_chrome_script_run_time", 0);
|
||||
|
||||
// plugins
|
||||
pref("plugin.disable", true);
|
||||
pref("dom.ipc.plugins.enabled", true);
|
||||
|
|
Загрузка…
Ссылка в новой задаче