New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 609172 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

provide an indication when a blocking event listener for a cancellable event degrades page responsiveness

Project Member Reported by caseq@chromium.org, May 4 2016

Issue description

We should provide an indication for the web developers when a synchronous listener for an input event causes page scrolling performance to degrade due to the impl-side event handling being blocked on the main threads.

Options include:
- an indication of blocking time on DevTools' Timeline and a warning there;
- a warning in the console.

 
Project Member

Comment 1 by bugdroid1@chromium.org, May 13 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86

commit d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86
Author: caseq <caseq@chromium.org>
Date: Fri May 13 02:20:13 2016

Emit a console warning when blocking event listener is delayed for too long

BUG= 609172 

Review-Url: https://codereview.chromium.org/1949793002
Cr-Commit-Position: refs/heads/master@{#393432}

[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/events/EventTarget.cpp
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/events/RegisteredEventListener.h
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/frame/Settings.in
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/inspector/ConsoleMessage.cpp
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/inspector/ConsoleMessage.h
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/inspector/InspectorInputAgent.cpp
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/core/inspector/InspectorPageAgent.h
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/devtools/front_end/main/Main.js
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/devtools/front_end/main/module.json
[modify] https://crrev.com/d6fb47a68199ad74ddbc33c5cf88bfdfed5fce86/third_party/WebKit/Source/devtools/protocol.json

Fixed?

Comment 3 by caseq@chromium.org, Jul 7 2016

Status: Fixed (was: Started)

Sign in to add a comment