Re: [whatwg/xhr] Editorial: adopt Fetch's new approach to callbacks (#311)

@domenic commented on this pull request.



> @@ -851,7 +836,8 @@ return <a>this</a>'s <a>cross-origin credentials</a>.
     </ol>
     <!-- upload complete flag can never be set here I hope -->
 
-    <p>To <a>process response</a> for <var>response</var>, run these steps:
+   <li>
+    <p>Let <var>processResponse</var>, given a <var>response</var>, be these steps:

It's not a matter of parallel or main thread. It's a matter of which algorithm they terminate. "Return" as we use it today terminates the main algorithm...

Maybe it's unambiguous to allow it to terminate the innermost algorithm, but it seems a bit tricky.

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

Received on Thursday, 11 February 2021 16:27:14 UTC