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

Issue 2650863002: [parser] Throw error when there are too many excluded properties (Closed)

Created:
3 years, 11 months ago by gsathya
Modified:
3 years, 11 months ago
Reviewers:
adamk
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[parser] Throw error when there are too many excluded properties Check that number of properties < Code:kMaxArguments when object destructuring with a rest property otherwise throw an error. BUG=v8:5549 Review-Url: https://codereview.chromium.org/2650863002 Cr-Commit-Position: refs/heads/master@{#42613} Committed: https://chromium.googlesource.com/v8/v8/+/d90e6e12e68c93230c18454eafa981e5566b2128

Patch Set 1 #

Patch Set 2 : fmt #

Total comments: 4

Patch Set 3 : add comment #

Patch Set 4 : skip test in debug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -2 lines) Patch
M src/parsing/parser-base.h View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M test/cctest/cctest.status View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (18 generated)
gsathya
3 years, 11 months ago (2017-01-23 21:26:08 UTC) #6
adamk
https://codereview.chromium.org/2650863002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2650863002/diff/20001/src/parsing/parser-base.h#newcode2597 src/parsing/parser-base.h:2597: this->classifier()->RecordPatternError(Scanner::Location(pos, position()), Can you add a comment with a ...
3 years, 11 months ago (2017-01-23 21:47:45 UTC) #7
gsathya
https://codereview.chromium.org/2650863002/diff/20001/src/parsing/parser-base.h File src/parsing/parser-base.h (right): https://codereview.chromium.org/2650863002/diff/20001/src/parsing/parser-base.h#newcode2597 src/parsing/parser-base.h:2597: this->classifier()->RecordPatternError(Scanner::Location(pos, position()), On 2017/01/23 21:47:45, adamk wrote: > Can ...
3 years, 11 months ago (2017-01-23 22:22:27 UTC) #10
gsathya
On 2017/01/23 22:22:27, gsathya wrote: > https://codereview.chromium.org/2650863002/diff/20001/src/parsing/parser-base.h > File src/parsing/parser-base.h (right): > > https://codereview.chromium.org/2650863002/diff/20001/src/parsing/parser-base.h#newcode2597 > ...
3 years, 11 months ago (2017-01-23 23:49:15 UTC) #17
adamk
lgtm
3 years, 11 months ago (2017-01-23 23:57:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650863002/60001
3 years, 11 months ago (2017-01-24 00:28:39 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 00:30:41 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/d90e6e12e68c93230c18454eafa981e5566...

Powered by Google App Engine
This is Rietveld 408576698