DescriptionUse [[DefineOwnProperty]] to put 'constructor' field on the protoype object.
That better follows ECMA-262 (see 13.2 Creating Function Objects) and allows
to ignore nasty JS accessors for 'constructor' property.
BUG=v8:1172
TEST=test/mjsunit/regress/regress-1172.js
Committed: http://code.google.com/p/v8/source/detail?r=6849
Patch Set 1 #
Total comments: 2
Messages
Total messages: 3 (0 generated)
|