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.

I was wondering about that. Since I don't think you can ever observe that and we don't want to set it to an "AbortError" DOMException initially as that requires a global (in theory) I'm not sure this is needed.

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

Received on Thursday, 21 October 2021 09:43:32 UTC