Re: [whatwg/fetch] Call `finalize and report timing` automatically on end-of-body (PR #1413)

@noamr commented on this pull request.



> +   <li>
+    <p>Let <var>processResponseEndOfBodyTask</var> be the following steps:
+
+    <ol>
+     <li><p>Set <var>fetchParams</var>'s <a for="fetch params">request</a>'s
+     <a for=request>done flag</a>.
+
+     <li><p>If <var>fetchParams</var>'s <a for="fetch params">process response end-of-body</a> is
+     non-null, then run <var>fetchParams</var>'s
+     <a for="fetch params">process response end-of-body</a> given <var>response</var>.
+
+     <li><p>If <var>fetchParams</var>'s <a for="fetch params">request</a>'s
+     <a for="request">initiator type</a> is non-null and <var>fetchParams</var>'s
+     <a for="fetch params">request</a>'s <a for=request>client</a> is non-null, then run
+     <var>fetchParams</var>'s <a for="fetch params">controller</a>'s
+     <a for="fetch controller">report timing steps</a> given <var>fetchParams</var>'s

Right, removing extra arg, good catch

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

Message ID: <whatwg/fetch/pull/1413/review/1007104373@github.com>

Received on Wednesday, 15 June 2022 08:43:54 UTC