Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index fb10c71576da0a92963b4decfe4dde60067a34fb..ea7ab82628fff450e43af3b9e40b13045d749aef 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -1435,6 +1435,12 @@ class Object : public Value { |
| V8EXPORT Local<Value> Get(uint32_t index); |
| + /** |
| + * Gets the property attributes of a property. |
|
Mads Ager (chromium)
2011/07/12 07:51:30
You should document that this returns None if the
|
| + * Can be None or any combination of ReadOnly, DontEnum and DontDelete. |
| + */ |
| + V8EXPORT PropertyAttribute GetPropertyAttribute(Handle<Value> key); |
| + |
| // 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); |