Follow jsc on not throwing when trying to add a property to a non-extensible object.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 28 Mar 2011 06:11:08 +0000 (06:11 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 28 Mar 2011 06:11:08 +0000 (06:11 +0000)
commitfb6d7e17df99fd274cdb31c23dd326bfcb67a242
tree8bc440f32330235587ff09dec6091bb33a984b9c
parent67f20c4d95bf606e2c8a370282c2fc114adcfe6f
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.
Review URL: http://codereview.chromium.org/6712059

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7379 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/objects.cc
src/objects.h
test/cctest/test-api.cc
test/mjsunit/object-freeze.js
test/mjsunit/object-prevent-extensions.js
test/mjsunit/object-seal.js
test/mjsunit/regress/regress-create-exception.js
test/mjsunit/strict-mode.js