Re: [whatwg/fetch] Add abort reason to abort fetch (PR #1343)

@saschanaz commented on this pull request.



> + <li><p>If <var>error</var> is not given, let <var>error</var> be an
+ "<code><a exception>AbortError</a></code>" {{DOMException}}.

But can it ever be undefined? It seems both `AbortController#abort` and static `AbortSignal.abort` sets the reason if undefined.

-- 
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/1343#discussion_r746728681

Received on Wednesday, 10 November 2021 15:53:52 UTC