[whatwg/fetch] Add more timing iformation about (interim) responses (PR #1483)

See https://github.com/w3c/resource-timing/issues/345


Since early hints have landed, there are additional useful timestamps
that are currently not exposed:

- First interim response start (e.g. when we received a 103)
  as a different timestamp from the final response start
  (e.g. when we received the 200)

- Final headers received (when the last header has been received and
  we're ready for the body)

- First bytes of the body received

The naming in #345 is not finalized yet, but it's clear that these
are the 3 interesting timestamps. This PR exposes those for later
use by resource timing.

<!--
Thank you for contributing to the Fetch Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [ ] At least two implementers are interested (and none opposed):
   * …
   * …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * …
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chrome: …
   * Firefox: …
   * Safari: …
   * Deno (not for CORS changes): …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1483


-- Commit Summary --

  * Add more timing iformation about (interim) responses

-- File Changes --

    M fetch.bs (26)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1483.patch

https://github.com/whatwg/fetch/pull/1483.diff


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1483

You are receiving this because you are subscribed to this thread.

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

Received on Friday, 2 September 2022 06:19:01 UTC