New issue
Advanced search Search tips

Issue 848062 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 856364
Owner:
Closed: Jul 4
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug

Blocking:
issue 729800



Sign in to add a comment

Expose SameSite cookie attribute in Async Cookies API

Project Member Reported by pwnall@chromium.org, May 30 2018

Issue description

document.cookie supports setting it, so Async Cookies should support as well. Specifically, the following assignments will be reflected in the Cookies view in Dev Tools.

document.cookie="sfoo=sbar; SameSite=strict";
document.cookie="lfoo=lbar; SameSite=lax";

Spec bugs:
https://github.com/WICG/cookie-store/issues/36
https://github.com/WICG/cookie-store/issues/38

We'll add a sameSite option to cookieStore.set() and make sure we reject if the option conflicts with the cookie prefix (__Host- implies sameSite=strict). We'll expose a sameSite attribute on cookie dictionaries returned by cookieStore.get() / cookieStore.getAll() and in change events.
 

Comment 1 by pwnall@chromium.org, May 30 2018

Blocking: 729800
Components: Blink>Storage>CookiesAPI
Mergedinto: 856364
Status: Duplicate (was: Assigned)
Oops, I filed this twice.

Sign in to add a comment