Re: [whatwg/dom] Add abort reason to AbortSignal (PR #1027)

With setting nits aside, I have a question - when no `reason` is given to `AbortController.abort()`, should `AbortController.reason` be `undefined`, or an `AbortError`? I think `undefined` is simpler and I prefer the option if there is no reason to create a new `AbortError`.

-- 
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/dom/pull/1027#issuecomment-945471931

Received on Monday, 18 October 2021 08:06:00 UTC