 Chromium Code Reviews
 Chromium Code Reviews Issue 364923006:
  add GetOwnPropertyDescriptor to api  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 364923006:
  add GetOwnPropertyDescriptor to api  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| 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); |