Re: [whatwg/fetch] WIP: Cancelation (#523)

jakearchibald commented on this pull request.



> @@ -3569,6 +3625,9 @@ Range Requests</cite>. [[HTTP-RANGE]] However, this is not widely supported by b
    <li class=XXX><p>Needs testing: multiple `<code>Proxy-Authenticate</code>` headers, missing,
    parsing issues.
 
+   <li><p>If fetch is <a for=fetch>terminated</a>, providing a <var>reason</var>, return a
+   <a>network error</a> with <a for=response>termination reason</a> set to <var>reason</var>.

I'll add this for 401 too – I just missed it.

I don't think we need enclosing steps here, it's just an extra check to avoid showing UI if the fetch has already terminated.

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

Received on Thursday, 3 August 2017 11:21:41 UTC