Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 08724110674568d2dd7bb0919d85556c4b0f6353..35e54149e0892a0d6df5b3a7d460c65652523c81 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -1435,6 +1435,15 @@ class Object : public Value { |
| V8EXPORT Local<Value> Get(uint32_t index); |
| + /** |
| + * Gets the property attributes of a property. |
| + * Can be None or any combination of ReadOnly, DontEnum and DontDelete. |
| + * |
| + * Note: Throws a ReferenceError exception and returns None when the property |
|
Mads Ager (chromium)
2011/07/15 07:25:51
I'm not sure I like the idea of throwing a Referen
|
| + * doesn't exist. |
| + */ |
| + V8EXPORT PropertyAttribute GetPropertyAttribute(Handle<Value> key); |
|
Mads Ager (chromium)
2011/07/15 07:25:51
GetPropertyAttribute -> GetPropertyAttributes
|
| + |
| // TODO(1245389): Replace the type-specific versions of these |
| // functions with generic ones that accept a Handle<Value> key. |
| V8EXPORT bool Has(Handle<String> key); |