2012/6/12 Brendan Eich <bren...@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
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to