DescriptionFix issue with prototype of WeakMap constructor.
The WeakMap constructor didn't have a unique prototype, so it shared one with
Object. All WeakMap functions (including "get" and "set") were installed on
that prototype.
R=rossberg@chromium.org
BUG=v8:1617
TEST=mjsunit/harmony/weakmaps
Committed: http://code.google.com/p/v8/source/detail?r=8941
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added more regression tests. #
Messages
Total messages: 4 (0 generated)
|