Chromium Code Reviews| Index: src/messages.js |
| =================================================================== |
| --- src/messages.js (revision 6327) |
| +++ src/messages.js (working copy) |
| @@ -1014,6 +1014,8 @@ |
| var message = this.hasOwnProperty("message") ? (": " + this.message) : ""; |
| return this.name + message; |
| } |
| + |
| +%FunctionSetName(errorToString, 'toString'); |
| %SetProperty($Error.prototype, 'toString', errorToString, DONT_ENUM); |