[w3c/ServiceWorker] cache.addAll() is not consistent in aborting outstanding requests on error (#1543)

In the cache.addAll() algorithm:

https://w3c.github.io/ServiceWorker/#cache-addAll

The spec periodically cancels outstanding requests with text like:

```
Terminate all the ongoing fetches initiated by requests with the aborted flag set.
```

However, it does not appear to do this if the fetch() rejects instead of resolving a promise.  It also does not do this if a resolved Response has ok() return false, status code is 206, etc.

Also, does this kind of termination cause the associated `Request.signal` to expose the abort status?  I'm having a hard time understanding that from the spec.  @jakearchibald do you know?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1543

Received on Monday, 28 September 2020 20:11:59 UTC