"compatible descriptors" and how they are checked
Tom Van Cutsem
tomvc.be at gmail.com
Wed Sep 19 06:20:20 PDT 2012
2012/9/19 David Bruant <bruant.d at gmail.com>
> Once again, just to state how things are, all algorithms in the
> harmony:proxies_spec page will have the largest part of their internal
> revealed if either the target or the handler are themselves proxies. It may
> necessitate a careful review of each algorithm before adding them to the
> spec.
Absolutely. This reminds me that Jason spotted a couple of places where the
current spec algorithms actually redundantly query the [[Target]]. For
instance: at one point an algorithm may check whether a property exists on
the target by calling [[HasOwnProperty]], and later it checks whether that
property is non-configurable by calling [[GetOwnProperty]]. A single
[[GetOwnProperty]] call would suffice to perform both checks. I intend to
go over the algorithms and remove those redundancies shortly.
Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120919/c2e90b94/attachment.html>
More information about the es-discuss
mailing list