diff --git a/fetch.bs b/fetch.bs index eca7c7dbb..b85cfa893 100644 --- a/fetch.bs +++ b/fetch.bs @@ -342,7 +342,10 @@ following items: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
While true:
If timingInfo's - final network-response start time is 0, then set - timingInfo's final network-response start time to +
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 @@ -6004,6 +6006,11 @@ optional boolean forceNewConnection (default false), run these steps:
Wait until all the HTTP response headers are transmitted. +
Set timingInfo's + final network-response headers end time to + coarsened shared current time given fetchParams's + cross-origin isolated capability. +
Let status be the HTTP response's status code.
If request's mode is "websocket
" and
status is 101, then break.
+
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. + +
If status is 101, break. +
If status is 103 and fetchParams's process early hints response is non-null, then queue a fetch task to run fetchParams's @@ -6197,6 +6212,13 @@ optional boolean forceNewConnection (default false), run these steps:
If one or more bytes have been transmitted from response's message body, then:
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. +
Let bytes be the transmitted bytes.
Let codings be the result of extracting header list values given