On 9/26/13 5:16 AM, Tom Van Cutsem wrote:
I believe the crucial part of why this works is because the built-ins can recognize trusted, cross-realm proxies, from arbitrary other proxies.
Yes, agreed.
Answering MarkM's question of whether we can self-host such behavior, I believe we can: ```js var trustedMembraneProxies = new WeakMap(); // maps trusted membrane proxies to their target, allowing code with access to this WeakMap to unwrap them
Ah, and another weakmap for the per-property security checks. Yes, I guess that would work.
-Boris _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

