| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index ac26061498fbb412aa44ebe4dcdba650996ce35e..b42e658a233202aab0dafca52c0ea294b9de8f75 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -1458,6 +1458,14 @@ 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: Returns None when the property doesn't exist.
|
| + */
|
| + V8EXPORT PropertyAttribute GetPropertyAttributes(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);
|
|
|