Re: [heycam/webidl] Proposal: allow subclasses of constructible built-ins to be constructed (#125)

In particular, `CustomEvent` and `Event` need to be able to allocate things of different sizes, because `CustomEvent` has additional internal slots.  If you have a model where internal slots can be arbitrarily added to objects, you can delegate and then add post-hoc, I guess, but then that needs to be very explicitly spelled out in the actual constructor algorithms: they need to add those internal slots to the objects they create.

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

Received on Friday, 20 May 2016 22:07:28 UTC