Re: [ServiceWorker] Cancelling HTTP fetch (#592)

In Gecko, we have a loadgroup that knows about network requests. When a document goes away, the loadgroup terminates the relevant requests. So the fetch() will fail with an AbortError when called from documents. I'll let @wanderview comment if the same thing will work on workers now that he implemented loadgroups for them. 

Ben, when a SW is created for handling a document's request, will it (or can we make it) acquire that document's loadgroup?

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

Received on Friday, 16 January 2015 23:45:20 UTC