WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142902
Computed Property names should allow only AssignmentExpressions not any Expression
https://bugs.webkit.org/show_bug.cgi?id=142902
Summary
Computed Property names should allow only AssignmentExpressions not any Expre...
Joseph Pecoraro
Reported
2015-03-20 00:16:23 PDT
* SUMMARY Computed Property names should allow only AssignmentExpressions not any Expression:
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-initializer
ComputedPropertyName[Yield] : [ AssignmentExpression[In, ?Yield] ] * TEST var x = { [1,"test"]: 1 }; // should throw an exception
Attachments
[PATCH] Proposed Fix
(8.96 KB, patch)
2015-03-20 00:27 PDT
,
Joseph Pecoraro
rniwa
: review+
rniwa
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2015-03-20 00:27:01 PDT
Created
attachment 249092
[details]
[PATCH] Proposed Fix
Joseph Pecoraro
Comment 2
2015-03-21 20:21:12 PDT
<
http://trac.webkit.org/changeset/181829
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug