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

Issue 13626002: ES6 symbols: extend V8 API to support symbols (Closed)

Created:
7 years, 8 months ago by rossberg
Modified:
7 years, 8 months ago
Reviewers:
Sven Panne
CC:
v8-dev, Yang, Michael Starzinger
Visibility:
Public.

Description

ES6 symbols: extend V8 API to support symbols Specifically: - Introduce Symbol and SymbolObject classes. - Generalise Object::Has and Object::Delete to arbitrary Value-typed keys. - Generalise some places in the API implementation from String to Name. It is not possible to intercept symbol-named properties. That is consistent with the idea that symbols are private and should not leak. R=svenpanne@chromium.org BUG=v8:2158 Committed: http://code.google.com/p/v8/source/detail?r=14210

Patch Set 1 #

Patch Set 2 : Eps #

Total comments: 12

Patch Set 3 : Address comments #

Patch Set 4 : Added TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+340 lines, -26 lines) Patch
M include/v8.h View 1 2 9 chunks +81 lines, -5 lines 0 comments Download
M src/api.h View 3 chunks +4 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 3 9 chunks +109 lines, -10 lines 0 comments Download
M src/handles.h View 1 1 chunk +6 lines, -4 lines 0 comments Download
M src/handles.cc View 1 1 chunk +18 lines, -1 line 0 comments Download
M src/runtime.h View 1 chunk +7 lines, -1 line 0 comments Download
M src/runtime.cc View 4 chunks +33 lines, -5 lines 0 comments Download
M test/cctest/test-api.cc View 1 2 1 chunk +82 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rossberg
7 years, 8 months ago (2013-04-04 08:51:11 UTC) #1
Sven Panne
https://codereview.chromium.org/13626002/diff/3001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/13626002/diff/3001/include/v8.h#newcode1481 include/v8.h:1481: static Local<Symbol> New(); Add an Isolate* parameter. https://codereview.chromium.org/13626002/diff/3001/include/v8.h#newcode1484 include/v8.h:1484: ...
7 years, 8 months ago (2013-04-08 14:04:51 UTC) #2
rossberg
https://codereview.chromium.org/13626002/diff/3001/include/v8.h File include/v8.h (right): https://codereview.chromium.org/13626002/diff/3001/include/v8.h#newcode1481 include/v8.h:1481: static Local<Symbol> New(); On 2013/04/08 14:04:51, Sven Panne wrote: ...
7 years, 8 months ago (2013-04-09 08:55:23 UTC) #3
Sven Panne
lgtm
7 years, 8 months ago (2013-04-09 09:02:30 UTC) #4
rossberg
7 years, 8 months ago (2013-04-10 12:16:43 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r14210 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698