Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Issue 9568005: Fix Error.prototype.toString to throw TypeError. (Closed)

Created:
8 years, 9 months ago by Michael Starzinger
Modified:
8 years, 9 months ago
Reviewers:
rossberg
CC:
v8-dev
Visibility:
Public.

Description

Fix Error.prototype.toString to throw TypeError. R=rossberg@chromium.org BUG=v8:1980 TEST=mjsunit/function-call,mjsunit/regress/regress-1980 Committed: https://code.google.com/p/v8/source/detail?r=10922

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed comments by Andreas Rossberg. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -21 lines) Patch
M src/messages.js View 1 2 chunks +3 lines, -4 lines 0 comments Download
M src/v8natives.js View 12 chunks +13 lines, -14 lines 0 comments Download
M test/mjsunit/function-call.js View 2 chunks +3 lines, -3 lines 0 comments Download
A test/mjsunit/regress/regress-1980.js View 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Michael Starzinger
8 years, 9 months ago (2012-03-01 10:12:24 UTC) #1
rossberg
https://chromiumcodereview.appspot.com/9568005/diff/1/src/messages.js File src/messages.js (right): https://chromiumcodereview.appspot.com/9568005/diff/1/src/messages.js#newcode1194 src/messages.js:1194: throw MakeTypeError("called_on_non_object", ["Error.toString"]); Shouldn't that be Error.prototype.toString?
8 years, 9 months ago (2012-03-05 10:04:58 UTC) #2
Michael Starzinger
Added new patch set. https://chromiumcodereview.appspot.com/9568005/diff/1/src/messages.js File src/messages.js (right): https://chromiumcodereview.appspot.com/9568005/diff/1/src/messages.js#newcode1194 src/messages.js:1194: throw MakeTypeError("called_on_non_object", ["Error.toString"]); On 2012/03/05 ...
8 years, 9 months ago (2012-03-05 12:55:59 UTC) #3
rossberg
8 years, 9 months ago (2012-03-05 13:33:30 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698