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

Issue 1814823002: ES6: instanceof error messages need updating. (Closed)

Created:
4 years, 9 months ago by mvstanton
Modified:
4 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

ES6: instanceof error messages need updating. We need one message in case the function is not an object, and another if it was an object but not callable. R=mstarzinger@chromium.org, rossberg@chromium.org BUG= Committed: https://crrev.com/84af5e44266542ff2be5551ec0777ed4a2b7af47 Cr-Commit-Position: refs/heads/master@{#34883}

Patch Set 1 #

Patch Set 2 : Added new message tests. #

Total comments: 2

Patch Set 3 : Comment response. #

Patch Set 4 : Fixed messages.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -44 lines) Patch
M src/messages.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/parsing/parser.h View 1 chunk +1 line, -1 line 0 comments Download
M src/parsing/parser.cc View 5 chunks +6 lines, -5 lines 0 comments Download
D test/message/instanceof.js View 1 chunk +0 lines, -28 lines 0 comments Download
D test/message/instanceof.out View 1 chunk +0 lines, -5 lines 0 comments Download
A + test/message/instanceof-noncallable.js View 1 1 chunk +3 lines, -1 line 0 comments Download
A test/message/instanceof-noncallable.out View 1 1 chunk +5 lines, -0 lines 0 comments Download
A + test/message/instanceof-nonobject.js View 1 1 chunk +2 lines, -0 lines 0 comments Download
A test/message/instanceof-nonobject.out View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M test/message/message.status View 1 chunk +0 lines, -1 line 0 comments Download
M test/mjsunit/messages.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
mvstanton
Hi Andreas, hi Michael, ES6 support changed (improved) messages a bit for instanceof. Also, bonus, ...
4 years, 9 months ago (2016-03-17 14:24:20 UTC) #1
Michael Starzinger
LGTM. Thanks!
4 years, 9 months ago (2016-03-17 14:29:26 UTC) #2
rossberg
lgtm https://codereview.chromium.org/1814823002/diff/20001/test/message/instanceof-nonobject.out File test/message/instanceof-nonobject.out (right): https://codereview.chromium.org/1814823002/diff/20001/test/message/instanceof-nonobject.out#newcode4 test/message/instanceof-nonobject.out:4: TypeError: Expecting an object in instanceof check Nit: ...
4 years, 9 months ago (2016-03-17 15:39:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814823002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814823002/40001
4 years, 9 months ago (2016-03-17 21:20:28 UTC) #6
mvstanton
Thanks Andreas! --Mike https://codereview.chromium.org/1814823002/diff/20001/test/message/instanceof-nonobject.out File test/message/instanceof-nonobject.out (right): https://codereview.chromium.org/1814823002/diff/20001/test/message/instanceof-nonobject.out#newcode4 test/message/instanceof-nonobject.out:4: TypeError: Expecting an object in instanceof ...
4 years, 9 months ago (2016-03-17 21:20:50 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/15425) v8_linux64_avx2_rel on tryserver.v8 (JOB_FAILED, ...
4 years, 9 months ago (2016-03-17 21:35:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814823002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814823002/60001
4 years, 9 months ago (2016-03-18 10:10:44 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-18 10:39:16 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-18 10:39:35 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/84af5e44266542ff2be5551ec0777ed4a2b7af47
Cr-Commit-Position: refs/heads/master@{#34883}

Powered by Google App Engine
This is Rietveld 408576698