WICG / background-fetch

API proposal for background downloading/uploading
https://wicg.github.io/background-fetch/
Apache License 2.0
281 stars 42 forks source link

responseReady getting rejected does not mean the background fetch failed. #130

Open mugdhalakhani opened 5 years ago

mugdhalakhani commented 5 years ago

responseReady could fail if the response stream errored (maybe due lost of network connectivity). It shouldn't be equated to the background fetch failing, instead, the response should be retried by calling match() again to get a new record, and a new responseReady promise.

Can we call this out somewhere in the spec please?

jakearchibald commented 5 years ago

Yeah, makes sense.