Re: [ServiceWorker] Add cookie accessor/setter methods? (#707)

Cookie names are not unique. Only the combination of name, domain-or-implicit-pseudo-origin, path, secure and httponly is unique, and even that combination is unique only at a single point in time and only with a consistent cookie store.

Also, shouldn't set also be asynchronous, and perhaps even result in promise rejection if a later-initiated update collided with it before it completed? In any case, shouldn't it work asynchronously and only finish once the change is synchronized across the session?

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/707#issuecomment-110442904

Received on Tuesday, 9 June 2015 17:40:06 UTC