Commit 10329be6 authored by verwaest's avatar verwaest Committed by Commit bot

Adjust GetPropertyWithFailedAccessCheck to support elements

BUG=v8:4137
LOG=n

Review URL: https://codereview.chromium.org/1155503003

Cr-Commit-Position: refs/heads/master@{#28559}
parent e8c593c4
......@@ -478,8 +478,7 @@ static bool FindAllCanReadHolder(LookupIterator* it) {
if (AccessorInfo::cast(*accessors)->all_can_read()) return true;
}
} else if (it->state() == LookupIterator::INTERCEPTOR) {
auto holder = it->GetHolder<JSObject>();
if (holder->GetNamedInterceptor()->all_can_read()) return true;
if (it->GetInterceptor()->all_can_read()) return true;
}
}
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment