Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChromeDevTools/chrome-devtools-mcp
/ functions
Functions
3,308 in github.com/ChromeDevTools/chrome-devtools-mcp
⨍
Functions
3,308
◇
Types & classes
246
↓ 1 callers
Method
#createLanternContext
(data31, traceEvents, frameId, navigation2, options)
src/third_party/lighthouse-devtools-mcp-bundle.js:31063
↓ 1 callers
Method
#extractedAttributes
(node: TextSnapshotNode)
src/formatters/SnapshotFormatter.ts:129
↓ 1 callers
Method
#finalFlush
()
src/telemetry/watchdog/ClearcutSender.ts:238
↓ 1 callers
Method
#flush
()
src/telemetry/watchdog/ClearcutSender.ts:110
↓ 1 callers
Method
#flushFrame
(frame, endTime)
src/third_party/lighthouse-devtools-mcp-bundle.js:21376
↓ 1 callers
Method
#formatNode
(node: TextSnapshotNode, depth = 0)
src/formatters/SnapshotFormatter.ts:39
↓ 1 callers
Method
#getAffectedResources
()
src/formatters/IssueFormatter.ts:77
↓ 1 callers
Method
#getArgs
()
src/formatters/ConsoleFormatter.ts:186
↓ 1 callers
Method
#getAttributes
(serializedAXNodeRoot: TextSnapshotNode)
src/formatters/SnapshotFormatter.ts:67
↓ 1 callers
Method
#getDescription
()
src/formatters/IssueFormatter.ts:193
↓ 1 callers
Method
#getExceptionDetails
( devTools: TargetUniverse | undefined, error: Protocol.Runtime.RemoteObject, targetId: string,
src/devtools/DevtoolsUtils.ts:403
↓ 1 callers
Method
#getFormattedResponseBody
( httpResponse: HTTPResponse, sizeLimit = BODY_CONTEXT_SIZE_LIMIT, )
src/formatters/NetworkFormatter.ts:228
↓ 1 callers
Method
#getMessage
(details: Protocol.Runtime.ExceptionDetails)
src/devtools/DevtoolsUtils.ts:383
↓ 1 callers
Method
#getSelectedMcpPage
()
src/McpContext.ts:541
↓ 1 callers
Method
#getStackForSampleTraceId
(traceId, timestamp)
src/third_party/lighthouse-devtools-mcp-bundle.js:18075
↓ 1 callers
Method
#getStatusFromRequest
(request: HTTPRequest)
src/formatters/NetworkFormatter.ts:214
↓ 1 callers
Method
#handle
(req: IncomingMessage, res: ServerResponse)
tests/server.ts:72
↓ 1 callers
Method
#handleActivateLayerTree
()
src/third_party/lighthouse-devtools-mcp-bundle.js:21339
↓ 1 callers
Method
#handleBeginFrame
(startTime, seqId)
src/third_party/lighthouse-devtools-mcp-bundle.js:21293
↓ 1 callers
Method
#handleCommit
()
src/third_party/lighthouse-devtools-mcp-bundle.js:21353
↓ 1 callers
Method
#handleDrawFrame
(startTime, seqId)
src/third_party/lighthouse-devtools-mcp-bundle.js:21308
↓ 1 callers
Method
#handleDroppedFrame
(startTime, seqId, isPartial)
src/third_party/lighthouse-devtools-mcp-bundle.js:21300
↓ 1 callers
Method
#handleLayerTreeSnapshot
(layerTree)
src/third_party/lighthouse-devtools-mcp-bundle.js:21362
↓ 1 callers
Method
#handleNeedFrameChanged
(startTime, needsBeginFrame)
src/third_party/lighthouse-devtools-mcp-bundle.js:21365
↓ 1 callers
Method
#handleRequestMainThreadFrame
()
src/third_party/lighthouse-devtools-mcp-bundle.js:21347
↓ 1 callers
Method
#init
()
src/McpContext.ts:154
↓ 1 callers
Method
#initializePage
(page: Page)
src/PageCollector.ts:115
↓ 1 callers
Method
#loadDetailedData
()
src/formatters/NetworkFormatter.ts:75
↓ 1 callers
Method
#loadSnapshot
( absolutePath: string, uid: number, )
src/HeapSnapshotManager.ts:290
↓ 1 callers
Method
#lookupCause
( devTools: TargetUniverse | undefined, error: Protocol.Runtime.RemoteObject, targetId: string,
src/devtools/DevtoolsUtils.ts:424
↓ 1 callers
Method
#nodeToJSON
(node: TextSnapshotNode)
src/formatters/SnapshotFormatter.ts:57
↓ 1 callers
Method
#passConfigToHandlers
()
src/third_party/lighthouse-devtools-mcp-bundle.js:30921
↓ 1 callers
Method
#processCompositorEvents
(entry)
src/third_party/lighthouse-devtools-mcp-bundle.js:21431
↓ 1 callers
Method
#registerSyntheticEvent
* Registers and returns a branded synthetic event. Synthetic events need to * be created with this method to ensure they are registered and mad
src/third_party/lighthouse-devtools-mcp-bundle.js:16624
↓ 1 callers
Method
#resolveElementHandle
( node: TextSnapshotNode, uid: string, )
src/McpPage.ts:350
↓ 1 callers
Method
#shouldLogDailyActive
(state: LocalState)
src/telemetry/ClearcutLogger.ts:201
↓ 1 callers
Method
#startForwardingCdpEvents
(session: puppeteer.CDPSession)
src/devtools/DevToolsConnectionAdapter.ts:78
↓ 1 callers
Method
#validateUrlAllowed
(url: URL)
src/McpContext.ts:977
↓ 1 callers
Method
#validateUrlNotBlocked
(url: URL)
src/McpContext.ts:965
↓ 1 callers
Method
#verifyHandlers
* When the user passes in a set of handlers, we want to ensure that we have all * the required handlers. Handlers can depend on other handlers,
src/third_party/lighthouse-devtools-mcp-bundle.js:30935
↓ 1 callers
Function
HaveUniqueNames
(tools: Array<{name: string}>)
scripts/update_metrics.ts:27
↓ 1 callers
Function
__await
(v)
src/third_party/lighthouse-devtools-mcp-bundle.js:4856
↓ 1 callers
Function
__await2
(v)
src/third_party/lighthouse-devtools-mcp-bundle.js:5388
↓ 1 callers
Function
__await3
(v)
src/third_party/lighthouse-devtools-mcp-bundle.js:6070
↓ 1 callers
Function
__read
(o, n)
src/third_party/lighthouse-devtools-mcp-bundle.js:4818
↓ 1 callers
Function
__read2
(o, n)
src/third_party/lighthouse-devtools-mcp-bundle.js:5350
↓ 1 callers
Function
__read3
(o, n)
src/third_party/lighthouse-devtools-mcp-bundle.js:6032
↓ 1 callers
Function
__values
(o)
src/third_party/lighthouse-devtools-mcp-bundle.js:4807
↓ 1 callers
Function
__values2
(o)
src/third_party/lighthouse-devtools-mcp-bundle.js:5339
↓ 1 callers
Function
__values3
(o)
src/third_party/lighthouse-devtools-mcp-bundle.js:6021
↓ 1 callers
Method
_chooseInitiatorRequest
* @param {NetworkRequest} record The record to find the initiator of * @param {Map<string, NetworkRequest[]>} recordsByURL * @return {Ne
src/third_party/lighthouse-devtools-mcp-bundle.js:33515
↓ 1 callers
Function
_cleanup
({ requestedUrl, driver, resolvedConfig, lhBrowser, lhPage })
src/third_party/lighthouse-devtools-mcp-bundle.js:61157
↓ 1 callers
Function
_cleanupNavigation
({ driver })
src/third_party/lighthouse-devtools-mcp-bundle.js:61048
↓ 1 callers
Function
_collectDebugData
(navigationContext, phaseState)
src/third_party/lighthouse-devtools-mcp-bundle.js:61075
↓ 1 callers
Function
_computeNavigationResult
(navigationContext, phaseState, navigateResult)
src/third_party/lighthouse-devtools-mcp-bundle.js:61090
↓ 1 callers
Method
_emitNetworkStatus
* Emits the appropriate network status event.
src/third_party/lighthouse-devtools-mcp-bundle.js:59629
↓ 1 callers
Method
_fetchResourceOverProtocol
* @param {string} url * @param {{timeout: number}} options timeout is in ms * @return {Promise<FetchResponse>}
src/third_party/lighthouse-devtools-mcp-bundle.js:59463
↓ 1 callers
Method
_fetchWithFetchApi
* @param {string} url * @return {Promise<FetchResponse>}
src/third_party/lighthouse-devtools-mcp-bundle.js:59407
↓ 1 callers
Method
_findOriginalLocation
* @param {LH.Artifacts.Bundle} bundle * @param {number} generatedLine * @param {number} generatedColumn * @return {LH.Audit.Detai
src/third_party/lighthouse-devtools-mcp-bundle.js:4344
↓ 1 callers
Method
_findSession
* @param {string} sessionId * @return {LH.Gatherer.ProtocolSession}
src/third_party/lighthouse-devtools-mcp-bundle.js:59227
↓ 1 callers
Function
_formatPathAsString
(pathInLHR)
src/third_party/lighthouse-devtools-mcp-bundle.js:9832
↓ 1 callers
Method
_getProtocolEventListener
* Returns a listener for all protocol events from session, and augments the * event with the sessionId. * @param {LH.Protocol.TargetType} target
src/third_party/lighthouse-devtools-mcp-bundle.js:59320
↓ 1 callers
Method
_getTiming
* This handles both the auditMode case where gatherer entries need to be merged in and * the gather/audit case where timingEntriesFromRunner co
src/third_party/lighthouse-devtools-mcp-bundle.js:58774
↓ 1 callers
Method
_headersDictToHeadersArray
* Based on DevTools NetworkManager. * @see https://github.com/ChromeDevTools/devtools-frontend/blob/3415ee28e86a3f4bcc2e15b652d22069938df3a6/fr
src/third_party/lighthouse-devtools-mcp-bundle.js:33151
↓ 1 callers
Method
_isAcceptedTargetType
* @param {string} targetType * @return {targetType is LH.Protocol.TargetType}
src/third_party/lighthouse-devtools-mcp-bundle.js:59237
↓ 1 callers
Function
_isAlphaOrSlash
(codepoint)
src/third_party/lighthouse-devtools-mcp-bundle.js:9001
↓ 1 callers
Method
_isNavigationStartOfInterest
* Returns true if the event is a navigation start event of a document whose URL seems valid. * * @param {LH.TraceEvent} event * @
src/third_party/lighthouse-devtools-mcp-bundle.js:1014
↓ 1 callers
Function
_isPatternSyntax
(c)
src/third_party/lighthouse-devtools-mcp-bundle.js:9013
↓ 1 callers
Function
_isPotentialElementNameChar
(c)
src/third_party/lighthouse-devtools-mcp-bundle.js:9005
↓ 1 callers
Method
_loadNetworkResource
* @param {string} url * @return {Promise<{stream: LH.Crdp.IO.StreamHandle|null, status: number|null}>}
src/third_party/lighthouse-devtools-mcp-bundle.js:59443
↓ 1 callers
Function
_localizeIcuMessage
(icuMessage, locale)
src/third_party/lighthouse-devtools-mcp-bundle.js:9779
↓ 1 callers
Method
_makeSnippetLinesArray
* @param {string} content * @param {number} maxLineLength * @return {LH.Audit.Details.SnippetValue['lines']}
src/third_party/lighthouse-devtools-mcp-bundle.js:4290
↓ 1 callers
Function
_navigate
(navigationContext)
src/third_party/lighthouse-devtools-mcp-bundle.js:61052
↓ 1 callers
Function
_navigation
(navigationContext)
src/third_party/lighthouse-devtools-mcp-bundle.js:61119
↓ 1 callers
Method
_normalizeAuditScore
* @param {number|null} score * @param {LH.Audit.ScoreDisplayMode} scoreDisplayMode * @param {string} auditId * @return {number|nu
src/third_party/lighthouse-devtools-mcp-bundle.js:4387
↓ 1 callers
Method
_onSessionAttached
* @param {LH.Puppeteer.CDPSession} cdpSession
src/third_party/lighthouse-devtools-mcp-bundle.js:59256
↓ 1 callers
Method
_parseAuditRefsList
* Extract and validate the list of category AuditRefs added by the plugin. * @param {unknown} auditRefsJson * @param {string} pluginName
src/third_party/lighthouse-devtools-mcp-bundle.js:35146
↓ 1 callers
Method
_parseAuditsList
* Extract and validate the list of AuditDefns added by the plugin (or undefined * if no additional audits are being added by the plugin).
src/third_party/lighthouse-devtools-mcp-bundle.js:35123
↓ 1 callers
Method
_parseCategory
* Extract and validate the category added by the plugin. * @param {unknown} categoryJson * @param {string} pluginName * @return {
src/third_party/lighthouse-devtools-mcp-bundle.js:35176
↓ 1 callers
Method
_parseGroups
* Extract and validate groups JSON added by the plugin. * @param {unknown} groupsJson * @param {string} pluginName * @return {Rec
src/third_party/lighthouse-devtools-mcp-bundle.js:35218
↓ 1 callers
Function
_preformatValues
(messageFormatter, values = {}, lhlMessage)
src/third_party/lighthouse-devtools-mcp-bundle.js:9727
↓ 1 callers
Method
_quantizeMetricSavings
* @param {LH.Audit.ProductMetricSavings|undefined} metricSavings * @return {LH.Audit.ProductMetricSavings|undefined}
src/third_party/lighthouse-devtools-mcp-bundle.js:4406
↓ 1 callers
Method
_readIOStream
* @param {string} handle * @param {{timeout: number}=} options, * @return {Promise<string>}
src/third_party/lighthouse-devtools-mcp-bundle.js:59424
↓ 1 callers
Method
_recomputeTimesWithResourceTiming
* Resolve differences between conflicting timing signals. Based on the property setters in DevTools. * @see https://github.com/ChromeDevTools/d
src/third_party/lighthouse-devtools-mcp-bundle.js:33048
↓ 1 callers
Method
_resolveUrl
* @param {string} url * @param {string} base * @return {string|undefined}
src/third_party/lighthouse-devtools-mcp-bundle.js:39039
↓ 1 callers
Method
_retrieveMapFromScript
* @param {LH.Gatherer.Driver} driver * @param {LH.Artifacts.Script} script * @return {Promise<LH.Artifacts.SourceMap>}
src/third_party/lighthouse-devtools-mcp-bundle.js:39051
↓ 1 callers
Method
_riskPercentiles
* Calculate duration at specified percentiles for given population of * durations. * If one of the durations overlaps the end of the win
src/third_party/lighthouse-devtools-mcp-bundle.js:1145
↓ 1 callers
Method
_runAudit
* Checks that the audit's required artifacts exist and runs the audit if so. * Otherwise returns error audit result. * @param {LH.Config
src/third_party/lighthouse-devtools-mcp-bundle.js:58871
↓ 1 callers
Method
_runAudits
* Run all audits with specified settings and artifacts. * @param {LH.Config.Settings} settings * @param {Array<LH.Config.AuditDefn>} aud
src/third_party/lighthouse-devtools-mcp-bundle.js:58813
↓ 1 callers
Function
_setup
({ driver, resolvedConfig, requestor })
src/third_party/lighthouse-devtools-mcp-bundle.js:61035
↓ 1 callers
Method
_sortTimestampEventGroup
* This method sorts a group of trace events that have the same timestamp. We want to... * * 1. Put E events first, we finish off our exi
src/third_party/lighthouse-devtools-mcp-bundle.js:1037
↓ 1 callers
Method
_updateProtocolForLightrider
* LR loses protocol information.
src/third_party/lighthouse-devtools-mcp-bundle.js:33094
↓ 1 callers
Function
acceptJSInvocationsPredicate
(event)
src/third_party/lighthouse-devtools-mcp-bundle.js:20529
↓ 1 callers
Method
acquire
()
src/Mutex.ts:22
↓ 1 callers
Method
acquireConnection
(request)
src/third_party/lighthouse-devtools-mcp-bundle.js:13765
↓ 1 callers
Method
activate
(manager)
src/third_party/lighthouse-devtools-mcp-bundle.js:16592
↓ 1 callers
Function
addChain
(path7)
src/third_party/lighthouse-devtools-mcp-bundle.js:29035
↓ 1 callers
Method
addChild
(child, selfTime, totalTime, transferSize)
src/third_party/lighthouse-devtools-mcp-bundle.js:24640
↓ 1 callers
Function
addEventToEntityMapping
(event, entityMappings3)
src/third_party/lighthouse-devtools-mcp-bundle.js:16002
↓ 1 callers
Function
addNetworkRequestToEntityMapping
(networkRequest, entityMappings3, requestTraceEvents)
src/third_party/lighthouse-devtools-mcp-bundle.js:16018
← previous
next →
701–800 of 3,308, ranked by callers