[[Invoke]] and implicit method calls

Till Schneidereit till at tillschneidereit.net
Wed Sep 25 06:58:03 PDT 2013


On Wed, Sep 25, 2013 at 3:31 PM, Tom Van Cutsem <tomvc.be at gmail.com> wrote:

> 2013/9/25 Till Schneidereit <till at tillschneidereit.net>
>
>> Note that .invoke is not in that part, though: once proxies ship (in more
>> than one browser) with all method calls invoking the .get handler, that
>> ship has sailed. Suddenly not invoking the .get handler, anymore, will
>> break applications.
>>
>
> Unless we add the trap with a default logic of calling the "get" trap when
> no "invoke" trap is present on the handler. That would be deviating from
> the current default behavior, but it would be possible.
>

Ok, that'd work. It seems kind of hacky to me, but I can't immediately
think of any real arguments against it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130925/4892be71/attachment-0001.html>


More information about the es-discuss mailing list