diff --git a/fetch.bs b/fetch.bs index 2d2f521fc..00d40db7e 100644 --- a/fetch.bs +++ b/fetch.bs @@ -280,7 +280,10 @@ following items: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
post-redirect start time (default 0)
final service worker start time (default 0)
final network-request start time (default 0) +
first interim network-response start time (default 0)
final network-response start time (default 0) +
final network-response headers end time (default 0) +
response body start time (default 0)
end time (default 0)
A {{DOMHighResTimeStamp}}. @@ -5528,9 +5531,8 @@ optional boolean forceNewConnection (default false), run these steps:

While true:

    -
  1. If timingInfo's - final network-response start time is 0, then set - timingInfo's final network-response start time to +

  2. Set timingInfo's + final network-response start time to the coarsened shared current time given fetchParams's cross-origin isolated capability, immediately after the user agent's HTTP parser receives the first byte of the response (e.g., frame header bytes for @@ -5538,12 +5540,23 @@ optional boolean forceNewConnection (default false), run these steps:

  3. Wait until all the HTTP response headers are transmitted. +

  4. Set timingInfo's + final network-response headers end time to + coarsened shared current time given fetchParams's + cross-origin isolated capability. +

  5. Let status be the HTTP response's status code.

  6. If status is in the range 100 to 199, inclusive:

      +
    1. If timingInfo's + first interim network-response start time is 0, then set + timingInfo's + first interim network-response start time to + timingInfo's final network-response start time. +

    2. If status is 101, break.

    3. If status is 103 and fetchParams's @@ -5723,6 +5736,13 @@ optional boolean forceNewConnection (default false), run these steps:

      If one or more bytes have been transmitted from response's message body, then:

        +
      1. If fetchParams's timing info's + response body start time is 0, then set + fetchParams's timing info's + response body start time to the + coarsened shared current time given fetchParams's + cross-origin isolated capability. +

      2. Let bytes be the transmitted bytes.

      3. Let codings be the result of extracting header list values given