MCPcopy Index your code
hub / github.com/nodejs/node / CheckScopeChainNames

Function CheckScopeChainNames

deps/v8/test/debugger/debug/debug-scopes.js:121–128  ·  view source on GitHub ↗
(names, exec_state)

Source from the content-addressed store, hash-verified

119
120// Check that the scope chain contains the expected names of scopes.
121function CheckScopeChainNames(names, exec_state) {
122 var all_scopes = exec_state.frame().allScopes();
123 assertEquals(names.length, all_scopes.length, "FrameMirror.allScopes length");
124 for (var i = 0; i < names.length; i++) {
125 var scope = exec_state.frame().scope(i);
126 // assertEquals(names[i], scope.details().name())
127 }
128}
129
130
131// Check that the scope contains at least minimum_content. For functions just

Callers 1

debug-scopes.jsFile · 0.70

Calls 2

allScopesMethod · 0.80
assertEqualsFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…