You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec (https://wicg.github.io/cookie-store/#set-a-cookie) says that if set is called with a path passed in, and the path does not start with a "/", then we should return a failure. This implies that passing in "" should cause a failure.
However, Chrome does not return failure here, but rather fills in the path itself and sets the cookie.
Which is correct? Returning a failure or filling in the path automatically if an empty string is passed in? Thank you!