Re: [whatwg/webidl] Proposal: DOMException.ignoreAborts(promise) (#933)

@MattiasBuelens thanks, though it seems such an approach would still place special value on aborting. Also, `e === this.reason` would only work if there was no cloning involved.

Perhaps @yuki3's https://github.com/whatwg/webidl/issues/933#issuecomment-718896274 is more applicable now, especially if we also introduce `AbortSignal.timeout()` (which would result in a "`TimeoutError`" `DOMException`). In essence it seems you want the ability to filter out certain exceptions. The tricky aspect to something like that would be bridging JS exceptions and `DOMException` somehow. Or perhaps each can have its own API and they can work together through chaining.

-- 
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/webidl/issues/933#issuecomment-976473556

Received on Tuesday, 23 November 2021 12:41:54 UTC