MCPcopy Create free account
hub / github.com/nodejs/node / TestWithProxies

Function TestWithProxies

deps/v8/test/mjsunit/es6/proxies.js:37–41  ·  view source on GitHub ↗
(test, x, y, z)

Source from the content-addressed store, hash-verified

35// Helper.
36
37function TestWithProxies(test, x, y, z) {
38 // Separate function for nicer stack traces.
39 TestWithObjectProxy(test, x, y, z);
40 TestWithFunctionProxy(test, x, y, z);
41}
42
43function TestWithObjectProxy(test, x, y, z) {
44 test((handler) => { return new Proxy({}, handler) }, x, y, z)

Callers 15

TestGetOwnPropertyFunction · 0.70
TestGetOwnPropertyThrowFunction · 0.70
TestGetFunction · 0.70
TestGetCallFunction · 0.70
TestGetThrowFunction · 0.70
TestSetFunction · 0.70
TestSetThrowFunction · 0.70
proxies.jsFile · 0.70
TestDefineFunction · 0.70
TestDefineThrowFunction · 0.70
TestDeleteFunction · 0.70
TestDeleteThrowFunction · 0.70

Calls 2

TestWithObjectProxyFunction · 0.85
TestWithFunctionProxyFunction · 0.85

Tested by

no test coverage detected