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

Issue 391713002: Reland "Include symbol properties in Object.{create,defineProperties}" (Closed)

Created:
6 years, 5 months ago by rossberg
Modified:
6 years, 5 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Reland "Include symbol properties in Object.{create,defineProperties}" Second try; implementation that doesn't rely on external arrays. R=mstarzinger@chromium.org BUG=v8:3440 Committed: https://code.google.com/p/v8/source/detail?r=22378

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -3 lines) Patch
M src/v8natives.js View 1 chunk +15 lines, -3 lines 2 comments Download
M test/mjsunit/es6/symbols.js View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rossberg
6 years, 5 months ago (2014-07-14 12:43:06 UTC) #1
arv (Not doing code reviews)
FYI https://codereview.chromium.org/391713002/diff/1/src/v8natives.js File src/v8natives.js (right): https://codereview.chromium.org/391713002/diff/1/src/v8natives.js#newcode1183 src/v8natives.js:1183: var filter = PROPERTY_ATTRIBUTES_STRING | PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL; Why don't ...
6 years, 5 months ago (2014-07-14 13:29:17 UTC) #2
Michael Starzinger
LGTM.
6 years, 5 months ago (2014-07-14 13:30:23 UTC) #3
rossberg
https://codereview.chromium.org/391713002/diff/1/src/v8natives.js File src/v8natives.js (right): https://codereview.chromium.org/391713002/diff/1/src/v8natives.js#newcode1183 src/v8natives.js:1183: var filter = PROPERTY_ATTRIBUTES_STRING | PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL; On 2014/07/14 13:29:17, ...
6 years, 5 months ago (2014-07-14 13:50:10 UTC) #4
rossberg
Committed patchset #1 manually as r22378 (tree was closed).
6 years, 5 months ago (2014-07-14 14:00:40 UTC) #5
arv (Not doing code reviews)
6 years, 5 months ago (2014-07-14 15:14:29 UTC) #6
Message was sent while issue was closed.
On 2014/07/14 at 13:50:10, rossberg wrote:
> https://codereview.chromium.org/391713002/diff/1/src/v8natives.js
> File src/v8natives.js (right):
> 
> https://codereview.chromium.org/391713002/diff/1/src/v8natives.js#newcode1183
> src/v8natives.js:1183: var filter = PROPERTY_ATTRIBUTES_STRING |
PROPERTY_ATTRIBUTES_PRIVATE_SYMBOL;
> On 2014/07/14 13:29:17, arv wrote:
> > Why don't you include string property keys here too and you can remove the
loop
> > above.
> 
> Unfortunately, that would miss out on indexed properties.

Too bad. It feels dirty to have two loops. One that filters out symbols and one
that filters out strings.

Powered by Google App Engine
This is Rietveld 408576698