Re: [whatwg/dom] Add AbortSignal.timeout(ms) (#951)

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