diff --git a/fetch.bs b/fetch.bs index faefce048..8aa17db8d 100644 --- a/fetch.bs +++ b/fetch.bs @@ -1964,6 +1964,11 @@ Unless stated otherwise, it is false.

This is for exclusive use by HTML's navigate algorithm. [[!HTML]] +

A request has an associated navigation id. +Unless stated otherwise, it is null. + +

This is for exclusive use by HTML's navigate algorithm. [[!HTML]] +

A request has an associated boolean render-blocking. Unless stated otherwise, it is false. @@ -2005,6 +2010,13 @@ otherwise, it is unset. done flag, and timing allow failed flag are used as bookkeeping details by the fetch algorithm. +

A request has an associated +request id which is a unique +string automatically set when the request is created. + +Note: the [=request id=] is used by WebDriver-BiDi. When a request is [=cloned=], +the created request gets a unique [=request id=]. [[!WEBDRIVER-BIDI]] +


A subresource request is a request @@ -4522,8 +4534,13 @@ steps: initiator type is not null, then mark resource timing given timingInfo, request's URL, request's - initiator type, global, cacheState, - bodyInfo, and responseStatus. + initiator type, global, cacheState, and + bodyInfo. + +

  • If response is a network error, run + the WebDriver BiDi fetch error steps with request. Otherwise + run the WebDriver BiDi response completed steps with + request and response.

  • @@ -4776,6 +4793,13 @@ these steps: filtered response, and to response's internal response otherwise. + +
  • Run the [=WebDriver BiDi response started=] steps with + request and response. +

  • If one of the following is true @@ -5171,6 +5195,10 @@ run these steps: append (`Cache-Control`, `max-age=0`) to httpRequest's header list. + +

  • Run the WebDriver BiDi before request sent steps with request. +

  • If httpRequest's cache mode is "no-store" or "reload", then: @@ -5366,7 +5394,12 @@ run these steps: chapter of HTTP Caching [[!HTTP-CACHING]].

  • Otherwise, set response to storedResponse and set - response's cache state to "local". + response's cache state to + "local". + + +

  • Run the WebDriver BiDi response started with + request and response. @@ -5638,6 +5671,11 @@ optional boolean forceNewConnection (default false), run these steps:

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

  • Run the [=WebDriver BiDi response started=] steps with + |request| and |response|. + +

  • Let status be the HTTP response's status code. +

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