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

@yutakahirano approved this pull request.

Still LGTM.

> +   <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

We need to give only one argument ("global") to `report timing steps`, right?

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

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

Received on Wednesday, 15 June 2022 08:41:52 UTC