Result of Error.prototype.toString not ES5 conformant
authorbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2011 20:34:59 +0000 (20:34 +0000)
committerbarraclough@apple.com <barraclough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 15 Nov 2011 20:34:59 +0000 (20:34 +0000)
commit1e5ea9d86e1e22d217ea11a3c7f90c11746c255f
tree520cb0402132c0f76ebc508e77cd6fa9dbbcb7d9
parent24185a543d43abf9dc5256dbc784c5261aeecc3b
Result of Error.prototype.toString not ES5 conformant
https://bugs.webkit.org/show_bug.cgi?id=70889

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

* runtime/ErrorPrototype.cpp:
(JSC::errorProtoFuncToString):

LayoutTests:

* fast/js/native-error-prototype-expected.txt:
* fast/js/script-tests/native-error-prototype.js:
* fast/js/script-tests/toString-recursion.js:
* fast/js/toString-recursion-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@100310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/js/native-error-prototype-expected.txt
LayoutTests/fast/js/script-tests/native-error-prototype.js
LayoutTests/fast/js/script-tests/toString-recursion.js
LayoutTests/fast/js/toString-recursion-expected.txt
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/ErrorPrototype.cpp