On Thursday, June 20, 2013 9:53:01 AM UTC-7, Bill McCloskey wrote:
> It looks like ProxyClass is only used for the "Proxy" object that we add to 
> the global (i.e., the thing that allows you to do Proxy.create). That object 
> isn't actually a proxy at all. It probably would make sense to rename 
> ProxyClass to something less confusing.

`Proxy` should be a function, and there is a bug (with patch) [1] that fixes 
this. If anything, Proxy.prototype should be the only object that actually has 
ProxyClass, since Proxy instances simply take on the class of their target. 
It's not clear if Proxy.prototype will actually exist in the ES6 spec, though, 
since it has no actual use due the nature of proxies (target mimicking).

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=788172
_______________________________________________
dev-tech-js-engine-internals mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-internals

Reply via email to