Throw as per spec when modifying an Array with builtin methods
authoradamk <adamk@chromium.org>
Fri, 14 Nov 2014 19:42:03 +0000 (11:42 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 14 Nov 2014 19:42:15 +0000 (19:42 +0000)
commit4a4158f3632ba2b18f6525a132891d480ea40bad
tree266a1d0397b0ae59ecf2036b60459906b9866997
parentb17eaaa5755e625493c5fe537f42b58838923c52
Throw as per spec when modifying an Array with builtin methods

BUG=v8:3684
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#25364}
src/builtins.cc
src/objects.cc
src/objects.h
test/mjsunit/array-methods-read-only-length.js [new file with mode: 0644]
test/mjsunit/array-push-unshift-read-only-length.js [deleted file]