Home
last modified time | relevance | path

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

/external/v8/src/
Dproxy.js25 function ProxyCreateFunction(handler, callTrap, constructTrap) { argument
28 if (!IS_SPEC_FUNCTION(callTrap))
31 constructTrap = DerivedConstructTrap(callTrap)
43 handler, callTrap, constructTrap, $Function.prototype)
68 function DerivedConstructTrap(callTrap) { argument
73 var result = %Apply(callTrap, obj, arguments, 0, %_ArgumentsLength());
78 function DelegateCallAndConstruct(callTrap, constructTrap) { argument
80 return %Apply(%_IsConstructCall() ? constructTrap : callTrap,
Dv8natives.js1227 var callTrap = %GetCallTrap(obj);
1229 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))
63 var f = Proxy.createFunction(handler, callTrap)
190 var f = CreateFrozen({}, callTrap)
260 function TestCallIntrinsic(type, callTrap) { argument
261 var f = Proxy.createFunction({}, callTrap)
276 function TestCallThrow(callTrap) { argument
277 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);