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

Issue 273503004: Add console warning for canceling uncancelable TouchEvent (Closed)

Created:
6 years, 7 months ago by Rick Byers
Modified:
6 years, 7 months ago
Reviewers:
pfeldman
CC:
blink-reviews, jdduke (slow)
Visibility:
Public.

Description

Add console warning for canceling uncancelable TouchEvent BUG=370149 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173554

Patch Set 1 #

Patch Set 2 : Improve output #

Patch Set 3 : Include event type in log message for added clarity #

Total comments: 1

Patch Set 4 : cr feedback #

Patch Set 5 : Tweak style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -1 line) Patch
M LayoutTests/fast/events/touch/touch-event-cancelable.html View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/fast/events/touch/touch-event-cancelable-expected.txt View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/events/Event.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/TouchEvent.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/events/TouchEvent.cpp View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Rick Byers
pfeldman@ PTAL
6 years, 7 months ago (2014-05-07 02:55:00 UTC) #1
pfeldman
lgtm w/ nit https://codereview.chromium.org/273503004/diff/30001/Source/core/events/TouchEvent.cpp File Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/273503004/diff/30001/Source/core/events/TouchEvent.cpp#newcode100 Source/core/events/TouchEvent.cpp:100: if (!cancelable()) { Blink's recommendation is ...
6 years, 7 months ago (2014-05-07 15:36:21 UTC) #2
Rick Byers
On 2014/05/07 15:36:21, pfeldman wrote: > lgtm w/ nit > > https://codereview.chromium.org/273503004/diff/30001/Source/core/events/TouchEvent.cpp > File Source/core/events/TouchEvent.cpp ...
6 years, 7 months ago (2014-05-07 16:24:22 UTC) #3
Rick Byers
The CQ bit was checked by rbyers@chromium.org
6 years, 7 months ago (2014-05-07 16:24:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rbyers@chromium.org/273503004/50001
6 years, 7 months ago (2014-05-07 16:25:03 UTC) #5
pfeldman
if (!cancelable() || !view()) return; if (frame) { ... } does not have nested conditions ...
6 years, 7 months ago (2014-05-07 16:58:13 UTC) #6
Rick Byers
The CQ bit was unchecked by rbyers@chromium.org
6 years, 7 months ago (2014-05-07 17:24:19 UTC) #7
Rick Byers
On 2014/05/07 16:58:13, pfeldman wrote: > if (!cancelable() || !view()) > return; > if (frame) ...
6 years, 7 months ago (2014-05-07 17:29:17 UTC) #8
Rick Byers
On 2014/05/07 17:29:17, Rick Byers wrote: > On 2014/05/07 16:58:13, pfeldman wrote: > > if ...
6 years, 7 months ago (2014-05-07 17:30:45 UTC) #9
pfeldman
lgtm, also looks fine!
6 years, 7 months ago (2014-05-07 17:45:21 UTC) #10
Rick Byers
The CQ bit was checked by rbyers@chromium.org
6 years, 7 months ago (2014-05-07 17:46:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rbyers@chromium.org/273503004/70001
6 years, 7 months ago (2014-05-07 17:46:51 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 18:27:46 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-05-07 19:35:22 UTC) #14
Message was sent while issue was closed.
Change committed as 173554

Powered by Google App Engine
This is Rietveld 408576698