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

@annevk commented on this pull request.



> @@ -1790,6 +1799,9 @@ interface AbortSignal : EventTarget {
 <p>An {{AbortSignal}} object has an associated <dfn export for=AbortSignal>aborted flag</dfn>. It is
 unset unless specified otherwise.
 
+<p>An {{AbortSignal}} object has an associated <dfn export for=AbortSignal>abort reason</dfn>, which is a
+JavaScript value.

"It is undefined unless specified otherwise." would match precedent. When reviewing I forgot that you can observe this value when the signal hasn't been aborted yet.

-- 
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#discussion_r733505360

Received on Thursday, 21 October 2021 09:44:47 UTC