From: es-discuss <[email protected]> on behalf of Boris Zbarsky <[email protected]>
> While true, I'd like to see a concrete proposal about how we actually proceed > with making the web platform subclassable in the @@create world. Whereas in > the @@new world subclassibility by default is at least somewhat viable... Hmm, I thought we'd already established how this would work. It's pretty seamless with the @@create approach. See: https://gist.github.com/domenic/3ce8f57a33a25473f508 The "domPointer" stuff is kind of handwavey, but it's still pretty clear how it would work. --- Following up on Arv's point about the DOM's use of @@create, my understanding is that having the two-phase initialization is quite important for the DOM, e.g. elements created by the parser will be allocated but never initialized (their constructors will never run). You can see this in action today with e.g. HTMLImageElement. _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

