2013/5/24 Tab Atkins Jr. <[email protected]> > The problem is that the Map#set method grabs an *internal property*, > bypassing Proxies, etc., so you can't defend against it.
Just to clarify, grabbing internal properties doesn't bypass proxies, not as currently specced. That's why Map.prototype.set.call(m,k,v) failed in my example upstream (where m is a proxy). The Map#set method will not bypass the proxy to reach into the wrapped object's [[MapData]]. I think what you meant is that accessing an internal property doesn't trigger any proxy traps, so you can't directly intercept it. That is true. Cheers, Tom
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

