Re: [whatwg/webidl] Defining AbstractModuleSource intrinsic inheritance (Issue #1322)

Would it be possible to directly permit intrinsic inheritance for interfaces of the form:

```
interface DOMException : %Error% { ... }

interface Module : %AbstractModuleSource% { ... }
```

where this restricts intrinsic inheritance to be a specific case only - ie these must be well-defined intrinsic objects being subclassed, hopefully avoiding some kind of arbitrary object subclassing.

and then this intrinsic inheritance could itself be defined to include both the constructor and prototype inheritance chains, effectively in line with JS class inheritance.

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

Message ID: <whatwg/webidl/issues/1322/1595468079@github.com>

Received on Friday, 16 June 2023 23:24:38 UTC