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

Issue 1956493002: Remove user gestures on touches other than tap in cross-origin iframes (Closed)

Created:
4 years, 7 months ago by Rick Byers
Modified:
4 years, 7 months ago
Reviewers:
dtapuska
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org, mlamouri+watch-test-runner_chromium.org, jochen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove user gestures on touches other than tap in cross-origin iframes Also replaces our tests for user gestures during touch events. See https://docs.google.com/document/d/1oF1T3O7_E4t1PYHV6gyCwHxOi3ystm0eSL5xZu7nvOg/edit#heading=h.qq59ev3u8fba Intent-to-remove: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/piK75azdN5o BUG=582140 Committed: https://crrev.com/709aa1e9ea8995de6c4a89edc2f7009122569814 Cr-Commit-Position: refs/heads/master@{#393185}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Attempt to harden the test #

Total comments: 4

Patch Set 4 : dtapuska cr #

Patch Set 5 : Merge with trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -136 lines) Patch
M components/test_runner/event_sender.h View 1 chunk +5 lines, -4 lines 0 comments Download
M components/test_runner/event_sender.cc View 3 chunks +38 lines, -21 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/events/popup-allowed-from-touch-only-once.html View 1 1 chunk +0 lines, -84 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/events/popup-allowed-from-touch-only-once-expected.txt View 1 1 chunk +0 lines, -8 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-user-gesture-frame.html View 1 2 1 chunk +94 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture.html View 1 chunk +77 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture-cross-origin.html View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture-cross-origin-expected.txt View 1 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture-expected.txt View 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 2 3 4 1 chunk +26 lines, -12 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Rick Byers
Dave, PTAL I'm still waiting on the "intent to remove" before landing, but I'm optimistic. ...
4 years, 7 months ago (2016-05-09 21:13:44 UTC) #2
Rick Byers
On 2016/05/09 21:13:44, Rick Byers wrote: > Dave, PTAL > I'm still waiting on the ...
4 years, 7 months ago (2016-05-11 22:49:13 UTC) #3
dtapuska
Lgtm % nits https://codereview.chromium.org/1956493002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (left): https://codereview.chromium.org/1956493002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h#oldcode1102 third_party/WebKit/Source/core/frame/UseCounter.h:1102: DocumentCreateEventForeignFetchEvent = 1286, Does it make ...
4 years, 7 months ago (2016-05-12 00:29:47 UTC) #4
Rick Byers
https://codereview.chromium.org/1956493002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h File third_party/WebKit/Source/core/frame/UseCounter.h (left): https://codereview.chromium.org/1956493002/diff/40001/third_party/WebKit/Source/core/frame/UseCounter.h#oldcode1102 third_party/WebKit/Source/core/frame/UseCounter.h:1102: DocumentCreateEventForeignFetchEvent = 1286, On 2016/05/12 00:29:47, dtapuska wrote: > ...
4 years, 7 months ago (2016-05-12 03:20:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1956493002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1956493002/80001
4 years, 7 months ago (2016-05-12 03:21:17 UTC) #8
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 7 months ago (2016-05-12 04:44:18 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-12 04:45:39 UTC) #11
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/709aa1e9ea8995de6c4a89edc2f7009122569814
Cr-Commit-Position: refs/heads/master@{#393185}

Powered by Google App Engine
This is Rietveld 408576698