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

Issue 924403002: [parsing]: eval/arguments parameter names are ok in sloppy mode (Closed)

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

Description

[parsing]: eval/arguments parameter names are ok in sloppy mode BUG=v8:3891 LOG=N R=arv@chromium.org, marja@chromium.org Committed: https://crrev.com/663a9eeae401f8d915b3f39d6c184519d46a1fd7 Cr-Commit-Position: refs/heads/master@{#26673}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Simplify IsDeclaredParameter(), add tests for regular functions + duplicate parameters #

Patch Set 3 : test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -4 lines) Patch
M src/parser.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/preparser.h View 1 chunk +1 line, -1 line 0 comments Download
M src/scopes.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 2 4 chunks +138 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
caitp (gmail)
PTAL There are a lot of inconsistencies in the spec WRT certain things being errors ...
5 years, 10 months ago (2015-02-15 18:53:56 UTC) #1
caitp (gmail)
On 2015/02/15 18:53:56, caitp wrote: > If IsSimpleParameterList is true, .... Er, 'false' not 'true'
5 years, 10 months ago (2015-02-15 18:54:36 UTC) #2
arv (Not doing code reviews)
Even though this CL looks good I don't think we want this behavior. The intent ...
5 years, 10 months ago (2015-02-15 21:38:34 UTC) #3
caitp (gmail)
On 2015/02/15 21:38:34, arv wrote: > Even though this CL looks good I don't think ...
5 years, 10 months ago (2015-02-15 21:43:39 UTC) #4
marja
Otherwise lg, but maybe wait until the spec problem is resolved before landing? https://codereview.chromium.org/924403002/diff/1/src/scopes.h File ...
5 years, 10 months ago (2015-02-16 09:12:02 UTC) #5
arv (Not doing code reviews)
LGTM with Marja's comments resolved. Since the ES6 spec bug got closed I think we ...
5 years, 10 months ago (2015-02-16 16:24:23 UTC) #6
caitp (gmail)
https://codereview.chromium.org/924403002/diff/1/src/scopes.h File src/scopes.h (right): https://codereview.chromium.org/924403002/diff/1/src/scopes.h#newcode475 src/scopes.h:475: return var != NULL && params_.Contains(var); On 2015/02/16 09:12:02, ...
5 years, 10 months ago (2015-02-16 16:42:53 UTC) #8
marja
lgtm https://codereview.chromium.org/924403002/diff/1/src/scopes.h File src/scopes.h (right): https://codereview.chromium.org/924403002/diff/1/src/scopes.h#newcode475 src/scopes.h:475: return var != NULL && params_.Contains(var); On 2015/02/16 ...
5 years, 10 months ago (2015-02-16 16:47:35 UTC) #9
caitp (gmail)
On 2015/02/16 16:47:35, marja wrote: > lgtm > > https://codereview.chromium.org/924403002/diff/1/src/scopes.h > File src/scopes.h (right): > ...
5 years, 10 months ago (2015-02-16 17:00:38 UTC) #11
marja
On 2015/02/16 17:00:38, caitp wrote: > On 2015/02/16 16:47:35, marja wrote: > > lgtm > ...
5 years, 10 months ago (2015-02-16 17:10:51 UTC) #12
caitp (gmail)
On 2015/02/16 17:10:51, marja wrote: > On 2015/02/16 17:00:38, caitp wrote: > > On 2015/02/16 ...
5 years, 10 months ago (2015-02-16 17:55:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924403002/40001
5 years, 10 months ago (2015-02-16 17:55:57 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-16 18:18:10 UTC) #16
commit-bot: I haz the power
5 years, 10 months ago (2015-02-16 18:18:28 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/663a9eeae401f8d915b3f39d6c184519d46a1fd7
Cr-Commit-Position: refs/heads/master@{#26673}

Powered by Google App Engine
This is Rietveld 408576698