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

Issue 1133223002: Apply PSL to "first-party for cookies" ancestor restrictions. (Closed)

Created:
5 years, 7 months ago by Mike West
Modified:
5 years, 7 months ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Apply PSL to "first-party for cookies" ancestor restrictions. Both Chrome and Firefox currently allow 'talkgadget.google.com' to receive cookies when embedded within 'plus.google.com'. This patch pokes at 'Document::firstPartyForCookies' to relax the ancestor restriction from an exact origin match to an eTLD match in order to bring our behavior into line with this particular portion of the status quo. BUG=477578 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195457

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
M Source/core/dom/Document.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/tests/WebDocumentTest.cpp View 5 chunks +23 lines, -0 lines 1 comment Download
A Source/web/tests/data/first_party/nested-originSubA.html View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Mike West
WDYT, Jochen? Ryan: this feels hacky. I'm doing it because 'StaticCookiePolicy::CanGetCookies' already uses the PSL ...
5 years, 7 months ago (2015-05-12 07:51:28 UTC) #2
Ryan Sleevi
Not LGTM. m_hostIsIPAddress in OriginAccessEntry is bugged, especially with respect to IPv6 addresses, at least ...
5 years, 7 months ago (2015-05-12 23:15:23 UTC) #3
Mike West
On 2015/05/12 at 23:15:23, rsleevi wrote: > m_hostIsIPAddress in OriginAccessEntry is bugged, especially with respect ...
5 years, 7 months ago (2015-05-13 05:06:14 UTC) #4
Ryan Sleevi
On 2015/05/13 05:06:14, Mike West wrote: > On 2015/05/12 at 23:15:23, rsleevi wrote: > > ...
5 years, 7 months ago (2015-05-13 06:30:57 UTC) #5
Mike West
Given https://codereview.chromium.org/1128913004, are you less unhappy about this CL, Ryan?
5 years, 7 months ago (2015-05-15 14:47:38 UTC) #6
Ryan Sleevi
LGTM % I have no idea what I'm doing here ;) https://codereview.chromium.org/1133223002/diff/1/Source/web/tests/WebDocumentTest.cpp File Source/web/tests/WebDocumentTest.cpp (right): ...
5 years, 7 months ago (2015-05-15 21:33:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1133223002/1
5 years, 7 months ago (2015-05-18 08:02:21 UTC) #9
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 09:21:06 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195457

Powered by Google App Engine
This is Rietveld 408576698