diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-12-24 05:06:54 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-12-24 05:06:54 +0100 |
commit | 202e78b731776c3a102ca2f465ed3864b27effd3 (patch) | |
tree | a122aa277f3a35df7b06216c1f82054c215339b4 /modules/libpref | |
parent | 3cf7e874fecf940ffeec00bafd3cf96d5c1b2a46 (diff) | |
download | uxp-202e78b731776c3a102ca2f465ed3864b27effd3.tar.gz |
Add performance warnings to Deprecated module.
Adds a dedicated handler for performance warnings to be logged to
consoles if known performance-impacting methods are called.
Search service init is changed from a deprecation warning to a
performance warning for synchronous init.
This also re-enables the warning for the Basilisk & Co. search service
initialization which was previously removed in [a930a79]
See also the discussion on #916.
Diffstat (limited to 'modules/libpref')
-rw-r--r-- | modules/libpref/init/all.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 43d4b093ce..f6a9939624 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -956,6 +956,9 @@ pref("toolkit.asyncshutdown.log", false); // Enable deprecation warnings. pref("devtools.errorconsole.deprecation_warnings", true); +// Enable performance warnings. +pref("devtools.errorconsole.performance_warnings", true); + // Disable debugging chrome pref("devtools.chrome.enabled", false); |