DescriptionFix construction of simple objects with setters on prototype
Simple objects which are constructed without calling the actual constructor function did not take setters defined on prototype chain of the new object into account.
Constructing objects this way is now not done if there are setters involved on the prototype chain of the new object.
This only fixes the case where the setter is found when the first object from a constructor is created. If the prototype chain is changed new objects will on take any change to setters into account.
TEST=test/mjsunit/setter-on-constructor-prototype.js
Committed: http://code.google.com/p/v8/source/detail?r=3879
Patch Set 1 #
Total comments: 2
Patch Set 2 : '' #
Messages
Total messages: 3 (0 generated)
|