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

Function didStopFrontendProfile

deps/v8/test/inspector/cpu-profiler/enable-disable.js:62–68  ·  view source on GitHub ↗
(messageObject)

Source from the content-addressed store, hash-verified

60}
61
62function didStopFrontendProfile(messageObject)
63{
64 if (!expectedError("no front-end initiated profiles found", messageObject))
65 return;
66 disallowConsoleProfiles();
67 Protocol.Runtime.evaluate({expression: "console.profileEnd();"}).then(didStopConsoleProfile);
68}
69
70function didStopConsoleProfile(messageObject)
71{

Callers

nothing calls this directly

Calls 4

expectedErrorFunction · 0.85
disallowConsoleProfilesFunction · 0.85
thenMethod · 0.45
evaluateMethod · 0.45

Tested by

no test coverage detected