Re: Harmony helpwanted: Proxy, Map discrepancy between V8 and SpiderMonkey

2012-03-22 Thread Andreas Rossberg
On 21 March 2012 21:00, Alex Vincent ajvinc...@gmail.com wrote: https://www.alexvincent.us/temp/ProxyCtor/V8-SpiderMonkey-test.html I reduced the testcase quite severely. It's a combination between Proxy and WeakMap. I store the proxy as a key for the WeakMap, and then expect to get back

Re: Harmony helpwanted: Proxy, Map discrepancy between V8 and SpiderMonkey

2012-03-21 Thread Alex Vincent
https://www.alexvincent.us/temp/ProxyCtor/V8-SpiderMonkey-test.html I reduced the testcase quite severely. It's a combination between Proxy and WeakMap. I store the proxy as a key for the WeakMap, and then expect to get back that proxy through Object.getPrototypeOf. On Tue, Mar 20, 2012 at

Re: Harmony helpwanted: Proxy, Map discrepancy between V8 and SpiderMonkey

2012-03-20 Thread Brandon Benvie
I think this may be related a bug I was seeing where the internal Object.getOwnPropertyNames function was the source of the error, claiming it had returned duplicate properties. It was for something like createFunction(name, onConstruct, onCall) that would make composite functions. I think it had

Re: Harmony helpwanted: Proxy, Map discrepancy between V8 and SpiderMonkey

2012-03-20 Thread Andreas Rossberg
On 20 March 2012 08:18, Alex Vincent ajvinc...@gmail.com wrote: Hi, everyone. I've been tinkering around with Harmony's Proxy and WeakMap implementations, and I've run into a problem. A Jasmine test which works fine in Mozilla Firefox Aurora builds throws an exception in Google Chrome Dev