- From: Kevin Gibbons <notifications@github.com>
- Date: Thu, 23 Jan 2025 20:30:06 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 24 January 2025 04:30:10 UTC
Ah, I'd forgotten that's how it works. No, I wouldn't be in favor of conditionally adding properties to base `DOMException` instances. (I mean, it's not a terrible option, but it wouldn't be my preferred route). What about doing (1), but calling it `QuotaExceededError`, and retrofitting the existing specs to use the new subclass instead of the base type? It's hard to imagine this actually breaking anything, since it would still be a subclass of `DOMException` and the `.name` would still match. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1463#issuecomment-2611550011 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1463/2611550011@github.com>
Received on Friday, 24 January 2025 04:30:10 UTC