Home
last modified time | relevance | path

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

/external/v8/src/
Dproxy.js25 function ProxyCreateFunction(handler, callTrap, constructTrap) { argument
30 if (IS_UNDEFINED(constructTrap)) {
31 constructTrap = DerivedConstructTrap(callTrap)
32 } else if (IS_SPEC_FUNCTION(constructTrap)) {
34 var construct = constructTrap
35 constructTrap = function() { function in ProxyCreateFunction
43 handler, callTrap, constructTrap, $Function.prototype)
78 function DelegateCallAndConstruct(callTrap, constructTrap) { argument
80 return %Apply(%_IsConstructCall() ? constructTrap : callTrap,
Dv8natives.js1228 var constructTrap = %GetConstructTrap(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)
360 function TestConstruct(proto, constructTrap) { argument
361 TestConstruct2(proto, constructTrap, handlerWithPrototype)
362 TestConstruct2(proto, constructTrap, handlerSansPrototype)
365 function TestConstruct2(proto, constructTrap, handler) { argument
366 var f = Proxy.createFunction(handler, function() {}, constructTrap)
372 var f = CreateFrozen(handler, function() {}, constructTrap)
Dproxies-example-membrane.js179 function constructTrap() { function
188 return Proxy.createFunction(handler, callTrap, constructTrap);
343 function constructTrap() { function
348 Proxy.createFunction(dryRevokeHandler, callTrap, constructTrap);
410 function constructTrap() { function
415 Proxy.createFunction(wetRevokeHandler, callTrap, constructTrap);