WICG / cookie-store

Asynchronous access to cookies from JavaScript
https://wicg.github.io/cookie-store/
Apache License 2.0
143 stars 35 forks source link

When getting cookies only expose their name and value #238

Open annevk opened 1 month ago

annevk commented 1 month ago

As suggested in https://github.com/WebKit/standards-positions/issues/36#issuecomment-1620515474 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 commented 1 month ago

cc @szewai @RupinMittal @bakulf