Issue metadata
Sign in to add a comment
|
Expose SameSite cookie attribute in Async Cookies API |
||||||||||||||||||||||||
Issue descriptiondocument.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.
,
Jul 4
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by pwnall@chromium.org
, May 30 2018Components: Blink>Storage>CookiesAPI