Re: [webidl] DOMException function definition makes no sense (#55)

Actually, in terms of implementations, how does the wiring currently work for inheriting from Error? E.g.:

- @travisleithead's definition seems like it doesn't inherit at all.
- Do Chrome and Firefox do prototype-side inheritance?
- Do they do class-side inheritance?
- Do they do super-calls for object allocation, so that [[ErrorData]] is set? (Concrete test: `Object.prototype.toString.call(aDomException)` should give `[object Error]`, like it does for `TypeError` etc.)

---
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/55#issuecomment-119692133

Received on Wednesday, 8 July 2015 18:37:38 UTC