Lines Matching refs:interceptor
753 case LookupIterator::INTERCEPTOR: {
791 case LookupIterator::INTERCEPTOR: {
924 case LookupIterator::INTERCEPTOR:
1299 // Skip current iteration, it's in state ACCESS_CHECK or INTERCEPTOR, both of
1302 it->state() == LookupIterator::INTERCEPTOR);
1309 INTERCEPTOR) {
1327 DCHECK_EQ(LookupIterator::INTERCEPTOR, it->state());
1355 DCHECK_EQ(LookupIterator::INTERCEPTOR, it->state());
4002 // interceptor calls.
4005 DCHECK_EQ(LookupIterator::INTERCEPTOR, it->state());
4006 Handle<InterceptorInfo> interceptor(it->GetInterceptor());
4007 if (interceptor->setter()->IsUndefined()) return Just(false);
4011 PropertyCallbackArguments args(isolate, interceptor->data(),
4017 v8::ToCData<v8::IndexedPropertySetterCallback>(interceptor->setter());
4019 ApiIndexedPropertyAccess("interceptor-indexed-set", *holder, index));
4025 if (name->IsSymbol() && !interceptor->can_intercept_symbols()) {
4031 interceptor->setter());
4033 ApiNamedPropertyAccess("interceptor-named-set", *holder, *name));
4045 // TODO(neis): In the future, we may want to actually return the interceptor's
4069 // interceptor calls.
4091 case LookupIterator::INTERCEPTOR:
4223 case LookupIterator::INTERCEPTOR:
5250 // If there's an interceptor, try to store the property with the
5251 // interceptor.
5253 // attributes of the interceptor, rather than the incoming attributes.
5258 case LookupIterator::INTERCEPTOR:
5383 // callbacks or interceptor calls.
5388 Handle<InterceptorInfo> interceptor(it->GetInterceptor());
5390 !interceptor->can_intercept_symbols()) {
5393 PropertyCallbackArguments args(isolate, interceptor->data(),
5395 if (!interceptor->query()->IsUndefined()) {
5400 v8::ToCData<v8::IndexedPropertyQueryCallback>(interceptor->query());
5402 ApiIndexedPropertyAccess("interceptor-indexed-has", *holder, index));
5409 interceptor->query());
5411 ApiNamedPropertyAccess("interceptor-named-has", *holder, *name));
5420 } else if (!interceptor->getter()->IsUndefined()) {
5426 v8::ToCData<v8::IndexedPropertyGetterCallback>(interceptor->getter());
5427 LOG(isolate, ApiIndexedPropertyAccess("interceptor-indexed-get-has",
5435 interceptor->getter());
5437 ApiNamedPropertyAccess("interceptor-named-get-has", *holder, *name));
5457 case LookupIterator::INTERCEPTOR: {
6153 // interceptor calls.
6156 DCHECK_EQ(LookupIterator::INTERCEPTOR, it->state());
6157 Handle<InterceptorInfo> interceptor(it->GetInterceptor());
6158 if (interceptor->deleter()->IsUndefined()) return Nothing<bool>();
6162 PropertyCallbackArguments args(isolate, interceptor->data(),
6168 v8::ToCData<v8::IndexedPropertyDeleterCallback>(interceptor->deleter());
6170 ApiIndexedPropertyAccess("interceptor-indexed-delete", *holder, index));
6172 } else if (it->name()->IsSymbol() && !interceptor->can_intercept_symbols()) {
6179 interceptor->deleter());
6181 ApiNamedPropertyAccess("interceptor-named-delete", *holder, *name));
6260 case LookupIterator::INTERCEPTOR: {
6262 // An exception was thrown in the interceptor. Propagate.
6264 // Delete with interceptor succeeded. Return result.
6266 // interceptor returns false.
8578 Handle<InterceptorInfo> interceptor(type == kIndexed
8582 if ((filter & ONLY_ALL_CAN_READ) && !interceptor->all_can_read()) {
8585 PropertyCallbackArguments args(isolate, interceptor->data(), *receiver,
8588 if (!interceptor->enumerator()->IsUndefined()) {
8589 Callback enum_fun = v8::ToCData<Callback>(interceptor->enumerator());
8590 const char* log_tag = type == kIndexed ? "interceptor-indexed-enum"
8591 : "interceptor-named-enum";
8637 // Add the element keys from the interceptor.
8675 // Add the property keys from the interceptor.
9085 // interceptor calls.
9093 case LookupIterator::INTERCEPTOR:
16221 // interceptor calls.
16224 DCHECK_EQ(LookupIterator::INTERCEPTOR, it->state());
16225 Handle<InterceptorInfo> interceptor = it->GetInterceptor();
16226 if (interceptor->getter()->IsUndefined()) {
16232 PropertyCallbackArguments args(isolate, interceptor->data(),
16238 v8::ToCData<v8::IndexedPropertyGetterCallback>(interceptor->getter());
16240 ApiIndexedPropertyAccess("interceptor-indexed-get", *holder, index));
16246 if (name->IsSymbol() && !interceptor->can_intercept_symbols()) {
16252 interceptor->getter());
16254 ApiNamedPropertyAccess("interceptor-named-get", *holder, *name));