On Wednesday, December 17, 2014 12:41:56 AM UTC-8, Dmitry Lomov wrote: > > > > On Tue, Dec 16, 2014 at 11:19 PM, Boris Zbarsky <[email protected] > <javascript:>> wrote: >> >> On 12/16/14, 1:56 AM, Dmitry Lomov wrote: >> ... >> I _believe_ the idea is that this allows some subclassing of builtins and >> that once we (TC39 + WebIDL) have sorted out how to do whatever it is we're >> doing in ES7 we can loosen the argument order restriction without breaking >> anything that's already using the current setup. > > >> I know you think the argument order restriction is unacceptable, but it's >> not being proposed to stay long-term. >> > > Nothing is more permanent than temporary measures, as the saying goes. > [[CreateAction]] with arguments is clearly a wrong design, and until we > see a clear path for removing the argument order restriction, it is > irresponsible to ship a broken thing with no recourse. > > We really need to take this discussion to a different venue. But to wrap things up here:
The specific built-ins defined in ES6 are intended to be subclassable. That's the high order bit. The exact mechanisms used to specified that is less important and need not be applyied to future built-ins or implementation provided built-ins such as the DOM. [[CreateActiuonb]] was never intended as anything more than a temporary fix that TC39 agreed to at our November meeting so ES6 could move forward to completion. The specification of the ES6 built-in does not depend upon the passing of constructor arguments to [[CreateAction]]. Hence, it is irreverent from the perspective of of the requierment that ES6 built-ins are subclassable. >From that perspective I have no problem with a change to the ES6 draft spec. such that ordinary [[Construct]] (as applied to the ES6 built-ins) does not pass any arguments to the [[CreateAction]]. Would that change make any difference to you position. Allen -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
