Error stack
Tom Van Cutsem
tomvc.be at gmail.com
Mon Jun 11 20:53:08 PDT 2012
2012/6/12 Brendan Eich <brendan at mozilla.org>
> I see -- thanks. We should try to detail the privileged APIs and their
> module(s) a bit more. I used "@reflect" above but I didn't mean to equate
> it to Tom's Reflect.* used in conjunction with direct proxies. And not all
> reflection facilities are privileged -- more the reverse for the direct
> proxy stuff, right?
>
That's right. The reflection API specced at <
http://wiki.ecmascript.org/doku.php?id=harmony:reflect_api> was meant to
encapsulate both proxies and all the utility methods that a proxy handler
needs to uniformly "forward" trapped ops to a target object. AFAICT, none
of these operations are privileged: it's easy enough to define them in
terms of more primitive, immediately available JS built-ins/operators.
Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120612/0b61e908/attachment.html>
More information about the es-discuss
mailing list