- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 23 Sep 2022 01:43:52 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 23 September 2022 08:44:05 UTC
`DOMException` is not alone. There are other exceptions that build on it, e.g., `RTCError`. Which I suppose raises the question as to what should be done about their constructors. And I think saying that making `cause` a getter introduces an inconsistency is too broad, as it would also introduce an internal inconsistency for it to not do so. Also, if we manage to get rid of optional (#905) the natural thing here would be that `cause` is at least `undefined`. I'm not even sure what the current binding layer makes of this with dictionaries. It might well already be `undefined` when missing (or more likely missing when `undefined`). -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/pull/1179#issuecomment-1255945969 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/pull/1179/c1255945969@github.com>
Received on Friday, 23 September 2022 08:44:05 UTC