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

Issue 2721423003: Reset Frame::m_hasReceivedUserGesture for main frames on navigation (Closed)

Created:
3 years, 9 months ago by Nate Chapin
Modified:
3 years, 9 months ago
Reviewers:
samuong, dcheng, ojan
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-frames_chromium.org, chromium-reviews, dcheng, dglazkov+blink, eae+blinkwatch, kinuko+watch, mlamouri+watch-blink_chromium.org, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset Frame::m_hasReceivedUserGesture for main frames on navigation Child frames have some degree of continuity across navigations: the contents are still embedded in the same document. Let them continue to propagate user gesture state across navigations. However, main frames don't have that continuity and should reset their user gesture state on navigation. TEST=DocumentUserGestureTokenTest.Navigate BUG=chromedriver:922 Review-Url: https://codereview.chromium.org/2721423003 Cr-Commit-Position: refs/heads/master@{#456134} Committed: https://chromium.googlesource.com/chromium/src/+/7da5699334a643bf58a2a9dc7f0104a41c7f4ef5

Patch Set 1 #

Patch Set 2 : One bit, reset for main frames on commit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M third_party/WebKit/Source/core/dom/DocumentUserGestureTokenTest.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrame.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (16 generated)
gmanikpure
On 2017/03/02 03:08:01, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
3 years, 9 months ago (2017-03-02 19:37:40 UTC) #5
Nate Chapin
On 2017/03/02 19:37:40, gmanikpure wrote: > On 2017/03/02 03:08:01, commit-bot: I haz the power wrote: ...
3 years, 9 months ago (2017-03-02 19:43:00 UTC) #6
samuong
It does pre-date that CL, yes. It's not a recent regression. I just asked Gauri ...
3 years, 9 months ago (2017-03-02 20:50:26 UTC) #8
Nate Chapin
On 2017/03/02 20:50:26, samuong wrote: > It does pre-date that CL, yes. It's not a ...
3 years, 9 months ago (2017-03-03 22:37:24 UTC) #9
Nate Chapin
ojan, would you mind reviewing this? It looks like we have use cases that want ...
3 years, 9 months ago (2017-03-03 22:38:13 UTC) #11
Nate Chapin
dcheng, would you mind checking this over?
3 years, 9 months ago (2017-03-08 22:08:39 UTC) #14
dcheng
I'm worried that we'll be able to audit/correctly distinguish between the two usages... I feel ...
3 years, 9 months ago (2017-03-08 22:21:33 UTC) #15
Nate Chapin
On 2017/03/08 22:21:33, dcheng wrote: > I'm worried that we'll be able to audit/correctly distinguish ...
3 years, 9 months ago (2017-03-08 22:37:16 UTC) #16
ojan
Sorry for the delay. This fell off the bottom of my inbox. I'm not convinced ...
3 years, 9 months ago (2017-03-09 00:45:31 UTC) #17
Nate Chapin
@ojan, what about this? reset the bit on commit for main frames only. I think ...
3 years, 9 months ago (2017-03-09 23:52:15 UTC) #20
ojan
Yikes. I thought this was already our behavior. I thought we recreated LocalFrames when the ...
3 years, 9 months ago (2017-03-10 00:44:48 UTC) #21
Nate Chapin
On 2017/03/10 00:44:48, ojan wrote: > Yikes. I thought this was already our behavior. I ...
3 years, 9 months ago (2017-03-10 03:00:59 UTC) #24
dcheng
LGTM but update the CL description
3 years, 9 months ago (2017-03-10 19:21:15 UTC) #26
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/2721423003/20001
3 years, 9 months ago (2017-03-10 19:23:19 UTC) #28
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 19:30:21 UTC) #31
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/7da5699334a643bf58a2a9dc7f01...

Powered by Google App Engine
This is Rietveld 408576698