Re: [whatwg/fetch] Call `finalize and report timing` automatically on end-of-body (PR #1413)

Refactored a bit as needed by the [HTML PR](https://github.com/whatwg/html/pull/7722) that depends on this.

- For early hints, we need to allow reporting the timing info later, as the global object may be created after the response is complete.
- For navigation timing, the full timing info needs to be exposed rather than reported automatically as resource-timing.

@annevk @yutakahirano 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1413#issuecomment-1139472462
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1413/c1139472462@github.com>

Received on Friday, 27 May 2022 10:05:06 UTC