diff --git a/fetch.bs b/fetch.bs index 5b3033107..53d6a466d 100644 --- a/fetch.bs +++ b/fetch.bs @@ -1162,6 +1162,12 @@ Unless stated otherwise, it is "basic".

A request has an associated done flag. Unless stated otherwise, it is unset. +

A request has an associated +reload-navigation flag. +Unless stated otherwise, it is unset. + +

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

A request's url list, current url, @@ -3194,9 +3200,8 @@ optional CORS flag and CORS-preflight flag, run these steps:

HTTP-redirect fetch

-

This algorithm will be used by HTML's "navigate" algorithm -in addition to HTTP fetch above. -[[!HTML]] +

This algorithm is used by HTML's navigate algorithm in addition to +HTTP fetch above. [[!HTML]]

To perform an HTTP-redirect fetch using request and response, with an optional CORS flag, run these steps: @@ -3284,8 +3289,8 @@ in addition to HTTP fetch above.

recursive flag set if request's redirect mode is not "manual". -

It can only be "manual" when invoked directly from - HTML's "navigate" algorithm. +

It can only be "manual" when invoked directly from HTML's navigate + algorithm.

This has to invoke main fetch to @@ -4882,6 +4887,7 @@ interface Request { readonly attribute RequestRedirect redirect; readonly attribute DOMString integrity; readonly attribute boolean keepalive; + readonly attribute boolean isReloadNavigation; readonly attribute AbortSignal signal; [NewObject] Request clone(); @@ -5039,6 +5045,9 @@ initially a new {{AbortSignal}} object.

Returns a boolean indicating whether or not request can outlive the global in which it was created. +
request . isReloadNavigation +
Returns a boolean indicating whether or not request is for a reload navigation. +
request . signal
Returns the signal associated with request, which is an {{AbortSignal}} object indicating whether or not request has been aborted, and its abort @@ -5141,8 +5150,10 @@ constructor must run these steps: redirect mode, integrity metadata is request's - integrity metadata, and - keepalive flag is request's keepalive flag. + integrity metadata, + keepalive flag is request's keepalive flag, and + reload-navigation flag is request's + reload-navigation flag.
  • @@ -5153,6 +5164,8 @@ constructor must run these steps: "navigate", then set it to "same-origin". +
  • Unset request's reload-navigation flag. +

  • Set request's referrer to "client" @@ -5432,6 +5445,10 @@ must return request's must return true if request's keepalive flag is set, and false otherwise. +

    The isReloadNavigation attribute's getter, when +invoked, must return true if the context object's request's +reload-navigation flag is set, and false otherwise. +

    The signal attribute's getter must return the associated signal.