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

Issue 2680973010: Log when PreventDefaulting event forced uncancellable. (Closed)

Created:
3 years, 10 months ago by tdresser
Modified:
3 years, 10 months ago
Reviewers:
bokan, Mark P, mpearson
CC:
chromium-reviews, blink-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log when PreventDefaulting event forced uncancellable. Logs to JS console and records a use counter when an uncancellable event has preventDefault called on it, for the main thread unresponsiveness scrolling intervention, as well as in the general case. Also migrates the existing forced passive document level listeners warning to use the InterventionMessageSource. Use Counters added: UncancellableTouchEventPreventDefaulted UncancellableTouchEventDueToMainThreadResponsivenessPreventDefaulted BUG=599609 TEST=TouchEventTest Review-Url: https://codereview.chromium.org/2680973010 Cr-Commit-Position: refs/heads/master@{#449987} Committed: https://chromium.googlesource.com/chromium/src/+/725e6577e9c3d03aeb9dea5851422813ec6e84e5

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix silly bug, Win build still fails. #

Total comments: 5

Patch Set 4 : Fix stupid bug. #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -5 lines) Patch
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEvent.cpp View 1 2 3 chunks +28 lines, -5 lines 0 comments Download
A third_party/WebKit/Source/core/events/TouchEventTest.cpp View 1 2 3 1 chunk +135 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (19 generated)
tdresser
Bokan@, PTAL. Having a hard time nailing down why the Windows build is failing here. ...
3 years, 10 months ago (2017-02-09 20:11:02 UTC) #10
bokan
lgtm with changes https://codereview.chromium.org/2680973010/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/2680973010/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode282 third_party/WebKit/Source/core/events/TouchEvent.cpp:282: warningMessage = "Ignored attempt to cancel ...
3 years, 10 months ago (2017-02-10 00:24:06 UTC) #11
bokan
On 2017/02/10 00:24:06, bokan wrote: > lgtm with changes Change, rather, and confirmation.
3 years, 10 months ago (2017-02-10 00:24:35 UTC) #12
tdresser
+mpearson@ for histograms.xml changes. https://codereview.chromium.org/2680973010/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/2680973010/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode282 third_party/WebKit/Source/core/events/TouchEvent.cpp:282: warningMessage = "Ignored attempt to ...
3 years, 10 months ago (2017-02-10 13:24:57 UTC) #14
bokan
https://codereview.chromium.org/2680973010/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/2680973010/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode282 third_party/WebKit/Source/core/events/TouchEvent.cpp:282: warningMessage = "Ignored attempt to cancel a " + ...
3 years, 10 months ago (2017-02-10 15:36:16 UTC) #19
Mark P
histograms.xml lgtm, though you'll need to resync and revise the use counter numbers before submitting. ...
3 years, 10 months ago (2017-02-10 22:58:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2680973010/80001
3 years, 10 months ago (2017-02-13 15:24:34 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 17:20:31 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/725e6577e9c3d03aeb9dea585142...

Powered by Google App Engine
This is Rietveld 408576698