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

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

Issue 1949793002: Emit a console warning when blocking event listener is delayed for too long (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed forward decls & includes that are not in use now Created 4 years, 7 months 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 e90d06cbc4e2f1a9cad71d17311fe414520abfbb..c2609cc5f235db1aa813f741dac70c2183b56629 100644
--- a/third_party/WebKit/Source/core/frame/Settings.in
+++ b/third_party/WebKit/Source/core/frame/Settings.in
@@ -400,3 +400,8 @@ resizeIsDeviceSizeChange initial=false
# Whether the browser process sends gesture events for wheel events.
# Can be removed when crbug.com/598798 is fixed.
wheelGesturesEnabled 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

Powered by Google App Engine
This is Rietveld 408576698