Re: [whatwg/webidl] add [[ErrorData]] slot to DOMExceptions (PR #1421)

Seems fine directionally. In general we want `DOMException` to behave as if its constructor had a `super()` call and I think this aligns with that.

Editorially I wonder if putting it as a step in https://webidl.spec.whatwg.org/#internally-create-a-new-object-implementing-the-interface would be better. (E.g. modifying step 4.)

I also don't understand the relationship to #732 (serializability).

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

Message ID: <whatwg/webidl/pull/1421/c2313738853@github.com>

Received on Tuesday, 27 August 2024 23:16:41 UTC