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

From a point of view of Blink-V8 bindings, IIUC, you're going to implement a new (static?) IDL operation (which takes a promise and returns a promise) and no new mechanism seems necessary.  Then, no objection of course.  (The prototype chain of DOMException is a bit special, but I don't think it matters in this case.)

I'm sorry that I'm not familiar with this sort of code and honestly I don't understand its usefulness.  Probably it's very common, I guess?  Only my question is that AbortError is so special?  Do we want to ignore other kinds of errors?  Like `ignoreErrors(promise, [error_name1, error_name2, ...])`?  I have no strong feeling.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/933#issuecomment-718896274

Received on Thursday, 29 October 2020 17:12:10 UTC