Object.observe: use JSWeakMaps instead of raw ObjectHashTables in observation state
object-observe.js uses weak maps to add "hidden" properties to objects. Previously, the hash tables it was using weren't actually weak. This patch changes the existing runtime functions to create instances of JSWeakMap instead of exposing ObjectHashTable directly. Review URL: https://codereview.chromium.org/12092079 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13591 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment