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

> > * Finalize response is called too soon in fetch finale. The other callbacks need to happen first.
> 
> It's there on purpose. I want to make sure `processResposeDone` is always called before the other ones for network errors, so that reporting etc. would happen before any `onerror` events.

Though I guess perhaps it would more sense to call `done` after, and to use the `process response` and `process response end-of-body` callbacks in the HTML spec callers.

-- 
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-936724881

Received on Wednesday, 6 October 2021 17:17:21 UTC