| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 14a119f0e85e3be738d9649be869de6085d1c7b6..71990c153753485ec23725a0e3fac3e7d778f4f2 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -2988,7 +2988,7 @@ class V8_EXPORT Object : public Value {
|
| // Returns true on success.
|
| V8_WARN_UNUSED_RESULT Maybe<bool> DefineOwnProperty(
|
| Local<Context> context, Local<Name> key, Local<Value> value,
|
| - PropertyAttribute attributes = None);
|
| + PropertyAttribute attributes = None, bool bypass_interceptor = false);
|
|
|
| // Implements Object.DefineProperty(O, P, Attributes), see Ecma-262 19.1.2.4.
|
| //
|
| @@ -3002,9 +3002,12 @@ class V8_EXPORT Object : public Value {
|
| //
|
| // The PropertyDescriptor can change when redefining a property.
|
| //
|
| + // Bypass_interceptor = true sets object own property bypassing interceptors
|
| + //
|
| // Returns true on success.
|
| V8_WARN_UNUSED_RESULT Maybe<bool> DefineProperty(
|
| - Local<Context> context, Local<Name> key, PropertyDescriptor& descriptor);
|
| + Local<Context> context, Local<Name> key, PropertyDescriptor& descriptor,
|
| + bool bypass_interceptor = false);
|
|
|
| // Sets an own property on this object bypassing interceptors and
|
| // overriding accessors or read-only properties.
|
|
|