| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 67ccd31014249127b5aede7c3cc6be3cdfc7af5e..b0962031545dfb922c7d3e060246a116daba7739 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -805,7 +805,8 @@ MaybeHandle<Object> JSProxy::GetProperty(Isolate* isolate,
|
| inconsistent =
|
| inconsistent ||
|
| (PropertyDescriptor::IsAccessorDescriptor(&target_desc) &&
|
| - !target_desc.configurable() && target_desc.get()->IsUndefined());
|
| + !target_desc.configurable() && target_desc.get()->IsUndefined() &&
|
| + !trap_result->IsUndefined());
|
| if (inconsistent) {
|
| THROW_NEW_ERROR(
|
| isolate,
|
|
|