MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / evalInPage

Function evalInPage

debug-plugin/panel.js:86–96  ·  view source on GitHub ↗
(expression, callback)

Source from the content-addressed store, hash-verified

84}
85
86function evalInPage(expression, callback) {
87 chrome.devtools.inspectedWindow.eval(
88 expression,
89 function (result, exceptionInfo) {
90 if (exceptionInfo) {
91 console.error("eval error:", exceptionInfo);
92 }
93 if (callback) callback(result, exceptionInfo);
94 },
95 );
96}

Callers 6

continueExecFunction · 0.85
skipToFunction · 0.85
stepOverFunction · 0.85
evaluateExpressionFunction · 0.85
panel.jsFile · 0.85
onBreakpointHitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected