Change strict mode poison pill to be the samme type error function (fixes issue 1387).
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 24 May 2011 11:07:06 +0000 (11:07 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 24 May 2011 11:07:06 +0000 (11:07 +0000)
commitab67432ed0cae3ab6a8db56470fa527081b9815e
tree1cd1610aa4b34d43863fd38555f5b6e356db9955
parent59a7ce37a6c7fe8426ecedaf556c223fe9c109e9
Change strict mode poison pill to be the samme type error function (fixes issue 1387).

We are now following the spec, and with regards to the error message we are following firefox (webkit still has different type errors in their nightly)
Review URL: http://codereview.chromium.org/7067017

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8026 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/bootstrapper.cc
src/builtins.cc
src/builtins.h
src/messages.js
test/mjsunit/regress/regress-1387.js [new file with mode: 0644]