MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / frameId

Method frameId

front_end/core/sdk/Script.ts:400–411  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

398 }
399
400 get frameId(): Protocol.Page.FrameId {
401 // TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
402 // @ts-expect-error
403 if (typeof this[frameIdSymbol] !== 'string') {
404 // TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
405 // @ts-expect-error
406 this[frameIdSymbol] = frameIdForScript(this);
407 }
408 // TODO(crbug.com/1172300) Ignored during the jsdoc to ts migration
409 // @ts-expect-error
410 return this[frameIdSymbol];
411 }
412
413 /**
414 * @returns true, iff this script originates from a breakpoint/logpoint condition

Callers 12

#linkifyNodeMethod · 0.45
#linkifyNodeMethod · 0.45
#linkifyNodeMethod · 0.45
NodeLink.test.tsFile · 0.45
#linkifyMethod · 0.45
getClassNamesMethod · 0.45
handleNodeInsertedMethod · 0.45
selectedNodeChangedMethod · 0.45

Calls 1

frameIdForScriptFunction · 0.85

Tested by

no test coverage detected