Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When getting cookies only expose their name and value #238

Open
annevk opened this issue Aug 15, 2024 · 2 comments
Open

When getting cookies only expose their name and value #238

annevk opened this issue Aug 15, 2024 · 2 comments

Comments

@annevk
Copy link
Collaborator

annevk commented Aug 15, 2024

As suggested in WebKit/standards-positions#36 (comment) which builds upon feedback from Ehsan https://wicg.github.io/cookie-store/#dictdef-cookielistitem should only have name and value members. This would keep parity with document.cookie in terms of what cookie aspects end up being exposed.

This is also what we plan to implement in WebKit.

@annevk
Copy link
Collaborator Author

annevk commented Aug 15, 2024

cc @szewai @RupinMittal @bakulf

@bakulf
Copy link

bakulf commented Sep 24, 2024

Firefox is experimenting with the CookieStore API, and we have implemented what @annevk suggests here. get and getAll return only names and values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants