diff --git a/fetch.bs b/fetch.bs index 727982cb8..1ce95c6d5 100644 --- a/fetch.bs +++ b/fetch.bs @@ -352,6 +352,9 @@ following items: [[RESOURCE-TIMING]] [[NAVIGATION-TIMING]]
Let serviceWorkerStartTime be the coarsened shared current time given fetchParams's cross-origin isolated capability. -
Set response to the result of invoking handle fetch for +
Let fetchResponse be the result of invoking handle fetch for requestForServiceWorker, with fetchParams's controller and fetchParams's cross-origin isolated capability. [[!HTML]] [[!SW]]
If response is non-null, then: -
Set fetchParams's timing info's - final service worker start time to - serviceWorkerStartTime. +
If fetchResponse is non-null, then: +
IffetchResponse is response, then: +
Set response to fetchResponse. +
Set fetchParams's timing info's + final service worker start time to + serviceWorkerStartTime. +
Set fetchParams's timing info's + service worker timing info to + response's service worker timing info. -
Set internalResponse to response, if response is not a - filtered response; otherwise to response's - internal response. +
Set internalResponse to response, if response is not a + filtered response; otherwise to response's + internal response. -
If one of the following is true +
If one of the following is true -
response's type is "error
"
+
response's type is "error
"
-
request's mode is "same-origin
" and
- response's type is "cors
"
+
request's mode is "same-origin
" and
+ response's type is "cors
"
-
request's mode is not "no-cors
" and
- response's type is "opaque
"
+
request's mode is not "no-cors
" and
+ response's type is "opaque
"
-
manual
" and
- response's type is "opaqueredirect
"
+ manual
" and
+ response's type is "opaqueredirect
"
- follow
" and
- response's URL list has more than one item.
- follow
" and
+ response's URL list has more than one item.
+ then return a network error. +
then return a network error. +
IffetchResponse is service worker timing info, then: +
Set fetchParams's timing info's + service worker timing info to + fetchResponse. +
If response is null, then: @@ -9220,6 +9236,7 @@ Julian Reschke, Jussi Kalliokoski, Jxck, Kagami Sascha Rosylight, +Keita Suzuki, Keith Yeung, Kenji Baheux, Lachlan Hunt,