| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 510e6d3aef46ff963aeea15fe65263258b97402a..e3b8c7d2b93ca6e0df530a700430180617d77bdb 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -1366,7 +1366,7 @@ Maybe<PropertyAttributes> JSObject::GetPropertyAttributesWithFailedAccessCheck(
|
|
|
| // static
|
| bool JSObject::AllCanWrite(LookupIterator* it) {
|
| - for (; it->IsFound(); it->Next()) {
|
| + for (; it->IsFound() && it->state() != LookupIterator::JSPROXY; it->Next()) {
|
| if (it->state() == LookupIterator::ACCESSOR) {
|
| Handle<Object> accessors = it->GetAccessors();
|
| if (accessors->IsAccessorInfo()) {
|
|
|