Array builtins need to be prevented from changing frozen objects, and changing struct...
authormvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 29 Nov 2013 15:22:16 +0000 (15:22 +0000)
committermvstanton@chromium.org <mvstanton@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 29 Nov 2013 15:22:16 +0000 (15:22 +0000)
commit5ba1304d60d8c58746bf91e549608090778239a1
treedf071b0ab9d0829656cfb913b30b08473de33ee4
parent662fcc63638a14faddd2bc89ca5916e592b7a4fc
Array builtins need to be prevented from changing frozen objects, and changing structure on sealed objects.

BUG=299979
LOG=Y
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/80623002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18164 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
12 files changed:
src/arm/stub-cache-arm.cc
src/array.js
src/builtins.cc
src/ia32/stub-cache-ia32.cc
src/messages.js
src/mips/stub-cache-mips.cc
src/objects-printer.cc
src/x64/stub-cache-x64.cc
test/mjsunit/object-freeze.js
test/mjsunit/object-seal.js
test/mjsunit/regress/regress-2711.js
test/mjsunit/regress/regress-299979.js [new file with mode: 0644]