Chromium Code Reviews| Index: src/objects.cc |
| diff --git a/src/objects.cc b/src/objects.cc |
| index bfb58b87919869702f9736c6c95285bccb08cc79..6b951203a02e52ecbd3cc5a0e05bcfabfcb3bd85 100644 |
| --- a/src/objects.cc |
| +++ b/src/objects.cc |
| @@ -1188,6 +1188,9 @@ bool JSObject::AllCanRead(LookupIterator* it) { |
| } |
| } else if (it->state() == LookupIterator::INTERCEPTOR) { |
| if (it->GetInterceptor()->all_can_read()) return true; |
| + } else if (it->state() == LookupIterator::JSPROXY) { |
| + // Stop lookupiterating. And no, AllCanNotRead. |
|
Jakob Kummerow
2015/12/11 14:52:28
Do you like this comment, or is it too friday?
|
| + return false; |
| } |
| } |
| return false; |