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

Issue 2520423004: Don't log a console warning when touch-action is used. (Closed)

Created:
4 years ago by dtapuska
Modified:
4 years ago
Reviewers:
Rick Byers
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't log a console warning when touch-action is used. To avoid log fatigue for the developer only log the "you are prevent defaulting a passive event listener" if no touch-action is used. If touch-action is being used then it is clear that the developer is doing this to interop with other browsers that don't support touch-action. BUG=667799 Committed: https://crrev.com/6ea5974532e7cfea654c59181f1819e6805bb368 Cr-Commit-Position: refs/heads/master@{#434536}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move log into TouchEvent #

Patch Set 3 : Add layout test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -30 lines) Patch
A third_party/WebKit/LayoutTests/fast/events/touch/touch-action-preventDefault.html View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/touch/touch-action-preventDefault-expected.txt View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/Event.cpp View 1 1 chunk +3 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/events/TouchEvent.cpp View 1 3 chunks +32 lines, -8 lines 1 comment Download

Messages

Total messages: 25 (15 generated)
dtapuska
PTAL
4 years ago (2016-11-22 20:26:47 UTC) #3
Rick Byers
Do you think it's worth adding a test? https://codereview.chromium.org/2520423004/diff/1/third_party/WebKit/Source/core/events/Event.cpp File third_party/WebKit/Source/core/events/Event.cpp (right): https://codereview.chromium.org/2520423004/diff/1/third_party/WebKit/Source/core/events/Event.cpp#newcode241 third_party/WebKit/Source/core/events/Event.cpp:241: case ...
4 years ago (2016-11-22 20:40:33 UTC) #5
dtapuska
On 2016/11/22 20:40:33, Rick Byers wrote: > Do you think it's worth adding a test? ...
4 years ago (2016-11-23 15:46:56 UTC) #10
dtapuska
On 2016/11/23 15:46:56, dtapuska wrote: > On 2016/11/22 20:40:33, Rick Byers wrote: > > Do ...
4 years ago (2016-11-23 15:47:56 UTC) #11
dtapuska
On 2016/11/23 15:47:56, dtapuska wrote: > On 2016/11/23 15:46:56, dtapuska wrote: > > On 2016/11/22 ...
4 years ago (2016-11-23 16:35:07 UTC) #13
Rick Byers
https://codereview.chromium.org/2520423004/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): https://codereview.chromium.org/2520423004/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp#newcode265 third_party/WebKit/Source/core/events/TouchEvent.cpp:265: case PassiveMode::NotPassive: Shouldn't NotPassiveDefault be this case too? Looks ...
4 years ago (2016-11-25 16:06:29 UTC) #18
Rick Byers
On 2016/11/25 at 16:06:29, Rick Byers wrote: > https://codereview.chromium.org/2520423004/diff/40001/third_party/WebKit/Source/core/events/TouchEvent.cpp > File third_party/WebKit/Source/core/events/TouchEvent.cpp (right): > > ...
4 years ago (2016-11-25 16:09:26 UTC) #19
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/2520423004/40001
4 years ago (2016-11-25 16:38:09 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-25 18:00:59 UTC) #23
commit-bot: I haz the power
4 years ago (2016-11-25 18:03:53 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6ea5974532e7cfea654c59181f1819e6805bb368
Cr-Commit-Position: refs/heads/master@{#434536}

Powered by Google App Engine
This is Rietveld 408576698