Re: [whatwg/webidl] Should DOMException.[[Prototype]] be %Error%? (Issue #1107)

Summary of work to be done here:

- Actually update the spec.
  - https://webidl.spec.whatwg.org/#create-an-interface-object needs a special case where if _I_ is `DOMException`, then _constructorProto_ should be set to realm.[[Intrinsics]].[[%Error%]].
  - Add a "statement of fact" (not a normative requirement) to https://webidl.spec.whatwg.org/#js-DOMException-specialness referring to the above normative requirement on the interface object's [[Prototype]]. Similar to how we currently discuss the interface prototype object's [[Prototype]].
- Update this test https://github.com/web-platform-tests/wpt/blob/c267e5afc956cf18849a30aa4faf0eb3d3031a5d/webidl/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.js#L11-L13
- File various bugs (the pull request template contains guidance on this)

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

Message ID: <whatwg/webidl/issues/1107/2199022627@github.com>

Received on Monday, 1 July 2024 02:34:02 UTC