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]]
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 @@ -5538,12 +5540,23 @@ 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 status is in the range 100 to 199, inclusive:
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 @@ -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:
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