Index: third_party/WebKit/Source/core/probe/CoreProbes.json5 |
diff --git a/third_party/WebKit/Source/core/probe/CoreProbes.json5 b/third_party/WebKit/Source/core/probe/CoreProbes.json5 |
index 55c17aabaecaf4f45af1aec1490411bbfbff1560..133d29e44d4fe55cebd0bf6e74beba25645571af 100644 |
--- a/third_party/WebKit/Source/core/probe/CoreProbes.json5 |
+++ b/third_party/WebKit/Source/core/probe/CoreProbes.json5 |
@@ -1,18 +1,182 @@ |
{ |
settings: { |
export_symbol: "CORE_EXPORT", |
- default_include: "core/inspector" |
+ default_include: "core/inspector", |
+ probes_header: "core/probe/CoreProbes.h" |
}, |
observers: { |
+ Animation: { |
+ probes: [ |
+ "animationPlayStateChanged", |
+ "didClearDocumentOfWindowObject", |
+ "didCreateAnimation", |
+ ] |
+ }, |
+ ApplicationCache: { |
+ probes: [ |
+ "networkStateChanged", |
+ "updateApplicationCacheStatus", |
+ ] |
+ }, |
+ CSS: { |
+ probes: [ |
+ "activeStyleSheetsUpdated", |
+ "documentDetached", |
+ "fontsUpdated", |
+ "forcePseudoState", |
+ "mediaQueryResultChanged", |
+ ] |
+ }, |
+ DOM: { |
+ probes: [ |
+ "characterDataModified", |
+ "didCommitLoad", |
+ "didInsertDOMNode", |
+ "didInvalidateStyleAttr", |
+ "didModifyDOMAttr", |
+ "didPerformElementShadowDistribution", |
+ "didPerformSlotDistribution", |
+ "didPushShadowRoot", |
+ "didRemoveDOMAttr", |
+ "domContentLoadedEventFired", |
+ "frameDocumentUpdated", |
+ "pseudoElementCreated", |
+ "pseudoElementDestroyed", |
+ "willModifyDOMAttr", |
+ "willPopShadowRoot", |
+ "willRemoveDOMNode", |
+ ] |
+ }, |
+ DOMDebugger: { |
+ probes: [ |
+ "breakableLocation", |
+ "didCreateCanvasContext", |
+ "didFireWebGLError", |
+ "didFireWebGLErrorOrWarning", |
+ "didFireWebGLWarning", |
+ "didInsertDOMNode", |
+ "didInvalidateStyleAttr", |
+ "ExecuteScript", |
+ "scriptExecutionBlockedByCSP", |
+ "UserCallback", |
+ "willInsertDOMNode", |
+ "willModifyDOMAttr", |
+ "willRemoveDOMNode", |
+ "willSendXMLHttpOrFetchNetworkRequest", |
+ ] |
+ }, |
+ LayerTree: { |
+ probes: [ |
+ "didPaint", |
+ "layerTreeDidChange", |
+ ] |
+ }, |
+ Log: { |
+ probes: [ |
+ "consoleMessageAdded", |
+ ] |
+ }, |
Network: { |
- class: "InspectorNetworkAgent" |
+ class: "InspectorNetworkAgent", |
+ probes: [ |
+ "applyUserAgentOverride", |
+ "detachClientRequest", |
+ "didBlockRequest", |
+ "didChangeResourcePriority", |
+ "didCloseWebSocket", |
+ "didCommitLoad", |
+ "didCreateWebSocket", |
+ "didFailFetch", |
+ "didFailLoading", |
+ "didFailXHRLoading", |
+ "didFinishEventSourceRequest", |
+ "didFinishFetch", |
+ "didFinishLoading", |
+ "didFinishXHRLoading", |
+ "didReceiveCORSRedirectResponse", |
+ "didReceiveData", |
+ "didReceiveEncodedDataLength", |
+ "didReceiveResourceResponse", |
+ "didReceiveScriptResponse", |
+ "didReceiveWebSocketFrame", |
+ "didReceiveWebSocketFrameError", |
+ "didReceiveWebSocketHandshakeResponse", |
+ "didSendWebSocketFrame", |
+ "documentThreadableLoaderFailedToStartLoadingForClient", |
+ "documentThreadableLoaderStartedLoadingForClient", |
+ "frameClearedScheduledClientNavigation", |
+ "frameClearedScheduledNavigation", |
+ "frameScheduledClientNavigation", |
+ "frameScheduledNavigation", |
+ "markResourceAsCached", |
+ "scriptImported", |
+ "shouldBlockRequest", |
+ "shouldForceCORSPreflight", |
+ "willDispatchEventSourceEvent", |
+ "willLoadXHR", |
+ "willSendEventSourceRequest", |
+ "willSendRequest", |
+ "willSendWebSocketHandshakeRequest", |
+ "willStartFetch", |
+ ] |
}, |
- TraceEvents: { |
- class: "InspectorTraceEvents" |
+ Page: { |
+ probes: [ |
+ "didChangeViewport", |
+ "didClearDocumentOfWindowObject", |
+ "didCommitLoad", |
+ "didResizeMainFrame", |
+ "didRunJavaScriptDialog", |
+ "domContentLoadedEventFired", |
+ "frameAttachedToParent", |
+ "frameClearedScheduledNavigation", |
+ "frameDetachedFromParent", |
+ "frameScheduledNavigation", |
+ "frameStartedLoading", |
+ "frameStoppedLoading", |
+ "loadEventFired", |
+ "RecalculateStyle", |
+ "UpdateLayout", |
+ "willRunJavaScriptDialog", |
+ "windowCreated", |
+ ] |
}, |
Performance: { |
class: "PerformanceMonitor", |
- include: "core/frame" |
- } |
+ include: "core/frame", |
+ probes: [ |
+ "CallFunction", |
+ "documentWriteFetchScript", |
+ "ExecuteScript", |
+ "RecalculateStyle", |
+ "UpdateLayout", |
+ "UserCallback", |
+ ] |
+ }, |
+ TraceEvents: { |
+ class: "InspectorTraceEvents", |
+ probes: [ |
+ "CallFunction", |
+ "didFailLoading", |
+ "didFinishLoading", |
+ "didReceiveData", |
+ "didReceiveResourceResponse", |
+ "ParseHTML", |
+ "willSendRequest", |
+ ] |
+ }, |
+ Tracing: { |
+ probes: [ |
+ "frameStartedLoading", |
+ "frameStoppedLoading", |
+ ] |
+ }, |
+ Worker: { |
+ probes: [ |
+ "didStartWorker", |
+ "shouldWaitForDebuggerOnWorkerStart", |
+ "workerTerminated", |
+ ] |
+ }, |
} |
} |