Comment #11 on issue 3394 by [email protected]: API should allow symbols as property names
http://code.google.com/p/v8/issues/detail?id=3394#c11

The following revision refers to this bug:
https://chromium.googlesource.com/external/v8.git/+/e929f5fe43d67794ac55fbf279eaea4acd4e96e1

commit e929f5fe43d67794ac55fbf279eaea4acd4e96e1
Author: [email protected] <[email protected]@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Date: Wed Aug 20 15:25:13 2014

Support symbol-named properties in API

Add new "Name" type to API that is a supertype of Symbol and String.

Object::SetDeclaredAccessor, Object::SetAccessorProperty, Template::Set,
Template::SetAccessorProperty, and Template::SetDeclaredAccessor now
take a Name as the property name instead of a String.

Add Object::SetAccessor, Template::SetNativeDataProperty, and
ObjectTemplate::SetAccessor overloads that can define accessors for
symbol-named properties.

[email protected], [email protected]
BUG=v8:3394
TEST=cctest/test-api/TestSymbolProperties
LOG=Y

Review URL: https://codereview.chromium.org/459413002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23247 ce2b1a6d-e550-0410-aec6-3dcde31c8c00



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to