Comment #2 on issue 1565 by [email protected]: Implement Harmony
WeakMaps
http://code.google.com/p/v8/issues/detail?id=1565
Another remaining issue is that Harmony proxies cannot be used as keys in a
weak map. The reason is that JSProxy is not a JSObject and hence cannot be
used to retrieve identity hashes which are needed to manage weak maps. The
following triggers it:
$ ./d8_g --harmony-weakmaps --harmony-proxies
-e "WeakMap().get(Proxy.create({}));"
unnamed:1: illegal access
WeakMap().get(Proxy.create({}));
^
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev