| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 8d77d3941b52c474ffe3be6d03e530db7dfaae7a..871d11f4fb17b08adce55b634002b51e292870db 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1839,9 +1839,9 @@ class JSReceiver: public HeapObject {
|
| Handle<Object> key, PropertyDescriptor* desc,
|
| ShouldThrow should_throw);
|
|
|
| - // "virtual" dispatcher to the correct [[CreateDataProperty]] implementation.
|
| - MUST_USE_RESULT static Maybe<bool> CreateDataProperty(LookupIterator* it,
|
| - Handle<Object> value);
|
| + // ES6 7.3.4 (when passed DONT_THROW)
|
| + MUST_USE_RESULT static Maybe<bool> CreateDataProperty(
|
| + LookupIterator* it, Handle<Object> value, ShouldThrow should_throw);
|
|
|
| // ES6 9.1.6.1
|
| static bool OrdinaryDefineOwnProperty(Isolate* isolate,
|
| @@ -9531,22 +9531,14 @@ class JSProxy: public JSReceiver {
|
| Handle<Object> receiver,
|
| Handle<Name> name);
|
|
|
| - // If the handler defines an accessor property with a setter, invoke it.
|
| - // If it defines an accessor property without a setter, or a data property
|
| - // that is read-only, fail. In all these cases set '*done' to true.
|
| - // Otherwise set it to false, in which case the return value is not
|
| - // meaningful.
|
| - MUST_USE_RESULT
|
| - static Maybe<bool> SetPropertyViaPrototypesWithHandler(
|
| - Handle<JSProxy> proxy, Handle<Object> receiver, Handle<Name> name,
|
| - Handle<Object> value, ShouldThrow should_throw, bool* done);
|
| -
|
| 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);
|
| + MUST_USE_RESULT static Maybe<bool> SetProperty(Handle<JSProxy> proxy,
|
| + Handle<Name> name,
|
| + Handle<Object> value,
|
| + Handle<Object> receiver,
|
| + LanguageMode language_mode);
|
|
|
| // Dispatched behavior.
|
| DECLARE_PRINTER(JSProxy)
|
|
|