Do not allow invocation of ArrayBuffer and array buffer views' constructors as functions.
authordslomov@chromium.org <dslomov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 27 Jun 2013 07:42:08 +0000 (07:42 +0000)
committerdslomov@chromium.org <dslomov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 27 Jun 2013 07:42:08 +0000 (07:42 +0000)
commitef189ecd82caf3ba41bf8b30d8aa6ae37c5f596e
tree34491235b3254084c606d708107a87b0edd19646
parent90d0b6cd97feb59feffbec1bfba1c7dbfa444b73
Do not allow invocation of ArrayBuffer and array buffer views' constructors as functions.

ES6 bug 695 (https://bugs.ecmascript.org/show_bug.cgi?id=695).
This never worked in WebKit, so no compatibility issues.

R=rossberg@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15346 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arraybuffer.js
src/messages.js
src/typedarray.js
test/mjsunit/external-array-no-sse2.js
test/mjsunit/external-array.js
test/mjsunit/harmony/typedarrays.js
test/mjsunit/regress/regress-1383.js