Re: [whatwg/fetch] Update HTTPFetch algorithm to support new SW Handle Fetch returns (PR #1832)

@yoshisatoyanagisawa commented on this pull request.



>  
-    <ol>
-     <li><p>Set <var>fetchParams</var>'s <a for="fetch params">timing info</a>'s
-     <a for="fetch timing info">final service worker start time</a> to
-     <var>serviceWorkerStartTime</var>.
+    <p>If <var>fetchResponse</var> is non-null, then:
+     <ol>
+     <li><p>If<var>fetchResponse</var> is <a for=/>response</a>, then:
+      <ol>
+       <li><p>Set <var>response</var> to <var>fetchResponse</var>.
+       <li><p>Set <var>fetchParams</var>'s <a for="fetch params">timing info</a>'s
+       <a for="fetch timing info">final service worker start time</a> to
+       <var>serviceWorkerStartTime</var>.
+       <li><p>Set <var>fetchParams</var>'s <a for="fetch params">timing info</a>'s

Will it be used for the redirect?
I revisited this and see how fetchParams are used, and it looks used `If internalResponse’s [status](https://fetch.spec.whatwg.org/#concept-response-status) is a [redirect status](https://fetch.spec.whatwg.org/#redirect-status):`.

If so, lgtm.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1832#discussion_r2550064550
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1832/review/3493154062@github.com>

Received on Friday, 21 November 2025 15:06:37 UTC