Do not allow calls to SetProtoType on functions that should not have a prototype...
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Feb 2011 09:37:56 +0000 (09:37 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 14 Feb 2011 09:37:56 +0000 (09:37 +0000)
commit6d9fde492c9e1ad23058c81dfcb13fc380358ca7
treea94e5e4272c66e11dd11f61d24360262f2af96f4
parentab3cd776678b09008f42f1c5fb14749301e44346
Do not allow calls to SetProtoType on functions that should not have a prototype (fixes issue 1151)

Review URL: http://codereview.chromium.org/6518003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6765 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/accessors.cc
test/mjsunit/regress/regress-1151.js [new file with mode: 0644]