- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 03 Mar 2021 07:59:42 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 3 March 2021 15:59:54 UTC
It seems suboptimal to me. I'm fairly convinced that web developers want to treat timeouts differently from aborts (i.e., retry the former, ignore the latter). And we already have a perfectly-good distinction between `"TimeoutError"` `DOMException`s and `"AbortError"` `DOMException`s, which XHR already uses. So adding a `reason` property to `DOMException` just so that we can reuse `"AbortError"` `DOMException` would be confusing, IMO. -- 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/issues/951#issuecomment-789821012
Received on Wednesday, 3 March 2021 15:59:54 UTC