| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index cacde85f1fbf4a31e2191ce7d1f6655ad0ac4ee7..8ee518a2468d9e19499f225dbdb838c1e643e844 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -9524,6 +9524,11 @@ class JSProxy: public JSReceiver {
|
| static bool GetOwnPropertyDescriptor(LookupIterator* it,
|
| PropertyDescriptor* desc);
|
|
|
| + // ES6 9.5.6
|
| + static bool DefineOwnProperty(Isolate* isolate, Handle<JSProxy> object,
|
| + Handle<Object> key, PropertyDescriptor* desc,
|
| + ShouldThrow should_throw);
|
| +
|
| MUST_USE_RESULT static MaybeHandle<Object> GetPropertyWithHandler(
|
| Handle<JSProxy> proxy,
|
| Handle<Object> receiver,
|
| @@ -9539,10 +9544,9 @@ class JSProxy: public JSReceiver {
|
| Handle<JSProxy> proxy, Handle<Object> receiver, Handle<Name> name,
|
| Handle<Object> value, ShouldThrow should_throw, bool* done);
|
|
|
| - MUST_USE_RESULT static Maybe<PropertyAttributes>
|
| - GetPropertyAttributesWithHandler(Handle<JSProxy> proxy,
|
| - Handle<Object> receiver,
|
| - Handle<Name> name);
|
| + MUST_USE_RESULT static Maybe<PropertyAttributes> GetPropertyAttributes(
|
| + LookupIterator* it);
|
| +
|
| MUST_USE_RESULT static Maybe<bool> SetPropertyWithHandler(
|
| Handle<JSProxy> proxy, Handle<Object> receiver, Handle<Name> name,
|
| Handle<Object> value, ShouldThrow should_throw);
|
|
|