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

Issue 1868493002: Ignore cookies with invalid 'SameSite' attribute values. (Closed)

Created:
4 years, 8 months ago by Mike West
Modified:
4 years, 8 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore cookies with invalid 'SameSite' attribute values. As per https://tools.ietf.org/html/draft-west-first-party-cookies-07#section-4.1 BUG=600983 Committed: https://crrev.com/1a9ce0d2b4854d406c62c23af936c633b2777feb Cr-Commit-Position: refs/heads/master@{#385525}

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 2

Patch Set 3 : Hrm. #

Total comments: 2

Patch Set 4 : rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -16 lines) Patch
M net/cookies/canonical_cookie_unittest.cc View 1 2 3 2 chunks +17 lines, -6 lines 0 comments Download
M net/cookies/parsed_cookie.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M net/cookies/parsed_cookie.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M net/cookies/parsed_cookie_unittest.cc View 1 2 1 chunk +25 lines, -9 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
Mike West
estark@: Would you mind taking a look at this patch? mmenke@: Would you mind stamping ...
4 years, 8 months ago (2016-04-06 14:38:07 UTC) #2
Mike West
jochen@: Would you mind stamping the changes in //chrome and //content. I'm just adding an ...
4 years, 8 months ago (2016-04-06 14:39:09 UTC) #4
mmenke
https://codereview.chromium.org/1868493002/diff/20001/chrome/browser/extensions/api/cookies/cookies_helpers.cc File chrome/browser/extensions/api/cookies/cookies_helpers.cc (right): https://codereview.chromium.org/1868493002/diff/20001/chrome/browser/extensions/api/cookies/cookies_helpers.cc#newcode94 chrome/browser/extensions/api/cookies/cookies_helpers.cc:94: case net::CookieSameSite::INVALID_MODE: It seems unfortunate that we need to ...
4 years, 8 months ago (2016-04-06 15:16:30 UTC) #5
Mike West
On 2016/04/06 at 15:16:30, mmenke wrote: > https://codereview.chromium.org/1868493002/diff/20001/chrome/browser/extensions/api/cookies/cookies_helpers.cc > File chrome/browser/extensions/api/cookies/cookies_helpers.cc (right): > > https://codereview.chromium.org/1868493002/diff/20001/chrome/browser/extensions/api/cookies/cookies_helpers.cc#newcode94 ...
4 years, 8 months ago (2016-04-06 15:22:55 UTC) #6
mmenke
On 2016/04/06 15:22:55, Mike West wrote: > On 2016/04/06 at 15:16:30, mmenke wrote: > > ...
4 years, 8 months ago (2016-04-06 15:28:51 UTC) #7
Mike West
Is this more or less what you're thinking, mmenke@? It's a big improvement outside //net/cookies, ...
4 years, 8 months ago (2016-04-06 16:02:04 UTC) #8
mmenke
On 2016/04/06 16:02:04, Mike West wrote: > Is this more or less what you're thinking, ...
4 years, 8 months ago (2016-04-06 16:07:24 UTC) #9
Mike West
https://codereview.chromium.org/1868493002/diff/40001/net/cookies/canonical_cookie_unittest.cc File net/cookies/canonical_cookie_unittest.cc (right): https://codereview.chromium.org/1868493002/diff/40001/net/cookies/canonical_cookie_unittest.cc#newcode126 net/cookies/canonical_cookie_unittest.cc:126: TEST(CanonicalCookieTest, CreateInvalid) { On 2016/04/06 at 16:07:23, mmenke wrote: ...
4 years, 8 months ago (2016-04-06 16:34:39 UTC) #10
mmenke
Oops, meant to LGTM it in that last message.
4 years, 8 months ago (2016-04-06 16:38:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1868493002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1868493002/60001
4 years, 8 months ago (2016-04-06 18:23:09 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-06 19:44:29 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 19:46:13 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1a9ce0d2b4854d406c62c23af936c633b2777feb
Cr-Commit-Position: refs/heads/master@{#385525}

Powered by Google App Engine
This is Rietveld 408576698