Bug 231750 - Implement Cookie Store API
Summary: Implement Cookie Store API
Status: RESOLVED DUPLICATE of bug 258504
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-14 10:57 PDT by Luke Warlow
Modified: 2023-07-20 02:29 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke Warlow 2021-10-14 10:57:49 PDT
https://wicg.github.io/cookie-store/#CookieStore

It would be great if WebKIt could implement the Cookie Store API. This provides a much nicer API for developers to work with cookies.
Comment 1 Radar WebKit Bug Importer 2021-10-21 10:58:18 PDT
<rdar://problem/84514680>
Comment 2 John Wilander 2021-10-21 11:22:14 PDT
For awareness, from the spec: "It is not a W3C Standard nor is it on the W3C Standards Track."
Comment 3 Luke Warlow 2021-10-21 13:16:28 PDT
I understand it's only in the incubator for now, hopefully with more implementations it can be moved to the correct standards body. But frankly as a developer I don't overly care what it's labelled as. If it makes our lives easier and doesn't have security issues I think it should be implemented.
Comment 4 John Wilander 2021-10-21 13:35:05 PDT
(In reply to Luke from comment #3)
> I understand it's only in the incubator for now, hopefully with more
> implementations it can be moved to the correct standards body. But frankly
> as a developer I don't overly care what it's labelled as. If it makes our
> lives easier and doesn't have security issues I think it should be
> implemented.

My comment was mostly to inform others looking at this issue.

WebKit has among the strictest default cookie policies in the industry. We often find that proposals around cookies fail to realize how those APIs or features need to be structured to support a strict cookie policy. If the assumption is effectively no restrictions on cookies, it's very likely the design will not be sufficient. This means the starting point for us would be to see if the proposal you're referring to would even work with a cookie policy like ours or if additional work would be needed.
Comment 5 Luke Warlow 2023-07-20 02:29:44 PDT
Duplicated by another issue so closing now

*** This bug has been marked as a duplicate of bug 258504 ***