From 1c6cbcb6a5ec603525a85001778b6557bde76f4a Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Tue, 7 Jun 2022 17:19:17 +0100 Subject: [PATCH] Fix PR nits --- fetch.bs | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/fetch.bs b/fetch.bs index a7470dae9..b9d114874 100644 --- a/fetch.bs +++ b/fetch.bs @@ -309,9 +309,9 @@ information needed by Resource Timing and Navigation Timingitems: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
-
encoded body +
encoded size (default 0) -
decoded body +
decoded size (default 0)
A number.
@@ -3812,7 +3812,7 @@ algorithm processResponseEndOfBody, an op processResponseConsumeBody, an optional boolean useParallelQueue (default false), an optional null or string initiatorType (default null), -and an optional "client" or a global object +and an optional "client", "none", or a global object timingGlobal (default "client"), run the steps below. If given, processRequestBodyChunkLength must be an algorithm accepting an integer representing the number of bytes transmitted. If given, processRequestEndOfBody must be an @@ -3861,7 +3861,7 @@ the request. global object. -
  • Assert: timingGlobal is null or a global object. +

  • Assert: timingGlobal is "none" or a global object.

  • If useParallelQueue is true, then set taskDestination to the result of starting a new parallel queue. @@ -4365,7 +4365,7 @@ steps:

  • Set timingInfo's end time to the relative high resolution time given unsafeEndTime and - global.

  • + global.
  • Let cacheState be response's cache state. @@ -4378,7 +4378,6 @@ steps: set cacheState to the empty string.

    This covers the case of response being a network error. -

  • If fetchParams's initiator type is not null, then mark resource timing for timingInfo, request's @@ -4390,10 +4389,10 @@ steps:

  • If fetchParams's initiator type is not null and - fetchParams's timing global is not null, then - queue a fetch task to run fetchParams's controller's - report timing steps given fetchParams's - timing global and fetchParams's + fetchParams's timing global is not "none", + then queue a fetch task to run fetchParams's + controller's report timing steps given + fetchParams's timing global and fetchParams's initiator type, withfetchParams's timing global.

  • @@ -5715,7 +5714,7 @@ optional boolean forceNewConnection (default false), run these steps: `Content-Encoding` and response's header list.
  • Increase response's body info's - encoded body size by bytes's + encoded size by bytes's length.

  • @@ -5726,7 +5725,7 @@ optional boolean forceNewConnection (default false), run these steps: unreliable to the extent that it was reliable to begin with.
  • Increase response's body info's - decoded body size by + decoded size by bytes's length.

  • If bytes is failure, then terminate