Re: [ServiceWorker] Support modifying cookies on an intercepted fetch (#837)

@mkruisselbrink @wanderview I couldn't try this in Firefox since I couldn't find any documentation about how to debug service workers there and inspect their console (link?)

I did resolve the issue though. It turns out that the Set-Cookie header is ignored on responses unless the fetch that triggered it specified `credentials: 'include'`, which wasn't my understanding of that option.

I've now got this working as expected, this for now it is possible to hack around the existence of setCookie if you are happy to deal with an additional round trip to the server.

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

Received on Saturday, 5 March 2016 00:21:56 UTC