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

Unified Diff: include/v8.h

Issue 364923006: add GetOwnPropertyDescriptor to api (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
diff --git a/include/v8.h b/include/v8.h
index 73384946ba7d93594fd5c3d78753dfe01c2726f6..9b1c5676a828b9ff0bd0d49bb1d20a1b66a60437 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -2115,6 +2115,11 @@ class V8_EXPORT Object : public Value {
*/
PropertyAttribute GetPropertyAttributes(Handle<Value> key);
+ /**
+ * Returns Object.GetOwnPropertyDescriptor as per ES5 section 15.2.3.3.
Toon Verwaest 2014/07/03 09:19:51 Object.getOwnPropertyDescriptor
+ */
+ Local<Value> GetOwnPropertyDescriptor(Local<String> key);
aandrey 2014/07/13 12:54:53 why not support Symbols as well?
+
bool Has(Handle<Value> key);
bool Delete(Handle<Value> key);
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698