background-fetch icon indicating copy to clipboard operation
background-fetch copied to clipboard

responseReady getting rejected does not mean the background fetch failed.

Open mugdhalakhani opened this issue 6 years ago • 1 comments

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?

mugdhalakhani avatar Nov 29 '18 11:11 mugdhalakhani

Yeah, makes sense.

jakearchibald avatar Nov 29 '18 12:11 jakearchibald