mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
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.
This commit is contained in:
parent
304984a6aa
commit
69919870c1
4 changed files with 60 additions and 7 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue