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

Issue 2467993002: Document user gesture state should be able to propagate over postMessage (Closed)

Created:
4 years, 1 month ago by Nate Chapin
Modified:
4 years, 1 month ago
Reviewers:
Rick Byers, ojan
CC:
blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Document user gesture state should be able to propagate over postMessage When postMessage is called in response to a user gesture, the UserGestureToken is put back on the stack for the onmessage handler. Ensure that the document receiving the message is considered to have received a user gesture in that case. BUG=624061 TEST=http/tests/security/frameNavigation/xss-ALLOWED-top-navigation-after-postMessage.html Committed: https://crrev.com/73651bdf5a2913e6a7226794fa3a567542fb1a55 Cr-Commit-Position: refs/heads/master@{#429132}

Patch Set 1 #

Messages

Total messages: 14 (7 generated)
Nate Chapin
I included a bit of cleanup in DocumentUserGestureToken/UserGestureToken, as DocumentUserGestureToken is now nothing more than ...
4 years, 1 month ago (2016-11-01 21:12:58 UTC) #4
ojan
lgtm This makes me wonder what the cases are where we ever want to have ...
4 years, 1 month ago (2016-11-01 21:20:14 UTC) #5
Nate Chapin
On 2016/11/01 21:20:14, ojan wrote: > lgtm > > This makes me wonder what the ...
4 years, 1 month ago (2016-11-01 21:21:42 UTC) #6
Rick Byers
On 2016/11/01 21:21:42, Nate Chapin wrote: > On 2016/11/01 21:20:14, ojan wrote: > > lgtm ...
4 years, 1 month ago (2016-11-01 21:41:43 UTC) #7
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/2467993002/1
4 years, 1 month ago (2016-11-01 22:05:10 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-01 22:11:47 UTC) #12
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 22:13:48 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/73651bdf5a2913e6a7226794fa3a567542fb1a55
Cr-Commit-Position: refs/heads/master@{#429132}

Powered by Google App Engine
This is Rietveld 408576698