Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: third_party/WebKit/Source/core/frame/Settings.in

Issue 2490563002: Revert of DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/Settings.in
diff --git a/third_party/WebKit/Source/core/frame/Settings.in b/third_party/WebKit/Source/core/frame/Settings.in
index b66cff711253f391049729c54005abcee23d66d3..e550f140e1f873e5ccd98b8fc52805c51600359f 100644
--- a/third_party/WebKit/Source/core/frame/Settings.in
+++ b/third_party/WebKit/Source/core/frame/Settings.in
@@ -391,6 +391,11 @@
# on frame resize assuming device rotation.
mainFrameResizesAreOrientationChanges initial=false
+# If set to a positive value, emit a console warning once for each non-passive
+# event listener that caused an event to be dispatched to main thread and
+# delayed by more than the specified time (in seconds).
+blockedMainThreadEventsWarningThreshold type=double, initial=0
+
# Ability to override the default 'passive' value in AddEventListenerOptions. This
# is useful to demonstrate the power of passive event listeners. This can be removed
# when there is greater adoption, interventions to force it on and associated devtools
« no previous file with comments | « third_party/WebKit/Source/core/frame/PerformanceMonitor.cpp ('k') | third_party/WebKit/Source/core/inspector/ConsoleTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698