Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: third_party/WebKit/Source/core/probe/CoreProbes.json5

Issue 2798453002: [instrumentation]: Move probe subscriptions to JSON5 config file from PIDL. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 settings: { 2 settings: {
3 export_symbol: "CORE_EXPORT", 3 export_symbol: "CORE_EXPORT",
4 default_include: "core/inspector" 4 default_include: "core/inspector",
5 probes_header: "core/probe/CoreProbes.h"
5 }, 6 },
6 observers: { 7 observers: {
8 Animation: {
9 probes: [
10 "animationPlayStateChanged",
11 "didClearDocumentOfWindowObject",
12 "didCreateAnimation",
13 ]
14 },
15 ApplicationCache: {
16 probes: [
17 "networkStateChanged",
18 "updateApplicationCacheStatus",
19 ]
20 },
21 CSS: {
22 probes: [
23 "activeStyleSheetsUpdated",
24 "documentDetached",
25 "fontsUpdated",
26 "forcePseudoState",
27 "mediaQueryResultChanged",
28 ]
29 },
30 DOM: {
31 probes: [
32 "characterDataModified",
33 "didCommitLoad",
34 "didInsertDOMNode",
35 "didInvalidateStyleAttr",
36 "didModifyDOMAttr",
37 "didPerformElementShadowDistribution",
38 "didPerformSlotDistribution",
39 "didPushShadowRoot",
40 "didRemoveDOMAttr",
41 "domContentLoadedEventFired",
42 "frameDocumentUpdated",
43 "pseudoElementCreated",
44 "pseudoElementDestroyed",
45 "willModifyDOMAttr",
46 "willPopShadowRoot",
47 "willRemoveDOMNode",
48 ]
49 },
50 DOMDebugger: {
51 probes: [
52 "breakableLocation",
53 "didCreateCanvasContext",
54 "didFireWebGLError",
55 "didFireWebGLErrorOrWarning",
56 "didFireWebGLWarning",
57 "didInsertDOMNode",
58 "didInvalidateStyleAttr",
59 "ExecuteScript",
60 "scriptExecutionBlockedByCSP",
61 "UserCallback",
62 "willInsertDOMNode",
63 "willModifyDOMAttr",
64 "willRemoveDOMNode",
65 "willSendXMLHttpOrFetchNetworkRequest",
66 ]
67 },
68 LayerTree: {
69 probes: [
70 "didPaint",
71 "layerTreeDidChange",
72 ]
73 },
74 Log: {
75 probes: [
76 "consoleMessageAdded",
77 ]
78 },
7 Network: { 79 Network: {
8 class: "InspectorNetworkAgent" 80 class: "InspectorNetworkAgent",
81 probes: [
82 "applyUserAgentOverride",
83 "detachClientRequest",
84 "didBlockRequest",
85 "didChangeResourcePriority",
86 "didCloseWebSocket",
87 "didCommitLoad",
88 "didCreateWebSocket",
89 "didFailFetch",
90 "didFailLoading",
91 "didFailXHRLoading",
92 "didFinishEventSourceRequest",
93 "didFinishFetch",
94 "didFinishLoading",
95 "didFinishXHRLoading",
96 "didReceiveCORSRedirectResponse",
97 "didReceiveData",
98 "didReceiveEncodedDataLength",
99 "didReceiveResourceResponse",
100 "didReceiveScriptResponse",
101 "didReceiveWebSocketFrame",
102 "didReceiveWebSocketFrameError",
103 "didReceiveWebSocketHandshakeResponse",
104 "didSendWebSocketFrame",
105 "documentThreadableLoaderFailedToStartLoadingForClient",
106 "documentThreadableLoaderStartedLoadingForClient",
107 "frameClearedScheduledClientNavigation",
108 "frameClearedScheduledNavigation",
109 "frameScheduledClientNavigation",
110 "frameScheduledNavigation",
111 "markResourceAsCached",
112 "scriptImported",
113 "shouldBlockRequest",
114 "shouldForceCORSPreflight",
115 "willDispatchEventSourceEvent",
116 "willLoadXHR",
117 "willSendEventSourceRequest",
118 "willSendRequest",
119 "willSendWebSocketHandshakeRequest",
120 "willStartFetch",
121 ]
9 }, 122 },
10 TraceEvents: { 123 Page: {
11 class: "InspectorTraceEvents" 124 probes: [
125 "didChangeViewport",
126 "didClearDocumentOfWindowObject",
127 "didCommitLoad",
128 "didResizeMainFrame",
129 "didRunJavaScriptDialog",
130 "domContentLoadedEventFired",
131 "frameAttachedToParent",
132 "frameClearedScheduledNavigation",
133 "frameDetachedFromParent",
134 "frameScheduledNavigation",
135 "frameStartedLoading",
136 "frameStoppedLoading",
137 "loadEventFired",
138 "RecalculateStyle",
139 "UpdateLayout",
140 "willRunJavaScriptDialog",
141 "windowCreated",
142 ]
12 }, 143 },
13 Performance: { 144 Performance: {
14 class: "PerformanceMonitor", 145 class: "PerformanceMonitor",
15 include: "core/frame" 146 include: "core/frame",
16 } 147 probes: [
148 "CallFunction",
149 "documentWriteFetchScript",
150 "ExecuteScript",
151 "RecalculateStyle",
152 "UpdateLayout",
153 "UserCallback",
154 ]
155 },
156 TraceEvents: {
157 class: "InspectorTraceEvents",
158 probes: [
159 "CallFunction",
160 "didFailLoading",
161 "didFinishLoading",
162 "didReceiveData",
163 "didReceiveResourceResponse",
164 "ParseHTML",
165 "willSendRequest",
166 ]
167 },
168 Tracing: {
169 probes: [
170 "frameStartedLoading",
171 "frameStoppedLoading",
172 ]
173 },
174 Worker: {
175 probes: [
176 "didStartWorker",
177 "shouldWaitForDebuggerOnWorkerStart",
178 "workerTerminated",
179 ]
180 },
17 } 181 }
18 } 182 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698