Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index fa32ba3cdfb3cf77c803da527e480832230c591b..3229da106a4db4a1df5bd85c6fcea3bae0aef20a 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -2617,12 +2617,27 @@ class V8_EXPORT Object : public Value { |
Local<Value> GetRealNamedPropertyInPrototypeChain(Handle<String> key); |
/** |
+ * Gets the property attributes of a real property in the prototype chain, |
+ * which can be None or any combination of ReadOnly, DontEnum and DontDelete. |
+ * Interceptors in the prototype chain are not called. |
+ */ |
+ Maybe<PropertyAttribute> GetRealNamedPropertyAttributesInPrototypeChain( |
+ Handle<String> key); |
+ |
+ /** |
* If result.IsEmpty() no real property was located on the object or |
* in the prototype chain. |
* This means interceptors in the prototype chain are not called. |
*/ |
Local<Value> GetRealNamedProperty(Handle<String> key); |
+ /** |
+ * Gets the property attributes of a real property which can be |
+ * None or any combination of ReadOnly, DontEnum and DontDelete. |
+ * Interceptors in the prototype chain are not called. |
+ */ |
+ Maybe<PropertyAttribute> GetRealNamedPropertyAttributes(Handle<String> key); |
+ |
/** Tests for a named lookup interceptor.*/ |
bool HasNamedLookupInterceptor(); |