Bug 1377766 - Enable budget throttling by default. r=bkelly
authorAndreas Farre <farre@mozilla.com>
Mon, 09 Oct 2017 05:16:00 -0400
changeset 427711 dbcd58f04e4fc7d5172fffb7cad19d9d2a6d957b
parent 427710 efd88d1d61c2dbd95320158c414d4f3bddf38640
child 427712 3ea78aa38c056391dcd869d7593a5cc65c9d60de
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersbkelly
bugs1377766
milestone58.0a1
Bug 1377766 - Enable budget throttling by default. r=bkelly
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1307,18 +1307,18 @@ pref("dom.timeout.background_budget_rege
 pref("dom.timeout.background_throttling_max_budget", 50);
 // Time (in ms) that it takes to regenerate 1ms.
 pref("dom.timeout.foreground_budget_regeneration_rate", 1);
 // Maximum value (in ms) for the background budget. Only valid for
 // values greater than 0.
 pref("dom.timeout.foreground_throttling_max_budget", -1);
 // The maximum amount a timeout can be delayed by budget throttling
 pref("dom.timeout.budget_throttling_max_delay", 15000);
-// Turn off budget throttling by default
-pref("dom.timeout.enable_budget_timer_throttling", false);
+// Turn on budget throttling by default
+pref("dom.timeout.enable_budget_timer_throttling", true);
 
 // Don't use new input types
 pref("dom.experimental_forms", false);
 
 // Enable <input type=number>:
 pref("dom.forms.number", true);
 
 // Enable <input type=color> by default. It will be turned off for remaining