Re: [whatwg/fetch] Attach timing info and URL to network errors, and report for fetch API (#1311)

The done flag check is nice!

I think there are still some problems:

* Finalize response is called too soon in fetch finale. The other callbacks need to happen first.
* (Repeating this one as I think you missed it.) I also think we want to do something similar for "process response end-of-body". Where we check if the response's body is null, we should also check if it's a network error and do the same thing.

-- 
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/pull/1311#issuecomment-936523186

Received on Wednesday, 6 October 2021 15:40:35 UTC