Lines Matching defs:handler
106 #include "src/objects/megadom-handler-inl.h"
1197 // 2. Let handler be the value of the [[ProxyHandler]] internal slot of O.
1198 Handle<Object> handler(proxy->handler(), isolate);
1199 // 3. If handler is null, throw a TypeError exception.
1200 // 4. Assert: Type(handler) is Object.
1208 // 6. Let trap be ? GetMethod(handler, "get").
1212 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name), Object);
1222 // 8. Let trapResult be ? Call(trap, handler, «target, P, Receiver»).
1227 Execution::Call(isolate, trap, handler, arraysize(args), args), Object);
1347 // 1. Let handler be the value of the [[ProxyHandler]] internal slot.
1348 // 2. If handler is null, throw a TypeError exception.
1349 // 3. Assert: Type(handler) is Object.
1357 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate);
1359 // 5. Let trap be ? GetMethod(handler, "getPrototypeOf").
1362 Object::GetMethod(handler, trap_name), HeapObject);
1367 // 7. Let handlerProto be ? Call(trap, handler, «target»).
1372 Execution::Call(isolate, trap, handler, arraysize(argv), argv),
3061 // 2. Let handler be the value of the [[ProxyHandler]] internal slot of O.
3062 Handle<Object> handler(proxy->handler(), isolate);
3063 // 3. If handler is null, throw a TypeError exception.
3064 // 4. Assert: Type(handler) is Object.
3072 // 6. Let trap be ? GetMethod(handler, "has").
3076 Object::GetMethod(Handle<JSReceiver>::cast(handler),
3084 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «target, P»)).
3089 Execution::Call(isolate, trap, handler, arraysize(args), args),
3144 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate);
3148 isolate, trap, Object::GetMethod(handler, trap_name), Nothing<bool>());
3161 Execution::Call(isolate, trap, handler, arraysize(args), args),
3195 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate);
3199 isolate, trap, Object::GetMethod(handler, trap_name), Nothing<bool>());
3208 Execution::Call(isolate, trap, handler, arraysize(args), args),
3250 Handle<Object> handler) {
3255 if (!handler->IsJSReceiver()) {
3260 Handle<JSReceiver>::cast(handler));
3493 // 2. Let handler be the value of the [[ProxyHandler]] internal slot of O.
3494 Handle<Object> handler(proxy->handler(), isolate);
3495 // 3. If handler is null, throw a TypeError exception.
3496 // 4. Assert: Type(handler) is Object.
3504 // 6. Let trap be ? GetMethod(handler, "defineProperty").
3508 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name),
3519 // ToBoolean(? Call(trap, handler, «target, P, descObj»)).
3530 Execution::Call(isolate, trap, handler, arraysize(args), args),
3663 // 2. Let handler be the value of the [[ProxyHandler]] internal slot of O.
3664 Handle<Object> handler(proxy->handler(), isolate);
3665 // 3. If handler is null, throw a TypeError exception.
3666 // 4. Assert: Type(handler) is Object.
3674 // 6. Let trap be ? GetMethod(handler, "getOwnPropertyDescriptor").
3678 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name),
3685 // 8. Let trapResultObj be ? Call(trap, handler, «target, P»).
3690 Execution::Call(isolate, trap, handler, arraysize(args), args),
3792 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate);
3796 isolate, trap, Object::GetMethod(handler, trap_name), Nothing<bool>());
3805 Execution::Call(isolate, trap, handler, arraysize(args), args),
3836 Handle<JSReceiver> handler(JSReceiver::cast(proxy->handler()), isolate);
3840 isolate, trap, Object::GetMethod(handler, trap_name), Nothing<bool>());
3849 Execution::Call(isolate, trap, handler, arraysize(args), args),
5180 // 2. Let handler be the value of the [[ProxyHandler]] internal slot of O.
5181 Handle<Object> handler(proxy->handler(), isolate);
5182 // 3. If handler is null, throw a TypeError exception.
5183 // 4. Assert: Type(handler) is Object.
5191 // 6. Let trap be ? GetMethod(handler, "getPrototypeOf").
5195 Object::GetMethod(Handle<JSReceiver>::cast(handler), trap_name),
5202 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «target, V»)).
5207 Execution::Call(isolate, trap, handler, arraysize(argv), argv),
5605 // According to HTML, we use the context of the appropriate handler as the