Home
last modified time | relevance | path

Searched refs:callTrap (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/
Dproxy.js44 $Proxy.createFunction = function(handler, callTrap, constructTrap) { argument
47 if (!IS_SPEC_FUNCTION(callTrap))
50 constructTrap = DerivedConstructTrap(callTrap)
62 handler, callTrap, constructTrap, $Function.prototype)
71 function DerivedConstructTrap(callTrap) { argument
77 var result = %Apply(callTrap, obj, arguments, 0, %_ArgumentsLength());
82 function DelegateCallAndConstruct(callTrap, constructTrap) { argument
84 return %Apply(%_IsConstructCall() ? constructTrap : callTrap,
Dv8natives.js1128 var callTrap = %GetCallTrap(obj);
1130 var code = DelegateCallAndConstruct(callTrap, constructTrap);
/external/v8/test/mjsunit/harmony/
Dproxies-function.js33 function CreateFrozen(handler, callTrap, constructTrap) { argument
35 var f = Proxy.createFunction(handler, callTrap, constructTrap)
54 function TestCall(isStrict, callTrap) { argument
55 assertEquals(42, callTrap(5, 37))
64 var f = Proxy.createFunction(handler, callTrap)
192 var f = CreateFrozen({}, callTrap)
262 function TestCallIntrinsic(type, callTrap) { argument
263 var f = Proxy.createFunction({}, callTrap)
278 function TestCallThrow(callTrap) { argument
279 var f = Proxy.createFunction({}, callTrap)
[all …]
Dproxies-example-membrane.js173 function callTrap() { function
188 return Proxy.createFunction(handler, callTrap, constructTrap);
336 function callTrap() { function
348 Proxy.createFunction(dryRevokeHandler, callTrap, constructTrap);
403 function callTrap() { function
415 Proxy.createFunction(wetRevokeHandler, callTrap, constructTrap);