[whatwg/fetch] "Return a network error" doesn't seem to go through "process response" (#1164)

Consider what happens when we reach step 10 of `fetch()`, which calls the "fetch" algorithm.

The only way the promise ever gets resolved or rejected is once "process response" gets invoked.

However, it's possible to (synchronously) reach a step which reads "Return a network error", e.g. fetch step 2.3, or main fetch step 3.2, 3.3. In which case "process response" never gets invoked, so in theory the promise doesn't settle.

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

Received on Monday, 8 February 2021 17:43:59 UTC