Reviewers: Martin Maly,
Message:
Martin, please especially notice my change to test/mjsunit/strict-mode.js
I think this is right since the ThrowTypeError object is NOT in strict
mode, and
therefore we should not throw in the extensible case.
Description:
Follow jsc on not throwing when trying to add a property to a non-extensible
object.
This change makes us compatible with Safari on not throwing when trying to
add a
property to a non-extensible object.
Please review this at http://codereview.chromium.org/6712059/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/objects.h
M src/objects.cc
M test/cctest/test-api.cc
M test/mjsunit/object-freeze.js
M test/mjsunit/object-prevent-extensions.js
M test/mjsunit/object-seal.js
M test/mjsunit/regress/regress-create-exception.js
M test/mjsunit/strict-mode.js
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev