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

Issue 1292393002: [parser] make kInvalidLhsInFor a SyntaxError (Closed)

Created:
5 years, 4 months ago by caitp (gmail)
Modified:
5 years, 4 months ago
Reviewers:
adamk, rossberg
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[parser] make kInvalidLhsInFor a SyntaxError Second item in section 13.7.5.1 states that the error should be a SyntaxError, when previously CheckAndRewriteReferenceExpression would always emit a ReferenceError. BUG=v8:4373 R=adamk, rossberg LOG=N CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_chromium_rel_ng;tryserver.blink:linux_blink_rel Committed: https://crrev.com/9b15445e6d4a3cb9b1655b9e57ac3e147118195a Cr-Commit-Position: refs/heads/master@{#30184}

Patch Set 1 #

Total comments: 2

Patch Set 2 : match FF behaviour #

Patch Set 3 : A bunch of webkit test updates #

Patch Set 4 : Correct tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -46 lines) Patch
M src/parser.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/preparser.h View 1 3 chunks +14 lines, -1 line 0 comments Download
M src/preparser.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/message/for-loop-invalid-lhs.out View 1 chunk +2 lines, -2 lines 0 comments Download
M test/message/new-target-for-loop.out View 1 chunk +2 lines, -2 lines 0 comments Download
M test/mjsunit/harmony/new-target.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/invalid-lhs.js View 1 2 chunks +3 lines, -3 lines 0 comments Download
M test/webkit/fast/js/parser-syntax-check.js View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download
M test/webkit/fast/js/parser-syntax-check-expected.txt View 1 2 3 1 chunk +28 lines, -28 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
caitp (gmail)
Hi, PTAL, I wanted to take on a smaller bug since it's been a few ...
5 years, 4 months ago (2015-08-14 17:06:17 UTC) #1
adamk
lgtm https://codereview.chromium.org/1292393002/diff/1/src/preparser.h File src/preparser.h (right): https://codereview.chromium.org/1292393002/diff/1/src/preparser.h#newcode3982 src/preparser.h:3982: : this->NewThrowSyntaxError(message, pos); On 2015/08/14 17:06:17, caitp wrote: ...
5 years, 4 months ago (2015-08-15 01:06:15 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1292393002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1292393002/20001
5 years, 4 months ago (2015-08-15 02:09:59 UTC) #4
caitp (gmail)
On 2015/08/15 01:06:15, adamk wrote: > lgtm > > https://codereview.chromium.org/1292393002/diff/1/src/preparser.h > File src/preparser.h (right): > ...
5 years, 4 months ago (2015-08-15 02:10:06 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel/builds/8594)
5 years, 4 months ago (2015-08-15 02:23:14 UTC) #7
caitp (gmail)
On 2015/08/15 02:23:14, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 4 months ago (2015-08-15 02:48:35 UTC) #8
caitp (gmail)
On 2015/08/15 02:48:35, caitp wrote: > On 2015/08/15 02:23:14, commit-bot: I haz the power wrote: ...
5 years, 4 months ago (2015-08-15 03:02:55 UTC) #9
caitp (gmail)
On 2015/08/15 03:02:55, caitp wrote: > On 2015/08/15 02:48:35, caitp wrote: > > On 2015/08/15 ...
5 years, 4 months ago (2015-08-15 08:41:29 UTC) #10
caitp (gmail)
On 2015/08/15 08:41:29, caitp wrote: > On 2015/08/15 03:02:55, caitp wrote: > > On 2015/08/15 ...
5 years, 4 months ago (2015-08-15 17:03:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1292393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1292393002/60001
5 years, 4 months ago (2015-08-15 17:08:19 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-08-15 17:57:08 UTC) #15
commit-bot: I haz the power
5 years, 4 months ago (2015-08-15 17:57:28 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9b15445e6d4a3cb9b1655b9e57ac3e147118195a
Cr-Commit-Position: refs/heads/master@{#30184}

Powered by Google App Engine
This is Rietveld 408576698