{
settings: {
export_header: "third_party/blink/renderer/core/core_export.h",
export_symbol: "CORE_EXPORT",
include_path: "third_party/blink/renderer/core/inspector",
includes: [
"third_party/blink/public/mojom/loader/same_document_navigation_type.mojom-shared.h",
"third_party/blink/public/web/web_media_inspector.h",
"third_party/blink/renderer/core/animation/animation.h",
"third_party/blink/renderer/core/core_probe_sink.h",
"third_party/blink/renderer/core/dom/character_data.h",
"third_party/blink/renderer/core/dom/pseudo_element.h",
"third_party/blink/renderer/core/frame/csp/content_security_policy.h",
"third_party/blink/renderer/core/html/html_slot_element.h",
"third_party/blink/renderer/core/loader/frame_loader_types.h",
"third_party/blink/renderer/core/page/chrome_client.h",
"third_party/blink/renderer/core/probe/core_probes.h",
"third_party/blink/renderer/core/speculation_rules/speculation_rule_set.h",
],
},
observers: {
AdTracker: {
include_path: "third_party/blink/renderer/core/frame",
probes: [
"CallFunction",
"ExecuteScript",
]
},
LCPScriptObserver: {
include_path: "third_party/blink/renderer/core/lcp_critical_path_predictor",
probes: [
"CallFunction",
"ExecuteScript",
]
},
AnimationFrameTimingMonitor: {
include_path: "third_party/blink/renderer/core/frame",
probes: [
"DidFinishSyncXHR",
"DidRunJavaScriptDialog",
"EvaluateScriptBlock",
"ExecuteScript",
"InvokeCallback",
"InvokeEventHandler",
"RecalculateStyle",
"UpdateLayout",
"WillHandlePromise",
]
},
InspectorIssueReporter: {
probes: [
"DidFailLoading",
"DomContentLoadedEventFired",
]
},
InspectorAnimationAgent: {
probes: [
"AnimationUpdated",
"DidClearDocumentOfWindowObject",
"DidCreateAnimation",
]
},
InspectorAuditsAgent: {
probes: [
"InspectorIssueAdded"
]
},
InspectorCSSAgent: {
probes: [
"ActiveStyleSheetsUpdated",
"DidMutateStyleSheet",
"GetTextPosition",
"DocumentDetached",
"FontsUpdated",
"ForcePseudoState",
"MediaQueryResultChanged",
"WillChangeStyleElement",
"LocalFontsEnabled",
"DidUpdateComputedStyle",
"RecalculateStyle",
"DidReplaceStyleSheetText",
]
},
InspectorDOMAgent: {
probes: [
"CharacterDataModified",
"DidCommitLoad",
'DidRestoreFromBackForwardCache',
"DidInsertDOMNode",
"DidInvalidateStyleAttr",
"DidModifyDOMAttr",
"DidPerformSlotDistribution",
"DidPushShadowRoot",
"DidRemoveDOMAttr",
"DomContentLoadedEventFired",
"FrameDocumentUpdated",
"FrameOwnerContentUpdated",
"NodeCreated",
"PseudoElementCreated",
"TopLayerElementsChanged",
"PseudoElementDestroyed",
"WillModifyDOMAttr",
"WillPopShadowRoot",
"WillRemoveDOMNode",
]
},
InspectorDOMDebuggerAgent: {
probes: [
"CharacterDataModified",
"DidInsertDOMNode",
"DidInvalidateStyleAttr",
"UserCallback",
"WillInsertDOMNode",
"WillModifyDOMAttr",
"WillSendXMLHttpOrFetchNetworkRequest",
"OnContentSecurityPolicyViolation",
]
},
InspectorEventBreakpointsAgent: {
probes: [
"BreakableLocation",
"DidCreateOffscreenCanvasContext",
"DidCreateCanvasContext",
"DidCreateOffscreenCanvasContext",
"DidFireWebGLError",
"DidFireWebGLErrorOrWarning",
"DidFireWebGLWarning",
"DidCreateAudioContext",
"DidCloseAudioContext",
"DidResumeAudioContext",
"DidSuspendAudioContext",
"ExecuteScript",
"ScriptExecutionBlockedByCSP",
"UserCallback",
]
},
InspectorDOMSnapshotAgent: {
probes: [
"CharacterDataModified",
"DidInsertDOMNode",
]
},
InspectorEmulationAgent: {
probes: [
"ApplyAcceptLanguageOverride",
"ApplyHardwareConcurrencyOverride",
"ApplyUserAgentOverride",
"ApplyUserAgentMetadataOverride",
"PrepareRequest",
"GetDisabledImageTypes",
"WillCommitLoad",
"WillCreateDocumentParser",
"ApplyAutomationOverride",
]
},
InspectorOverlayAgent: {
probes: [
"DidInitializeFrameWidget",
]
},
InspectorLayerTreeAgent: {
probes: [
"LayerTreeDidChange",
"LayerTreePainted",
]
},
InspectorLogAgent: {
probes: [
"ConsoleMessageAdded",
]
},
InspectorMediaAgent: {
probes: [
"PlayerErrorsRaised",
"PlayerEventsAdded",
"PlayerMessagesLogged",
"PlayerPropertiesChanged",
"PlayersCreated"
]
},
InspectorNetworkAgent: {
probes: [
"DidBlockRequest",
"DidChangeResourcePriority",
"DidCloseWebSocket",
"DidCommitLoad",
"DidFailLoading",
"DidFinishLoading",
"DidFinishXHR",
"DidReceiveCorsRedirectResponse",
"DidReceiveData",
"DidReceiveBlob",
"DidReceiveEncodedDataLength",
"DidReceiveResourceResponse",
"DidReceiveScriptResponse",
"DidReceiveWebSocketMessage",
"DidReceiveWebSocketMessageError",
"DidReceiveWebSocketHandshakeResponse",
"DidSendWebSocketMessage",
"FrameClearedScheduledNavigation",
"FrameScheduledNavigation",
"MarkResourceAsCached",
"PrepareRequest",
"ScriptImported",
"ShouldBlockRequest",
"ShouldBypassServiceWorker",
"ShouldForceCorsPreflight",
"WebTransportCreated",
"WebTransportConnectionEstablished",
"WebTransportClosed",
"WillCreateP2PSocketUdp",
"WillCreateWebSocket",
"WillDispatchEventSourceEvent",
"WillLoadXHR",
"WillSendEventSourceRequest",
"WillSendRequest",
"WillSendNavigationRequest",
"WillSendWebSocketHandshakeRequest",
"SetDevToolsIds",
"IsCacheDisabled",
]
},
InspectorPageAgent: {
probes: [
"ApplyCompilationModeOverride",
"DidChangeViewport",
"DidCreateMainWorldContext",
"DidNavigateWithinDocument",
"WillCommitLoad",
"DidRestoreFromBackForwardCache",
"DidResizeMainFrame",
"DidRunJavaScriptDialog",
"DomContentLoadedEventFired",
"DidOpenDocument",
"FileChooserOpened",
"FrameAttachedToParent",
"FrameClearedScheduledNavigation",
"FrameDetachedFromParent",
"FrameSubtreeWillBeDetached",
"FrameRequestedNavigation",
"FrameScheduledNavigation",
"FrameStoppedLoading",
"LifecycleEvent",
"LoadEventFired",
"PaintTiming",
"DidProduceCompilationCache",
"RecalculateStyle",
"UpdateLayout",
"WillRunJavaScriptDialog",
"WindowOpen",
]
},
PerformanceMonitor: {
include_path: "third_party/blink/renderer/core/frame",
probes: [
"CallFunction",
"ExecuteScript",
"RecalculateStyle",
"UpdateLayout",
"UserCallback",
"V8Compile",
"DocumentWriteFetchScript",
]
},
InspectorPerformanceAgent: {
probes: [
"ConsoleTimeStamp",
"CallFunction",
"ExecuteScript",
"RecalculateStyle",
"UpdateLayout",
"V8Compile",
"WillStartDebuggerTask",
"DidFinishDebuggerTask",
]
},
InspectorPerformanceTimelineAgent: {
probes: [
"PerformanceEntryAdded",
]
},
InspectorPreloadAgent: {
probes: [
"DidAddSpeculationRuleSet",
"DidRemoveSpeculationRuleSet",
"SpeculationCandidatesUpdated",
]
},
InspectorTraceEvents: {
probes: [
"CallFunction",
"ParseHTML",
"DidFailLoading",
"DidFinishLoading",
"DidReceiveData",
"DidReceiveResourceResponse",
"FrameStartedLoading",
"MarkResourceAsCached",
"PaintTiming",
"WillSendRequest",
"WillSendNavigationRequest",
]
},
DevToolsSession: {
class: "DevToolsSession",
probes: [
"DidStartProvisionalLoad",
"DidFailProvisionalLoad",
"DidCommitLoad",
"PaintTiming",
"DomContentLoadedEventFired",
]
},
}
}