Re: [whatwg/webidl] Allow DOMException subclasses to be used as exceptions (PR #1211)

I've updated this to reflect all of the discussion so far. It is blocked by https://github.com/plinss/widlparser/issues/79, but otherwise, I think, ready for merge.

Some things which we could change in followups:

- I have not suggested that DOMException derived classes register themselves with Web IDL, via the error names table or otherwise. I think this is reasonable, similar to how we don't ask that interfaces in general register themselves with Web IDL.

- I have encoded what I believe to be the current understanding of the DOMException names table, which is that specs must not use other names and should request additions to the table if they want to go beyond it. However, #1219 investigates changing that.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1211#issuecomment-1284781873
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1211/c1284781873@github.com>

Received on Thursday, 20 October 2022 01:31:55 UTC