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

"path is not null" but path is not nullable #227

Closed annevk closed 3 months ago

annevk commented 5 months ago

I don't see how https://wicg.github.io/cookie-store/#set-a-cookie makes sense. Path is not nullable in the current API.

annevk commented 5 months ago

In the work @johannhof and I are doing on Cookie Layering we are going to assume that Cookie Store always create a cookie with a path so that when it hands off the cookie to be stored its path is accurate.

ayuishii commented 3 months ago

Thanks for the catch! This should now be resolved with the PR above.