- From: Darien Maillet Valentine <notifications@github.com>
- Date: Fri, 16 Jun 2023 10:44:45 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/webidl/issues/1322/1595032817@github.com>
Declarative comment / prose text “overrides” both have an unclear relationship to the imperative realm-initializing algorithms in Web IDL (_when_ do the “overrides” happen?) and make it impossible for tooling that consumes Web IDL fragments to know about exceptional cases without hard-coding knowledge of the special cases. Since I work on that kind of tooling, I’m biased to prefer an extended attribute solution. In the past I think some EAs that aren’t _quite_ “legacy” were given the `Legacy` prefix to discourage new “unbridled” usage? If a non-IDL solution is used, then it would suggest to me that the existing imperative step for taking care of DOMException...  ...would want to be removed? Or is the idea that the “create an interface object” algorithm would introduce a new step like this for `WebAssembly.Module` even though the interface is defined elsewhere? BTW I think there is another example of this that’s also in WebAssembly? The NativeError-template Error classes. I’m unsure if they would benefit, but they do use use %Error%/%Error.prototype%. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1322#issuecomment-1595032817 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1322/1595032817@github.com>
Received on Friday, 16 June 2023 17:44:50 UTC