Re: [whatwg/fetch] Aborting fetch (#523)

jakearchibald commented on this pull request.



>  
-     <li><p>If <var>stream</var> is <a for=ReadableStream>readable</a>,
-     <a abstract-op>error</a> <var>stream</var> with a
-     <code>TypeError</code>.
+     <li><p>Otherwise, if the bytes transmission for <var>response</var>'s message body is done
+     normally and <var>stream</var> is <a for=ReadableStream>readable</a>, then
+     <a abstract-op>close</a> <var>stream</var> and abort these steps.

Right, this is the root of the confusion. I don't want to break, I want to abort the whole "in parallel" block.

I thought "abort these steps" was scoped to the "in parallel" block, since it says "run these steps", whereas "while true" doesn't reference steps, so I didn't think it was a separate set of steps.

-- 
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/fetch/pull/523#discussion_r136065277

Received on Wednesday, 30 August 2017 13:24:43 UTC