IsConstructor

Boris Zbarsky bzbarsky at MIT.EDU
Thu Jun 12 12:25:14 PDT 2014


On 6/12/14, 3:21 PM, Allen Wirfs-Brock wrote:
> simply not knowing whether all of the DOM [[Construct]] semantics could be successfully replaced replaced using only @@create methods and constructor bodies.

WebIDL currently doesn't use a custom [[Construct]] at all.  It uses a 
custom [[Call]] on DOM constructors.

Chances are, we want to move from that to using @@create or whatever is 
needed to allow subclassing.  In either case, I don't think we'll be 
doing custom [[Construct]] in the DOM.

-Boris


More information about the es-discuss mailing list