devtools-tracing 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (528) hide show
  1. package/.claude/settings.local.json +14 -0
  2. package/dist/index.d.ts +4 -0
  3. package/dist/index.js +28854 -0
  4. package/package.json +10 -8
  5. package/generate.ts +0 -649
  6. package/index.ts +0 -17
  7. package/lib/extension-api/ExtensionAPI.d.ts +0 -357
  8. package/lib/front_end/core/common/App.ts +0 -7
  9. package/lib/front_end/core/common/AppProvider.ts +0 -32
  10. package/lib/front_end/core/common/Base64.ts +0 -47
  11. package/lib/front_end/core/common/CharacterIdMap.ts +0 -30
  12. package/lib/front_end/core/common/Color.ts +0 -2506
  13. package/lib/front_end/core/common/ColorConverter.ts +0 -402
  14. package/lib/front_end/core/common/ColorUtils.ts +0 -252
  15. package/lib/front_end/core/common/Console.ts +0 -114
  16. package/lib/front_end/core/common/Debouncer.ts +0 -15
  17. package/lib/front_end/core/common/EventTarget.ts +0 -52
  18. package/lib/front_end/core/common/Gzip.ts +0 -74
  19. package/lib/front_end/core/common/JavaScriptMetaData.ts +0 -29
  20. package/lib/front_end/core/common/Lazy.ts +0 -31
  21. package/lib/front_end/core/common/Linkifier.ts +0 -55
  22. package/lib/front_end/core/common/MapWithDefault.ts +0 -26
  23. package/lib/front_end/core/common/Mutex.ts +0 -55
  24. package/lib/front_end/core/common/Object.ts +0 -145
  25. package/lib/front_end/core/common/ParsedURL.ts +0 -554
  26. package/lib/front_end/core/common/Progress.ts +0 -180
  27. package/lib/front_end/core/common/QueryParamHandler.ts +0 -7
  28. package/lib/front_end/core/common/ResolverBase.ts +0 -85
  29. package/lib/front_end/core/common/ResourceType.ts +0 -588
  30. package/lib/front_end/core/common/ReturnToPanel.ts +0 -17
  31. package/lib/front_end/core/common/Revealer.ts +0 -192
  32. package/lib/front_end/core/common/Runnable.ts +0 -41
  33. package/lib/front_end/core/common/SegmentedRange.ts +0 -87
  34. package/lib/front_end/core/common/SettingRegistration.ts +0 -339
  35. package/lib/front_end/core/common/Settings.ts +0 -1497
  36. package/lib/front_end/core/common/SimpleHistoryManager.ts +0 -124
  37. package/lib/front_end/core/common/StringOutputStream.ts +0 -26
  38. package/lib/front_end/core/common/TextDictionary.ts +0 -48
  39. package/lib/front_end/core/common/Throttler.ts +0 -99
  40. package/lib/front_end/core/common/Trie.ts +0 -152
  41. package/lib/front_end/core/common/Worker.ts +0 -60
  42. package/lib/front_end/core/common/common.ts +0 -81
  43. package/lib/front_end/core/host/AidaClient.ts +0 -733
  44. package/lib/front_end/core/host/GdpClient.ts +0 -316
  45. package/lib/front_end/core/host/InspectorFrontendHost.ts +0 -648
  46. package/lib/front_end/core/host/InspectorFrontendHostAPI.ts +0 -551
  47. package/lib/front_end/core/host/Platform.ts +0 -76
  48. package/lib/front_end/core/host/ResourceLoader.ts +0 -282
  49. package/lib/front_end/core/host/UserMetrics.ts +0 -1230
  50. package/lib/front_end/core/host/host.ts +0 -23
  51. package/lib/front_end/core/i18n/ByteUtilities.ts +0 -82
  52. package/lib/front_end/core/i18n/DevToolsLocale.ts +0 -87
  53. package/lib/front_end/core/i18n/NumberFormatter.ts +0 -82
  54. package/lib/front_end/core/i18n/i18n.ts +0 -17
  55. package/lib/front_end/core/i18n/i18nImpl.ts +0 -204
  56. package/lib/front_end/core/i18n/i18nTypes.ts +0 -10
  57. package/lib/front_end/core/i18n/locales.js +0 -14
  58. package/lib/front_end/core/i18n/time-utilities.ts +0 -174
  59. package/lib/front_end/core/platform/ArrayUtilities.ts +0 -271
  60. package/lib/front_end/core/platform/Brand.ts +0 -23
  61. package/lib/front_end/core/platform/Constructor.ts +0 -10
  62. package/lib/front_end/core/platform/DOMUtilities.ts +0 -138
  63. package/lib/front_end/core/platform/DateUtilities.ts +0 -15
  64. package/lib/front_end/core/platform/DevToolsPath.ts +0 -53
  65. package/lib/front_end/core/platform/KeyboardUtilities.ts +0 -38
  66. package/lib/front_end/core/platform/MapUtilities.ts +0 -95
  67. package/lib/front_end/core/platform/MimeType.ts +0 -175
  68. package/lib/front_end/core/platform/NumberUtilities.ts +0 -80
  69. package/lib/front_end/core/platform/StringUtilities.ts +0 -588
  70. package/lib/front_end/core/platform/Timing.ts +0 -17
  71. package/lib/front_end/core/platform/TypedArrayUtilities.ts +0 -189
  72. package/lib/front_end/core/platform/TypescriptUtilities.ts +0 -86
  73. package/lib/front_end/core/platform/UIString.ts +0 -39
  74. package/lib/front_end/core/platform/UserVisibleError.ts +0 -28
  75. package/lib/front_end/core/platform/platform.ts +0 -45
  76. package/lib/front_end/core/protocol_client/ConnectionTransport.ts +0 -26
  77. package/lib/front_end/core/protocol_client/InspectorBackend.ts +0 -1050
  78. package/lib/front_end/core/protocol_client/NodeURL.ts +0 -42
  79. package/lib/front_end/core/protocol_client/protocol_client.ts +0 -13
  80. package/lib/front_end/core/root/Runtime.ts +0 -609
  81. package/lib/front_end/core/root/root.ts +0 -6
  82. package/lib/front_end/core/sdk/AccessibilityModel.ts +0 -353
  83. package/lib/front_end/core/sdk/AnimationModel.ts +0 -1041
  84. package/lib/front_end/core/sdk/AutofillModel.ts +0 -184
  85. package/lib/front_end/core/sdk/CPUProfilerModel.ts +0 -148
  86. package/lib/front_end/core/sdk/CPUThrottlingManager.ts +0 -282
  87. package/lib/front_end/core/sdk/CSSContainerQuery.ts +0 -139
  88. package/lib/front_end/core/sdk/CSSFontFace.ts +0 -40
  89. package/lib/front_end/core/sdk/CSSLayer.ts +0 -30
  90. package/lib/front_end/core/sdk/CSSMatchedStyles.ts +0 -1646
  91. package/lib/front_end/core/sdk/CSSMedia.ts +0 -121
  92. package/lib/front_end/core/sdk/CSSMetadata.ts +0 -1647
  93. package/lib/front_end/core/sdk/CSSModel.ts +0 -1128
  94. package/lib/front_end/core/sdk/CSSProperty.ts +0 -384
  95. package/lib/front_end/core/sdk/CSSPropertyParser.ts +0 -681
  96. package/lib/front_end/core/sdk/CSSPropertyParserMatchers.ts +0 -1395
  97. package/lib/front_end/core/sdk/CSSQuery.ts +0 -72
  98. package/lib/front_end/core/sdk/CSSRule.ts +0 -465
  99. package/lib/front_end/core/sdk/CSSScope.ts +0 -30
  100. package/lib/front_end/core/sdk/CSSStartingStyle.ts +0 -29
  101. package/lib/front_end/core/sdk/CSSStyleDeclaration.ts +0 -313
  102. package/lib/front_end/core/sdk/CSSStyleSheetHeader.ts +0 -196
  103. package/lib/front_end/core/sdk/CSSSupports.ts +0 -33
  104. package/lib/front_end/core/sdk/CategorizedBreakpoint.ts +0 -64
  105. package/lib/front_end/core/sdk/ChildTargetManager.ts +0 -314
  106. package/lib/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +0 -62
  107. package/lib/front_end/core/sdk/Connections.ts +0 -293
  108. package/lib/front_end/core/sdk/ConsoleModel.ts +0 -808
  109. package/lib/front_end/core/sdk/ConsoleModelTypes.ts +0 -15
  110. package/lib/front_end/core/sdk/Cookie.ts +0 -319
  111. package/lib/front_end/core/sdk/CookieModel.ts +0 -239
  112. package/lib/front_end/core/sdk/CookieParser.ts +0 -185
  113. package/lib/front_end/core/sdk/DOMDebuggerModel.ts +0 -787
  114. package/lib/front_end/core/sdk/DOMModel.ts +0 -1961
  115. package/lib/front_end/core/sdk/DebuggerModel.ts +0 -1605
  116. package/lib/front_end/core/sdk/EmulationModel.ts +0 -648
  117. package/lib/front_end/core/sdk/EnhancedTracesParser.ts +0 -515
  118. package/lib/front_end/core/sdk/EventBreakpointsModel.ts +0 -183
  119. package/lib/front_end/core/sdk/FrameAssociated.ts +0 -11
  120. package/lib/front_end/core/sdk/FrameManager.ts +0 -259
  121. package/lib/front_end/core/sdk/HeapProfilerModel.ts +0 -225
  122. package/lib/front_end/core/sdk/HttpReasonPhraseStrings.ts +0 -77
  123. package/lib/front_end/core/sdk/IOModel.ts +0 -91
  124. package/lib/front_end/core/sdk/IsolateManager.ts +0 -257
  125. package/lib/front_end/core/sdk/IssuesModel.ts +0 -70
  126. package/lib/front_end/core/sdk/LayerTreeBase.ts +0 -169
  127. package/lib/front_end/core/sdk/LogModel.ts +0 -56
  128. package/lib/front_end/core/sdk/NetworkManager.ts +0 -2823
  129. package/lib/front_end/core/sdk/NetworkRequest.ts +0 -2253
  130. package/lib/front_end/core/sdk/OverlayColorGenerator.ts +0 -52
  131. package/lib/front_end/core/sdk/OverlayModel.ts +0 -1011
  132. package/lib/front_end/core/sdk/OverlayPersistentHighlighter.ts +0 -522
  133. package/lib/front_end/core/sdk/PageLoad.ts +0 -35
  134. package/lib/front_end/core/sdk/PageResourceLoader.ts +0 -435
  135. package/lib/front_end/core/sdk/PaintProfiler.ts +0 -110
  136. package/lib/front_end/core/sdk/PerformanceMetricsModel.ts +0 -84
  137. package/lib/front_end/core/sdk/PreloadingModel.ts +0 -863
  138. package/lib/front_end/core/sdk/RehydratingConnection.ts +0 -386
  139. package/lib/front_end/core/sdk/RehydratingObject.ts +0 -66
  140. package/lib/front_end/core/sdk/RemoteObject.ts +0 -1160
  141. package/lib/front_end/core/sdk/Resource.ts +0 -232
  142. package/lib/front_end/core/sdk/ResourceTreeModel.ts +0 -1160
  143. package/lib/front_end/core/sdk/RuntimeModel.ts +0 -732
  144. package/lib/front_end/core/sdk/SDKModel.ts +0 -65
  145. package/lib/front_end/core/sdk/ScopeTreeCache.ts +0 -45
  146. package/lib/front_end/core/sdk/ScreenCaptureModel.ts +0 -255
  147. package/lib/front_end/core/sdk/Script.ts +0 -534
  148. package/lib/front_end/core/sdk/SecurityOriginManager.ts +0 -76
  149. package/lib/front_end/core/sdk/ServerSentEvents.ts +0 -80
  150. package/lib/front_end/core/sdk/ServerSentEventsProtocol.ts +0 -122
  151. package/lib/front_end/core/sdk/ServerTiming.ts +0 -260
  152. package/lib/front_end/core/sdk/ServiceWorkerCacheModel.ts +0 -377
  153. package/lib/front_end/core/sdk/ServiceWorkerManager.ts +0 -605
  154. package/lib/front_end/core/sdk/SourceMap.ts +0 -867
  155. package/lib/front_end/core/sdk/SourceMapCache.ts +0 -54
  156. package/lib/front_end/core/sdk/SourceMapFunctionRanges.ts +0 -156
  157. package/lib/front_end/core/sdk/SourceMapManager.ts +0 -239
  158. package/lib/front_end/core/sdk/SourceMapScopeChainEntry.ts +0 -189
  159. package/lib/front_end/core/sdk/SourceMapScopesInfo.ts +0 -508
  160. package/lib/front_end/core/sdk/StorageBucketsModel.ts +0 -204
  161. package/lib/front_end/core/sdk/StorageKeyManager.ts +0 -98
  162. package/lib/front_end/core/sdk/Target.ts +0 -332
  163. package/lib/front_end/core/sdk/TargetManager.ts +0 -453
  164. package/lib/front_end/core/sdk/TraceObject.ts +0 -61
  165. package/lib/front_end/core/sdk/WebAuthnModel.ts +0 -104
  166. package/lib/front_end/core/sdk/sdk.ts +0 -174
  167. package/lib/front_end/entrypoints/formatter_worker/FormatterActions.ts +0 -59
  168. package/lib/front_end/generated/InspectorBackendCommands.js +0 -1617
  169. package/lib/front_end/generated/SupportedCSSProperties.js +0 -7512
  170. package/lib/front_end/generated/protocol-proxy-api.d.ts +0 -5022
  171. package/lib/front_end/generated/protocol.ts +0 -22014
  172. package/lib/front_end/models/bindings/CSSWorkspaceBinding.ts +0 -318
  173. package/lib/front_end/models/bindings/CompilerScriptMapping.ts +0 -536
  174. package/lib/front_end/models/bindings/ContentProviderBasedProject.ts +0 -187
  175. package/lib/front_end/models/bindings/DebuggerLanguagePlugins.ts +0 -1197
  176. package/lib/front_end/models/bindings/DebuggerWorkspaceBinding.ts +0 -733
  177. package/lib/front_end/models/bindings/DefaultScriptMapping.ts +0 -141
  178. package/lib/front_end/models/bindings/FileUtils.ts +0 -228
  179. package/lib/front_end/models/bindings/LiveLocation.ts +0 -81
  180. package/lib/front_end/models/bindings/NetworkProject.ts +0 -157
  181. package/lib/front_end/models/bindings/PresentationConsoleMessageHelper.ts +0 -312
  182. package/lib/front_end/models/bindings/ResourceMapping.ts +0 -539
  183. package/lib/front_end/models/bindings/ResourceScriptMapping.ts +0 -491
  184. package/lib/front_end/models/bindings/ResourceUtils.ts +0 -103
  185. package/lib/front_end/models/bindings/SASSSourceMapping.ts +0 -222
  186. package/lib/front_end/models/bindings/StylesSourceMapping.ts +0 -316
  187. package/lib/front_end/models/bindings/TempFile.ts +0 -67
  188. package/lib/front_end/models/bindings/bindings.ts +0 -39
  189. package/lib/front_end/models/cpu_profile/CPUProfileDataModel.ts +0 -571
  190. package/lib/front_end/models/cpu_profile/ProfileTreeModel.ts +0 -103
  191. package/lib/front_end/models/cpu_profile/cpu_profile.ts +0 -11
  192. package/lib/front_end/models/formatter/FormatterWorkerPool.ts +0 -219
  193. package/lib/front_end/models/formatter/ScriptFormatter.ts +0 -112
  194. package/lib/front_end/models/formatter/formatter.ts +0 -8
  195. package/lib/front_end/models/source_map_scopes/NamesResolver.ts +0 -765
  196. package/lib/front_end/models/source_map_scopes/ScopeChainModel.ts +0 -84
  197. package/lib/front_end/models/source_map_scopes/source_map_scopes.ts +0 -11
  198. package/lib/front_end/models/stack_trace/StackTrace.ts +0 -53
  199. package/lib/front_end/models/stack_trace/StackTraceImpl.ts +0 -85
  200. package/lib/front_end/models/stack_trace/StackTraceModel.ts +0 -128
  201. package/lib/front_end/models/stack_trace/Trie.ts +0 -163
  202. package/lib/front_end/models/stack_trace/stack_trace.ts +0 -9
  203. package/lib/front_end/models/stack_trace/stack_trace_impl.ts +0 -13
  204. package/lib/front_end/models/text_utils/CodeMirrorUtils.ts +0 -37
  205. package/lib/front_end/models/text_utils/ContentData.ts +0 -199
  206. package/lib/front_end/models/text_utils/ContentProvider.ts +0 -68
  207. package/lib/front_end/models/text_utils/StaticContentProvider.ts +0 -49
  208. package/lib/front_end/models/text_utils/StreamingContentData.ts +0 -108
  209. package/lib/front_end/models/text_utils/Text.ts +0 -90
  210. package/lib/front_end/models/text_utils/TextCursor.ts +0 -44
  211. package/lib/front_end/models/text_utils/TextRange.ts +0 -266
  212. package/lib/front_end/models/text_utils/TextUtils.ts +0 -401
  213. package/lib/front_end/models/text_utils/WasmDisassembly.ts +0 -87
  214. package/lib/front_end/models/text_utils/text_utils.ts +0 -27
  215. package/lib/front_end/models/trace/EntityMapper.ts +0 -141
  216. package/lib/front_end/models/trace/EventsSerializer.ts +0 -101
  217. package/lib/front_end/models/trace/LanternComputationData.ts +0 -438
  218. package/lib/front_end/models/trace/ModelImpl.ts +0 -236
  219. package/lib/front_end/models/trace/Name.ts +0 -136
  220. package/lib/front_end/models/trace/Processor.ts +0 -652
  221. package/lib/front_end/models/trace/Styles.ts +0 -1138
  222. package/lib/front_end/models/trace/extras/FilmStrip.ts +0 -78
  223. package/lib/front_end/models/trace/extras/MainThreadActivity.ts +0 -86
  224. package/lib/front_end/models/trace/extras/ScriptDuplication.ts +0 -236
  225. package/lib/front_end/models/trace/extras/StackTraceForEvent.ts +0 -203
  226. package/lib/front_end/models/trace/extras/ThirdParties.ts +0 -164
  227. package/lib/front_end/models/trace/extras/TraceFilter.ts +0 -62
  228. package/lib/front_end/models/trace/extras/TraceTree.ts +0 -701
  229. package/lib/front_end/models/trace/extras/extras.ts +0 -11
  230. package/lib/front_end/models/trace/handlers/AnimationFramesHandler.ts +0 -128
  231. package/lib/front_end/models/trace/handlers/AnimationHandler.ts +0 -36
  232. package/lib/front_end/models/trace/handlers/AsyncJSCallsHandler.ts +0 -239
  233. package/lib/front_end/models/trace/handlers/AuctionWorkletsHandler.ts +0 -183
  234. package/lib/front_end/models/trace/handlers/DOMStatsHandler.ts +0 -31
  235. package/lib/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +0 -306
  236. package/lib/front_end/models/trace/handlers/FlowsHandler.ts +0 -175
  237. package/lib/front_end/models/trace/handlers/FramesHandler.ts +0 -571
  238. package/lib/front_end/models/trace/handlers/GPUHandler.ts +0 -50
  239. package/lib/front_end/models/trace/handlers/ImagePaintingHandler.ts +0 -183
  240. package/lib/front_end/models/trace/handlers/InitiatorsHandler.ts +0 -193
  241. package/lib/front_end/models/trace/handlers/InvalidationsHandler.ts +0 -168
  242. package/lib/front_end/models/trace/handlers/LargestImagePaintHandler.ts +0 -109
  243. package/lib/front_end/models/trace/handlers/LargestTextPaintHandler.ts +0 -35
  244. package/lib/front_end/models/trace/handlers/LayerTreeHandler.ts +0 -123
  245. package/lib/front_end/models/trace/handlers/LayoutShiftsHandler.ts +0 -573
  246. package/lib/front_end/models/trace/handlers/MemoryHandler.ts +0 -31
  247. package/lib/front_end/models/trace/handlers/MetaHandler.ts +0 -525
  248. package/lib/front_end/models/trace/handlers/ModelHandlers.ts +0 -34
  249. package/lib/front_end/models/trace/handlers/NetworkRequestsHandler.ts +0 -672
  250. package/lib/front_end/models/trace/handlers/PageFramesHandler.ts +0 -52
  251. package/lib/front_end/models/trace/handlers/PageLoadMetricsHandler.ts +0 -460
  252. package/lib/front_end/models/trace/handlers/RendererHandler.ts +0 -428
  253. package/lib/front_end/models/trace/handlers/SamplesHandler.ts +0 -271
  254. package/lib/front_end/models/trace/handlers/ScreenshotsHandler.ts +0 -122
  255. package/lib/front_end/models/trace/handlers/ScriptsHandler.ts +0 -336
  256. package/lib/front_end/models/trace/handlers/SelectorStatsHandler.ts +0 -110
  257. package/lib/front_end/models/trace/handlers/Threads.ts +0 -139
  258. package/lib/front_end/models/trace/handlers/UserInteractionsHandler.ts +0 -400
  259. package/lib/front_end/models/trace/handlers/UserTimingsHandler.ts +0 -233
  260. package/lib/front_end/models/trace/handlers/WarningsHandler.ts +0 -162
  261. package/lib/front_end/models/trace/handlers/WorkersHandler.ts +0 -45
  262. package/lib/front_end/models/trace/handlers/handlers.ts +0 -8
  263. package/lib/front_end/models/trace/handlers/helpers.ts +0 -196
  264. package/lib/front_end/models/trace/handlers/types.ts +0 -75
  265. package/lib/front_end/models/trace/helpers/Extensions.ts +0 -54
  266. package/lib/front_end/models/trace/helpers/Network.ts +0 -129
  267. package/lib/front_end/models/trace/helpers/SamplesIntegrator.ts +0 -544
  268. package/lib/front_end/models/trace/helpers/SyntheticEvents.ts +0 -87
  269. package/lib/front_end/models/trace/helpers/Timing.ts +0 -248
  270. package/lib/front_end/models/trace/helpers/Trace.ts +0 -928
  271. package/lib/front_end/models/trace/helpers/TreeHelpers.ts +0 -320
  272. package/lib/front_end/models/trace/helpers/helpers.ts +0 -11
  273. package/lib/front_end/models/trace/insights/CLSCulprits.ts +0 -668
  274. package/lib/front_end/models/trace/insights/Cache.ts +0 -269
  275. package/lib/front_end/models/trace/insights/Common.ts +0 -453
  276. package/lib/front_end/models/trace/insights/DOMSize.ts +0 -223
  277. package/lib/front_end/models/trace/insights/DocumentLatency.ts +0 -319
  278. package/lib/front_end/models/trace/insights/DuplicatedJavaScript.ts +0 -126
  279. package/lib/front_end/models/trace/insights/FontDisplay.ts +0 -119
  280. package/lib/front_end/models/trace/insights/ForcedReflow.ts +0 -220
  281. package/lib/front_end/models/trace/insights/INPBreakdown.ts +0 -171
  282. package/lib/front_end/models/trace/insights/ImageDelivery.ts +0 -348
  283. package/lib/front_end/models/trace/insights/LCPBreakdown.ts +0 -268
  284. package/lib/front_end/models/trace/insights/LCPDiscovery.ts +0 -237
  285. package/lib/front_end/models/trace/insights/LegacyJavaScript.ts +0 -138
  286. package/lib/front_end/models/trace/insights/Models.ts +0 -22
  287. package/lib/front_end/models/trace/insights/ModernHTTP.ts +0 -257
  288. package/lib/front_end/models/trace/insights/NetworkDependencyTree.ts +0 -726
  289. package/lib/front_end/models/trace/insights/RenderBlocking.ts +0 -257
  290. package/lib/front_end/models/trace/insights/SlowCSSSelector.ts +0 -175
  291. package/lib/front_end/models/trace/insights/Statistics.ts +0 -101
  292. package/lib/front_end/models/trace/insights/ThirdParties.ts +0 -130
  293. package/lib/front_end/models/trace/insights/Viewport.ts +0 -138
  294. package/lib/front_end/models/trace/insights/insights.ts +0 -10
  295. package/lib/front_end/models/trace/insights/types.ts +0 -157
  296. package/lib/front_end/models/trace/lantern/core/LanternError.ts +0 -7
  297. package/lib/front_end/models/trace/lantern/core/NetworkAnalyzer.ts +0 -619
  298. package/lib/front_end/models/trace/lantern/core/core.ts +0 -6
  299. package/lib/front_end/models/trace/lantern/graph/BaseNode.ts +0 -345
  300. package/lib/front_end/models/trace/lantern/graph/CPUNode.ts +0 -80
  301. package/lib/front_end/models/trace/lantern/graph/NetworkNode.ts +0 -101
  302. package/lib/front_end/models/trace/lantern/graph/PageDependencyGraph.ts +0 -636
  303. package/lib/front_end/models/trace/lantern/graph/graph.ts +0 -8
  304. package/lib/front_end/models/trace/lantern/lantern.ts +0 -17
  305. package/lib/front_end/models/trace/lantern/metrics/FirstContentfulPaint.ts +0 -187
  306. package/lib/front_end/models/trace/lantern/metrics/Interactive.ts +0 -88
  307. package/lib/front_end/models/trace/lantern/metrics/LargestContentfulPaint.ts +0 -92
  308. package/lib/front_end/models/trace/lantern/metrics/MaxPotentialFID.ts +0 -72
  309. package/lib/front_end/models/trace/lantern/metrics/Metric.ts +0 -126
  310. package/lib/front_end/models/trace/lantern/metrics/SpeedIndex.ts +0 -126
  311. package/lib/front_end/models/trace/lantern/metrics/TBTUtils.ts +0 -82
  312. package/lib/front_end/models/trace/lantern/metrics/TotalBlockingTime.ts +0 -112
  313. package/lib/front_end/models/trace/lantern/metrics/metrics.ts +0 -12
  314. package/lib/front_end/models/trace/lantern/simulation/ConnectionPool.ts +0 -150
  315. package/lib/front_end/models/trace/lantern/simulation/Constants.ts +0 -46
  316. package/lib/front_end/models/trace/lantern/simulation/DNSCache.ts +0 -61
  317. package/lib/front_end/models/trace/lantern/simulation/SimulationTimingMap.ts +0 -196
  318. package/lib/front_end/models/trace/lantern/simulation/Simulator.ts +0 -556
  319. package/lib/front_end/models/trace/lantern/simulation/TCPConnection.ts +0 -192
  320. package/lib/front_end/models/trace/lantern/simulation/simulation.ts +0 -10
  321. package/lib/front_end/models/trace/lantern/types/Lantern.ts +0 -220
  322. package/lib/front_end/models/trace/lantern/types/types.ts +0 -5
  323. package/lib/front_end/models/trace/trace.ts +0 -33
  324. package/lib/front_end/models/trace/types/Configuration.ts +0 -110
  325. package/lib/front_end/models/trace/types/Extensions.ts +0 -136
  326. package/lib/front_end/models/trace/types/File.ts +0 -281
  327. package/lib/front_end/models/trace/types/Overlays.ts +0 -138
  328. package/lib/front_end/models/trace/types/Timing.ts +0 -30
  329. package/lib/front_end/models/trace/types/TraceEvents.ts +0 -3277
  330. package/lib/front_end/models/trace/types/types.ts +0 -10
  331. package/lib/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +0 -240
  332. package/lib/front_end/models/trace_source_maps_resolver/trace_source_maps_resolver.ts +0 -5
  333. package/lib/front_end/models/workspace/FileManager.ts +0 -97
  334. package/lib/front_end/models/workspace/IgnoreListManager.ts +0 -628
  335. package/lib/front_end/models/workspace/SearchConfig.ts +0 -149
  336. package/lib/front_end/models/workspace/UISourceCode.ts +0 -698
  337. package/lib/front_end/models/workspace/WorkspaceImpl.ts +0 -339
  338. package/lib/front_end/models/workspace/workspace.ts +0 -17
  339. package/lib/front_end/panels/timeline/TimelineUIUtils.ts +0 -1029
  340. package/lib/front_end/panels/timeline/extensions/ExtensionUI.ts +0 -49
  341. package/lib/front_end/panels/timeline/extensions/extensions.ts +0 -9
  342. package/lib/front_end/third_party/codemirror.next/LICENSE +0 -21
  343. package/lib/front_end/third_party/codemirror.next/README.chromium +0 -30
  344. package/lib/front_end/third_party/codemirror.next/bundle-tsconfig.json +0 -24
  345. package/lib/front_end/third_party/codemirror.next/bundle.ts +0 -135
  346. package/lib/front_end/third_party/codemirror.next/chunk/angular.js +0 -2
  347. package/lib/front_end/third_party/codemirror.next/chunk/angular.js.map +0 -1
  348. package/lib/front_end/third_party/codemirror.next/chunk/codemirror.js +0 -2
  349. package/lib/front_end/third_party/codemirror.next/chunk/codemirror.js.map +0 -1
  350. package/lib/front_end/third_party/codemirror.next/chunk/cpp.js +0 -2
  351. package/lib/front_end/third_party/codemirror.next/chunk/cpp.js.map +0 -1
  352. package/lib/front_end/third_party/codemirror.next/chunk/css.js +0 -2
  353. package/lib/front_end/third_party/codemirror.next/chunk/html.js +0 -4
  354. package/lib/front_end/third_party/codemirror.next/chunk/java.js +0 -2
  355. package/lib/front_end/third_party/codemirror.next/chunk/java.js.map +0 -1
  356. package/lib/front_end/third_party/codemirror.next/chunk/javascript.js +0 -2
  357. package/lib/front_end/third_party/codemirror.next/chunk/legacy.js +0 -2
  358. package/lib/front_end/third_party/codemirror.next/chunk/legacy.js.map +0 -1
  359. package/lib/front_end/third_party/codemirror.next/chunk/less.js +0 -2
  360. package/lib/front_end/third_party/codemirror.next/chunk/less.js.map +0 -1
  361. package/lib/front_end/third_party/codemirror.next/chunk/markdown.js +0 -2
  362. package/lib/front_end/third_party/codemirror.next/chunk/markdown.js.map +0 -1
  363. package/lib/front_end/third_party/codemirror.next/chunk/php.js +0 -2
  364. package/lib/front_end/third_party/codemirror.next/chunk/php.js.map +0 -1
  365. package/lib/front_end/third_party/codemirror.next/chunk/python.js +0 -2
  366. package/lib/front_end/third_party/codemirror.next/chunk/python.js.map +0 -1
  367. package/lib/front_end/third_party/codemirror.next/chunk/sass.js +0 -2
  368. package/lib/front_end/third_party/codemirror.next/chunk/sass.js.map +0 -1
  369. package/lib/front_end/third_party/codemirror.next/chunk/svelte.js +0 -2
  370. package/lib/front_end/third_party/codemirror.next/chunk/svelte.js.map +0 -1
  371. package/lib/front_end/third_party/codemirror.next/chunk/vue.js +0 -2
  372. package/lib/front_end/third_party/codemirror.next/chunk/vue.js.map +0 -1
  373. package/lib/front_end/third_party/codemirror.next/chunk/wast.js +0 -2
  374. package/lib/front_end/third_party/codemirror.next/chunk/wast.js.map +0 -1
  375. package/lib/front_end/third_party/codemirror.next/chunk/xml.js +0 -2
  376. package/lib/front_end/third_party/codemirror.next/chunk/xml.js.map +0 -1
  377. package/lib/front_end/third_party/codemirror.next/codemirror.next.d.ts +0 -8057
  378. package/lib/front_end/third_party/codemirror.next/codemirror.next.js +0 -2
  379. package/lib/front_end/third_party/codemirror.next/codemirror.next.js.map +0 -1
  380. package/lib/front_end/third_party/codemirror.next/package.json +0 -43
  381. package/lib/front_end/third_party/codemirror.next/rebuild.sh +0 -6
  382. package/lib/front_end/third_party/codemirror.next/rollup.config.mjs +0 -49
  383. package/lib/front_end/third_party/i18n/LICENSE +0 -202
  384. package/lib/front_end/third_party/i18n/README.chromium +0 -15
  385. package/lib/front_end/third_party/i18n/i18n-impl.ts +0 -61
  386. package/lib/front_end/third_party/i18n/i18n.ts +0 -11
  387. package/lib/front_end/third_party/i18n/localized-string-set.ts +0 -129
  388. package/lib/front_end/third_party/intl-messageformat/LICENSE +0 -33
  389. package/lib/front_end/third_party/intl-messageformat/README.chromium +0 -24
  390. package/lib/front_end/third_party/intl-messageformat/intl-messageformat-tsconfig.json +0 -16
  391. package/lib/front_end/third_party/intl-messageformat/intl-messageformat.ts +0 -6
  392. package/lib/front_end/third_party/intl-messageformat/package/LICENSE.md +0 -33
  393. package/lib/front_end/third_party/intl-messageformat/package/README.md +0 -3
  394. package/lib/front_end/third_party/intl-messageformat/package/index.d.ts +0 -6
  395. package/lib/front_end/third_party/intl-messageformat/package/index.d.ts.map +0 -1
  396. package/lib/front_end/third_party/intl-messageformat/package/index.js +0 -13
  397. package/lib/front_end/third_party/intl-messageformat/package/intl-messageformat.esm.d.ts +0 -5
  398. package/lib/front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js +0 -1710
  399. package/lib/front_end/third_party/intl-messageformat/package/intl-messageformat.iife.js +0 -1815
  400. package/lib/front_end/third_party/intl-messageformat/package/lib/index.d.ts +0 -6
  401. package/lib/front_end/third_party/intl-messageformat/package/lib/index.d.ts.map +0 -1
  402. package/lib/front_end/third_party/intl-messageformat/package/lib/index.js +0 -10
  403. package/lib/front_end/third_party/intl-messageformat/package/lib/src/core.d.ts +0 -34
  404. package/lib/front_end/third_party/intl-messageformat/package/lib/src/core.d.ts.map +0 -1
  405. package/lib/front_end/third_party/intl-messageformat/package/lib/src/core.js +0 -229
  406. package/lib/front_end/third_party/intl-messageformat/package/lib/src/error.d.ts +0 -28
  407. package/lib/front_end/third_party/intl-messageformat/package/lib/src/error.d.ts.map +0 -1
  408. package/lib/front_end/third_party/intl-messageformat/package/lib/src/error.js +0 -48
  409. package/lib/front_end/third_party/intl-messageformat/package/lib/src/formatters.d.ts +0 -34
  410. package/lib/front_end/third_party/intl-messageformat/package/lib/src/formatters.d.ts.map +0 -1
  411. package/lib/front_end/third_party/intl-messageformat/package/lib/src/formatters.js +0 -179
  412. package/lib/front_end/third_party/intl-messageformat/package/package.json +0 -42
  413. package/lib/front_end/third_party/intl-messageformat/package/src/core.d.ts +0 -34
  414. package/lib/front_end/third_party/intl-messageformat/package/src/core.d.ts.map +0 -1
  415. package/lib/front_end/third_party/intl-messageformat/package/src/core.js +0 -230
  416. package/lib/front_end/third_party/intl-messageformat/package/src/error.d.ts +0 -28
  417. package/lib/front_end/third_party/intl-messageformat/package/src/error.d.ts.map +0 -1
  418. package/lib/front_end/third_party/intl-messageformat/package/src/error.js +0 -51
  419. package/lib/front_end/third_party/intl-messageformat/package/src/formatters.d.ts +0 -34
  420. package/lib/front_end/third_party/intl-messageformat/package/src/formatters.d.ts.map +0 -1
  421. package/lib/front_end/third_party/intl-messageformat/package/src/formatters.js +0 -182
  422. package/lib/front_end/third_party/intl-messageformat/package/src/icu-messageformat-parser/error.d.ts +0 -79
  423. package/lib/front_end/third_party/intl-messageformat/package/src/icu-messageformat-parser/index.d.ts +0 -15
  424. package/lib/front_end/third_party/intl-messageformat/package/src/icu-messageformat-parser/parser.d.ts +0 -153
  425. package/lib/front_end/third_party/intl-messageformat/package/src/icu-messageformat-parser/types.d.ts +0 -139
  426. package/lib/front_end/third_party/legacy-javascript/LICENSE +0 -202
  427. package/lib/front_end/third_party/legacy-javascript/README.chromium +0 -13
  428. package/lib/front_end/third_party/legacy-javascript/legacy-javascript-tsconfig.json +0 -8
  429. package/lib/front_end/third_party/legacy-javascript/legacy-javascript.ts +0 -3
  430. package/lib/front_end/third_party/legacy-javascript/lib/legacy-javascript.d.ts +0 -18
  431. package/lib/front_end/third_party/legacy-javascript/lib/legacy-javascript.js +0 -943
  432. package/lib/front_end/third_party/legacy-javascript/package.json +0 -8
  433. package/lib/front_end/third_party/legacy-javascript/rebuild.sh +0 -9
  434. package/lib/front_end/third_party/source-map-scopes-codec/LICENSE +0 -26
  435. package/lib/front_end/third_party/source-map-scopes-codec/README.chromium +0 -31
  436. package/lib/front_end/third_party/source-map-scopes-codec/package/CONTRIBUTING.md +0 -33
  437. package/lib/front_end/third_party/source-map-scopes-codec/package/LICENSE +0 -26
  438. package/lib/front_end/third_party/source-map-scopes-codec/package/README.md +0 -64
  439. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/builder/builder.d.ts +0 -62
  440. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/builder/builder.d.ts.map +0 -1
  441. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/builder/safe_builder.d.ts +0 -37
  442. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/builder/safe_builder.d.ts.map +0 -1
  443. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/decode/decode.d.ts +0 -29
  444. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/decode/decode.d.ts.map +0 -1
  445. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/encode/encode.d.ts +0 -8
  446. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/encode/encode.d.ts.map +0 -1
  447. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/mod.d.ts +0 -6
  448. package/lib/front_end/third_party/source-map-scopes-codec/package/_dist/src/mod.d.ts.map +0 -1
  449. package/lib/front_end/third_party/source-map-scopes-codec/package/deno.json +0 -21
  450. package/lib/front_end/third_party/source-map-scopes-codec/package/package.json +0 -14
  451. package/lib/front_end/third_party/source-map-scopes-codec/package/src/builder/builder.js +0 -196
  452. package/lib/front_end/third_party/source-map-scopes-codec/package/src/builder/builder.js.map +0 -1
  453. package/lib/front_end/third_party/source-map-scopes-codec/package/src/builder/builder.ts +0 -262
  454. package/lib/front_end/third_party/source-map-scopes-codec/package/src/builder/safe_builder.js +0 -235
  455. package/lib/front_end/third_party/source-map-scopes-codec/package/src/builder/safe_builder.js.map +0 -1
  456. package/lib/front_end/third_party/source-map-scopes-codec/package/src/builder/safe_builder.ts +0 -359
  457. package/lib/front_end/third_party/source-map-scopes-codec/package/src/codec.js +0 -39
  458. package/lib/front_end/third_party/source-map-scopes-codec/package/src/codec.js.map +0 -1
  459. package/lib/front_end/third_party/source-map-scopes-codec/package/src/codec.ts +0 -53
  460. package/lib/front_end/third_party/source-map-scopes-codec/package/src/decode/decode.js +0 -438
  461. package/lib/front_end/third_party/source-map-scopes-codec/package/src/decode/decode.js.map +0 -1
  462. package/lib/front_end/third_party/source-map-scopes-codec/package/src/decode/decode.ts +0 -539
  463. package/lib/front_end/third_party/source-map-scopes-codec/package/src/encode/encode.js +0 -23
  464. package/lib/front_end/third_party/source-map-scopes-codec/package/src/encode/encode.js.map +0 -1
  465. package/lib/front_end/third_party/source-map-scopes-codec/package/src/encode/encode.ts +0 -35
  466. package/lib/front_end/third_party/source-map-scopes-codec/package/src/encode/encoder.js +0 -257
  467. package/lib/front_end/third_party/source-map-scopes-codec/package/src/encode/encoder.js.map +0 -1
  468. package/lib/front_end/third_party/source-map-scopes-codec/package/src/encode/encoder.ts +0 -348
  469. package/lib/front_end/third_party/source-map-scopes-codec/package/src/mod.js +0 -8
  470. package/lib/front_end/third_party/source-map-scopes-codec/package/src/mod.js.map +0 -1
  471. package/lib/front_end/third_party/source-map-scopes-codec/package/src/mod.ts +0 -20
  472. package/lib/front_end/third_party/source-map-scopes-codec/package/src/scopes-tsconfig.json +0 -8
  473. package/lib/front_end/third_party/source-map-scopes-codec/package/src/scopes.d.ts +0 -184
  474. package/lib/front_end/third_party/source-map-scopes-codec/package/src/util.js +0 -9
  475. package/lib/front_end/third_party/source-map-scopes-codec/package/src/util.js.map +0 -1
  476. package/lib/front_end/third_party/source-map-scopes-codec/package/src/util.ts +0 -12
  477. package/lib/front_end/third_party/source-map-scopes-codec/package/src/vlq.js +0 -82
  478. package/lib/front_end/third_party/source-map-scopes-codec/package/src/vlq.js.map +0 -1
  479. package/lib/front_end/third_party/source-map-scopes-codec/package/src/vlq.ts +0 -99
  480. package/lib/front_end/third_party/source-map-scopes-codec/source-map-scopes-codec.ts +0 -5
  481. package/lib/front_end/third_party/third-party-web/LICENSE +0 -20
  482. package/lib/front_end/third_party/third-party-web/README.chromium +0 -13
  483. package/lib/front_end/third_party/third-party-web/lib/nostats-subset.d.ts +0 -2
  484. package/lib/front_end/third_party/third-party-web/lib/nostats-subset.js +0 -149
  485. package/lib/front_end/third_party/third-party-web/package/LICENSE +0 -20
  486. package/lib/front_end/third_party/third-party-web/package/README.md +0 -929
  487. package/lib/front_end/third_party/third-party-web/package/dist/entities-httparchive-nostats.json +0 -1
  488. package/lib/front_end/third_party/third-party-web/package/dist/entities-httparchive.json +0 -1
  489. package/lib/front_end/third_party/third-party-web/package/dist/entities-nostats.json +0 -1
  490. package/lib/front_end/third_party/third-party-web/package/dist/entities.json +0 -1
  491. package/lib/front_end/third_party/third-party-web/package/facades.md +0 -46
  492. package/lib/front_end/third_party/third-party-web/package/httparchive-nostats-subset.d.ts +0 -1
  493. package/lib/front_end/third_party/third-party-web/package/httparchive-nostats-subset.js +0 -1
  494. package/lib/front_end/third_party/third-party-web/package/httparchive-subset.d.ts +0 -1
  495. package/lib/front_end/third_party/third-party-web/package/httparchive-subset.js +0 -1
  496. package/lib/front_end/third_party/third-party-web/package/lib/__snapshots__/index.test.js.snap +0 -1006
  497. package/lib/front_end/third_party/third-party-web/package/lib/create-entity-finder-api.js +0 -139
  498. package/lib/front_end/third_party/third-party-web/package/lib/create-entity-finder-api.test.js +0 -44
  499. package/lib/front_end/third_party/third-party-web/package/lib/entities.test.js +0 -27
  500. package/lib/front_end/third_party/third-party-web/package/lib/index.d.ts +0 -34
  501. package/lib/front_end/third_party/third-party-web/package/lib/index.js +0 -3
  502. package/lib/front_end/third_party/third-party-web/package/lib/index.test.js +0 -246
  503. package/lib/front_end/third_party/third-party-web/package/lib/markdown/faqs.partial.md +0 -36
  504. package/lib/front_end/third_party/third-party-web/package/lib/markdown/goals.partial.md +0 -9
  505. package/lib/front_end/third_party/third-party-web/package/lib/markdown/methodology.partial.md +0 -5
  506. package/lib/front_end/third_party/third-party-web/package/lib/markdown/template.md +0 -151
  507. package/lib/front_end/third_party/third-party-web/package/lib/markdown/updates/2019-02-01.md +0 -1
  508. package/lib/front_end/third_party/third-party-web/package/lib/markdown/updates/2019-03-01.md +0 -1
  509. package/lib/front_end/third_party/third-party-web/package/lib/markdown/updates/2019-05-06.md +0 -1
  510. package/lib/front_end/third_party/third-party-web/package/lib/markdown/updates/2019-05-13.md +0 -14
  511. package/lib/front_end/third_party/third-party-web/package/lib/markdown/updates/2021-01-01.md +0 -1
  512. package/lib/front_end/third_party/third-party-web/package/lib/markdown/updates/2024-07-01.md +0 -3
  513. package/lib/front_end/third_party/third-party-web/package/lib/subsets/httparchive-nostats.d.ts +0 -1
  514. package/lib/front_end/third_party/third-party-web/package/lib/subsets/httparchive-nostats.js +0 -3
  515. package/lib/front_end/third_party/third-party-web/package/lib/subsets/httparchive.d.ts +0 -1
  516. package/lib/front_end/third_party/third-party-web/package/lib/subsets/httparchive.js +0 -3
  517. package/lib/front_end/third_party/third-party-web/package/lib/subsets/nostats.d.ts +0 -1
  518. package/lib/front_end/third_party/third-party-web/package/lib/subsets/nostats.js +0 -3
  519. package/lib/front_end/third_party/third-party-web/package/nostats-subset.d.ts +0 -1
  520. package/lib/front_end/third_party/third-party-web/package/nostats-subset.js +0 -1
  521. package/lib/front_end/third_party/third-party-web/package/package.json +0 -46
  522. package/lib/front_end/third_party/third-party-web/package.json +0 -8
  523. package/lib/front_end/third_party/third-party-web/rebuild.sh +0 -13
  524. package/lib/front_end/third_party/third-party-web/third-party-web-tsconfig.json +0 -8
  525. package/lib/front_end/third_party/third-party-web/third-party-web.ts +0 -3
  526. package/lib/front_end/ui/legacy/theme_support/ThemeSupport.ts +0 -222
  527. package/lib/front_end/ui/legacy/theme_support/theme_support.ts +0 -5
  528. package/patches/chrome-devtools-frontend+1.0.1533544.patch +0 -1716
@@ -1,128 +0,0 @@
1
- // Copyright 2024 The Chromium Authors
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
- import * as Helpers from '../helpers/helpers.js';
5
- import * as Types from '../types/types.js';
6
-
7
- import type {HandlerName} from './types.js';
8
-
9
- export interface Data {
10
- animationFrames: Types.Events.SyntheticAnimationFramePair[];
11
- presentationForFrame: Map<Types.Events.SyntheticAnimationFramePair, Types.Events.AnimationFramePresentation>;
12
- }
13
-
14
- function threadKey(data: Types.Events.Event): string {
15
- return `${data.pid}-${data.tid}`;
16
- }
17
- // Track all the start + end events. We key them by the PID+TID so we don't
18
- // accidentally pair across different threads.
19
- let animationFrameStarts = new Map<string, Types.Events.AnimationFrameAsyncStart[]>();
20
- let animationFrameEnds = new Map<string, Types.Events.AnimationFrameAsyncEnd[]>();
21
- // Store all the AnimationFrame::Presentation events. Key them by their ID for
22
- // easy look-up later on when we associate one to the AnimationFrame event.
23
- let animationFramePresentations = new Map<string, Types.Events.AnimationFramePresentation>();
24
-
25
- // The final list of animation frames that we return.
26
- let animationFrames: Types.Events.SyntheticAnimationFramePair[] = [];
27
-
28
- let presentationForFrame = new Map<Types.Events.SyntheticAnimationFramePair, Types.Events.AnimationFramePresentation>();
29
-
30
- export function reset(): void {
31
- animationFrameStarts = new Map();
32
- animationFrameEnds = new Map();
33
- animationFrames = [];
34
- presentationForFrame = new Map();
35
- animationFramePresentations = new Map();
36
- isEnabled = false;
37
- }
38
-
39
- let isEnabled = false;
40
- export function handleUserConfig(config: Types.Configuration.Configuration): void {
41
- isEnabled = config.enableAnimationsFrameHandler;
42
- }
43
-
44
- export function handleEvent(event: Types.Events.Event): void {
45
- if (!isEnabled) {
46
- return;
47
- }
48
-
49
- if (Types.Events.isAnimationFrameAsyncStart(event)) {
50
- const key = threadKey(event);
51
- const existing = animationFrameStarts.get(key) ?? [];
52
- existing.push(event);
53
- animationFrameStarts.set(key, existing);
54
- } else if (Types.Events.isAnimationFrameAsyncEnd(event)) {
55
- const key = threadKey(event);
56
- const existing = animationFrameEnds.get(key) ?? [];
57
- existing.push(event);
58
- animationFrameEnds.set(key, existing);
59
- } else if (Types.Events.isAnimationFramePresentation(event) && event.args?.id) {
60
- animationFramePresentations.set(event.args.id, event);
61
- }
62
- }
63
-
64
- export async function finalize(): Promise<void> {
65
- // AnimationFrames are represented with begin & end events on a stack; so we
66
- // can pair them by walking through the list of start events and pairing with
67
- // the same index in the list of end events, once both lists are sorted by
68
- // timestamp.
69
- // We walk through the set of begin/end events we gathered per pid+tid and
70
- // pair those up.
71
- // Unfortunately we cannot use the pairing helpers in Helpers.Trace because
72
- // only the begin event has an ID; the end event does not. But because we
73
- // know that AnimationFrames are sequential and do not overlap, we can pair
74
- // up events easily.
75
- for (const [key, startEvents] of animationFrameStarts.entries()) {
76
- const endEvents = animationFrameEnds.get(key);
77
- if (!endEvents) {
78
- continue;
79
- }
80
-
81
- Helpers.Trace.sortTraceEventsInPlace(startEvents);
82
- Helpers.Trace.sortTraceEventsInPlace(endEvents);
83
-
84
- for (let i = 0; i < startEvents.length; i++) {
85
- const endEvent = endEvents.at(i);
86
- if (!endEvent) {
87
- // Invalid data: break. We can't pair any other events up.
88
- break;
89
- }
90
- const startEvent = startEvents[i];
91
-
92
- const syntheticEvent = Helpers.SyntheticEvents.SyntheticEventsManager
93
- .registerSyntheticEvent<Types.Events.SyntheticAnimationFramePair>({
94
- rawSourceEvent: startEvent,
95
- ...startEvent,
96
- dur: Types.Timing.Micro(endEvent.ts - startEvent.ts),
97
- args: {
98
- data: {
99
- beginEvent: startEvent,
100
- endEvent,
101
- },
102
- },
103
- });
104
- animationFrames.push(syntheticEvent);
105
-
106
- // AnimationFrame begin events + AnimationFrame::Presentation events share
107
- // an args.id, so we can pair them up based on that.
108
- const id = startEvent.args?.id;
109
- if (id) {
110
- const presentationEvent = animationFramePresentations.get(id);
111
- if (presentationEvent) {
112
- presentationForFrame.set(syntheticEvent, presentationEvent);
113
- }
114
- }
115
- }
116
- }
117
- }
118
-
119
- export function data(): Data {
120
- return {
121
- animationFrames,
122
- presentationForFrame,
123
- };
124
- }
125
-
126
- export function deps(): HandlerName[] {
127
- return ['Meta'];
128
- }
@@ -1,36 +0,0 @@
1
- // Copyright 2022 The Chromium Authors
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- import * as Helpers from '../helpers/helpers.js';
6
- import * as Types from '../types/types.js';
7
-
8
- let animations: Types.Events.Animation[] = [];
9
- let animationsSyntheticEvents: Types.Events.SyntheticAnimationPair[] = [];
10
-
11
- export interface AnimationData {
12
- animations: readonly Types.Events.SyntheticAnimationPair[];
13
- }
14
-
15
- export function reset(): void {
16
- animations = [];
17
- animationsSyntheticEvents = [];
18
- }
19
-
20
- export function handleEvent(event: Types.Events.Event): void {
21
- if (Types.Events.isAnimation(event)) {
22
- animations.push(event);
23
- return;
24
- }
25
- }
26
-
27
- export async function finalize(): Promise<void> {
28
- const syntheticEvents = Helpers.Trace.createMatchedSortedSyntheticEvents(animations);
29
- animationsSyntheticEvents.push(...syntheticEvents);
30
- }
31
-
32
- export function data(): AnimationData {
33
- return {
34
- animations: animationsSyntheticEvents,
35
- };
36
- }
@@ -1,239 +0,0 @@
1
- // Copyright 2024 The Chromium Authors
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
- import * as Platform from '../../../core/platform/platform.js';
5
- import type * as Helpers from '../helpers/helpers.js';
6
- import * as Types from '../types/types.js';
7
-
8
- import {data as flowsHandlerData} from './FlowsHandler.js';
9
- import {data as rendererHandlerData} from './RendererHandler.js';
10
-
11
- let schedulerToRunEntryPoints = new Map<Types.Events.Event, Types.Events.Event[]>();
12
-
13
- let taskScheduleForTaskRunEvent = new Map<Types.Events.DebuggerAsyncTaskRun, Types.Events.DebuggerAsyncTaskScheduled>();
14
- let asyncCallToScheduler =
15
- new Map<Types.Events.SyntheticProfileCall, {taskName: string, scheduler: Types.Events.Event}>();
16
-
17
- let runEntryPointToScheduler = new Map<Types.Events.Event, {taskName: string, scheduler: Types.Events.Event}>();
18
-
19
- export function reset(): void {
20
- schedulerToRunEntryPoints = new Map();
21
- asyncCallToScheduler = new Map();
22
- taskScheduleForTaskRunEvent = new Map();
23
- runEntryPointToScheduler = new Map();
24
- }
25
-
26
- export function handleEvent(_: Types.Events.Event): void {
27
- }
28
-
29
- export async function finalize(): Promise<void> {
30
- const {flows} = flowsHandlerData();
31
- const {entryToNode} = rendererHandlerData();
32
- // Process async task flows
33
- for (const flow of flows) {
34
- let maybeAsyncTaskScheduled = flow.at(0);
35
- if (!maybeAsyncTaskScheduled) {
36
- continue;
37
- }
38
- if (Types.Events.isDebuggerAsyncTaskRun(maybeAsyncTaskScheduled)) {
39
- // Sometimes a AsyncTaskRun event run can incorrectly appear as
40
- // initiated by another AsyncTaskRun from Perfetto's flows
41
- // perspective.
42
- // For example, in this snippet:
43
- //
44
- // const myTask = console.createTask('hola'); // creates an AsyncTaskSchedule
45
- // myTask.run(something); // creates an AsyncTaskRun
46
- // myTask.run(somethingElse); // creates an AsyncTaskRun
47
- //
48
- // or also in this one
49
- //
50
- // setInterval(something); // creates multiple connected AsyncTaskRun.
51
- //
52
- // Because the flow id is created based on the task's memory address,
53
- // the three events will end up belonging to the same flow (even if
54
- // in the frontend we receive it as pairs), and elements in a flow
55
- // are connected to their immediately consecutive neighbor.
56
- //
57
- // To ensure we use the right Schedule event, if the "initiating"
58
- // portion of the flow is a Run event, we look for any corresponding
59
- // Schedule event that we might have found before.
60
- maybeAsyncTaskScheduled = taskScheduleForTaskRunEvent.get(maybeAsyncTaskScheduled);
61
- }
62
- if (!maybeAsyncTaskScheduled || !Types.Events.isDebuggerAsyncTaskScheduled(maybeAsyncTaskScheduled)) {
63
- continue;
64
- }
65
- const taskName = maybeAsyncTaskScheduled.args.taskName;
66
- const asyncTaskRun = flow.at(1);
67
- if (!asyncTaskRun || !Types.Events.isDebuggerAsyncTaskRun(asyncTaskRun)) {
68
- // Unexpected flow shape, ignore.
69
- continue;
70
- }
71
- // Cache the Schedule event for this Run for future reference.
72
- taskScheduleForTaskRunEvent.set(asyncTaskRun, maybeAsyncTaskScheduled);
73
-
74
- // Get the JS call scheduled the task.
75
- const asyncCaller = findNearestJSAncestor(maybeAsyncTaskScheduled, entryToNode);
76
-
77
- // Get the trace entrypoint for the scheduled task (e.g. FunctionCall, etc.).
78
- const asyncEntryPoint = findFirstJsInvocationForAsyncTaskRun(asyncTaskRun, entryToNode);
79
-
80
- // Store the async relationship between traces to be shown with initiator arrows.
81
- // Default to the AsyncTask events in case the JS entrypoints aren't found.
82
- runEntryPointToScheduler.set(
83
- asyncEntryPoint || asyncTaskRun, {taskName, scheduler: asyncCaller || maybeAsyncTaskScheduled});
84
- if (!asyncCaller || !asyncEntryPoint) {
85
- // Unexpected async call trace data shape, ignore.
86
- continue;
87
- }
88
- // Set scheduler -> scheduled mapping.
89
- // The scheduled being the JS entrypoint
90
- const entryPoints = Platform.MapUtilities.getWithDefault(schedulerToRunEntryPoints, asyncCaller, () => []);
91
- entryPoints.push(asyncEntryPoint);
92
-
93
- // Set scheduled -> scheduler mapping.
94
- // The scheduled being the JS calls (instead of the entrypoints as
95
- // above, for usage ergonomics).
96
- const scheduledProfileCalls = findFirstJSCallsForAsyncTaskRun(asyncTaskRun, entryToNode);
97
- for (const call of scheduledProfileCalls) {
98
- asyncCallToScheduler.set(call, {taskName, scheduler: asyncCaller});
99
- }
100
- }
101
- }
102
- /**
103
- * Given a DebuggerAsyncTaskScheduled event, returns its closest
104
- * ProfileCall or JS invocation ancestor, which represents the JS call
105
- * that scheduled the async task.
106
- */
107
- function findNearestJSAncestor(
108
- asyncTaskScheduled: Types.Events.DebuggerAsyncTaskScheduled,
109
- entryToNode: Map<Types.Events.Event, Helpers.TreeHelpers.TraceEntryNode>): Types.Events.Event|null {
110
- let node = entryToNode.get(asyncTaskScheduled)?.parent;
111
- while (node) {
112
- if (Types.Events.isProfileCall(node.entry) || acceptJSInvocationsPredicate(node.entry)) {
113
- return node.entry;
114
- }
115
- node = node.parent;
116
- }
117
- return null;
118
- }
119
- /**
120
- * Entrypoints to JS execution in the timeline. We ignore those starting
121
- * with 'v8' because they aren't shown in the timeline, and ultimately
122
- * this function's output results in "initiated" events, so ideally this
123
- * returns events that end up in the flame chart.
124
- */
125
- function acceptJSInvocationsPredicate(event: Types.Events.Event): event is Types.Events.Event {
126
- const eventIsConsoleRunTask = Types.Events.isConsoleRunTask(event);
127
- const eventIsV8EntryPoint = event.name.startsWith('v8') || event.name.startsWith('V8');
128
- return Types.Events.isJSInvocationEvent(event) && (eventIsConsoleRunTask || !eventIsV8EntryPoint);
129
- }
130
-
131
- /**
132
- * Given a DebuggerAsyncTaskRun event, returns its closest JS entry
133
- * point descendant, which contains the task being scheduled.
134
- */
135
- function findFirstJsInvocationForAsyncTaskRun(
136
- asyncTaskRun: Types.Events.DebuggerAsyncTaskRun,
137
- entryToNode: Map<Types.Events.Event, Helpers.TreeHelpers.TraceEntryNode>): Types.Events.Event|undefined {
138
- // Ignore descendants of other DebuggerAsyncTaskRuns since they
139
- // are part of another async task and have to be handled separately
140
- return findFirstDescendantsOfType(
141
- asyncTaskRun, entryToNode, acceptJSInvocationsPredicate, Types.Events.isDebuggerAsyncTaskRun)
142
- .at(0);
143
- }
144
-
145
- /**
146
- * Given an async task run event, returns the top level call frames
147
- * (profile calls) directly called by the async task. This implies that
148
- * any profile calls under another async task run event are ignored.
149
- * These profile calls represent the JS task being scheduled, AKA
150
- * the other part of the async stack.
151
- *
152
- * For example, here the profile calls "js 1", "js 2" and "js 4" would
153
- * be returned:
154
- *
155
- * |------------------Async Task Run------------------|
156
- * |--FunctionCall--| |--FunctionCall--|
157
- * |-js 1-||-js 2-| |-js 4-|
158
- * |-js 3-|
159
- *
160
- * But here, only "js 1" and "js 2" would be returned:
161
- *
162
- * |------------------Async Task Run------------------|
163
- * |--FunctionCall--| |------------------------|
164
- * |-js 1-||-js 2-| |---Async Task Run--|
165
- * |-js 3-| |--FunctionCall--|
166
- * |-js 4-|
167
- */
168
- function findFirstJSCallsForAsyncTaskRun(
169
- asyncTaskRun: Types.Events.DebuggerAsyncTaskRun,
170
- entryToNode: Map<Types.Events.Event, Helpers.TreeHelpers.TraceEntryNode>): Types.Events.SyntheticProfileCall[] {
171
- // Ignore descendants of other DebuggerAsyncTaskRuns since they
172
- // are part of another async task and have to be handled separately
173
- return findFirstDescendantsOfType(
174
- asyncTaskRun, entryToNode, Types.Events.isProfileCall, Types.Events.isDebuggerAsyncTaskRun);
175
- }
176
-
177
- /**
178
- * Given a root event returns all the first descendants that meet a
179
- * predicate condition (predicateAccept) while ignoring subtrees whose
180
- * top event meets an ignore condition (predicateIgnore).
181
- */
182
- function findFirstDescendantsOfType<T extends Types.Events.Event>(
183
- root: Types.Events.Event, entryToNode: Map<Types.Events.Event, Helpers.TreeHelpers.TraceEntryNode>,
184
- predicateAccept: (event: Types.Events.Event) => event is T,
185
- predicateIgnore: (event: Types.Events.Event) => boolean): T[] {
186
- const node = entryToNode.get(root);
187
- if (!node) {
188
- return [];
189
- }
190
- const childrenGroups = [[...node.children]];
191
- const firstDescendants = [];
192
- for (let i = 0; i < childrenGroups.length; i++) {
193
- const siblings = childrenGroups[i];
194
- for (let j = 0; j < siblings.length; j++) {
195
- const node = siblings[j];
196
- if (predicateAccept(node.entry)) {
197
- firstDescendants.push(node.entry);
198
- } else if (!predicateIgnore(node.entry)) {
199
- childrenGroups.push([...node.children]);
200
- }
201
- }
202
- }
203
- return firstDescendants;
204
- }
205
-
206
- export function data(): {
207
- // Given a profile call, returns the JS entrypoint it scheduled (if any).
208
- // For example, given a setTimeout call, returns the JS entry point
209
- // trace event for the timeout callback run event (usually a
210
- // FunctionCall event).
211
- schedulerToRunEntryPoints: typeof schedulerToRunEntryPoints,
212
- // Given a profile call, returns the profile call that scheduled it.
213
- // For example given a timeout callback run event, returns its
214
- // setTimeout call event.
215
- asyncCallToScheduler: typeof asyncCallToScheduler,
216
- // Given a trace event, returns its corresponding async parent trace
217
- // event caused by an async js call. This can be used as a fallback
218
- // for cases where a corresponding JS call is not found at either
219
- // end of the async task scheduling pair (e.g. due to sampling data
220
- // incompleteness).
221
- // In the StackTraceForEvent helper, as we move up the call tree,
222
- // this is used to jump to an async parent stack from a
223
- // non-profile call trace event in cases where a profile call wasn't
224
- // found before. In theory we should make the jump from the scheduled
225
- // profile call using `asyncCallToScheduler`, but its possible that
226
- // the the call information isn't available to us as a consequence of
227
- // missing samples.
228
- runEntryPointToScheduler: typeof runEntryPointToScheduler,
229
- } {
230
- return {
231
- schedulerToRunEntryPoints,
232
- asyncCallToScheduler,
233
- runEntryPointToScheduler,
234
- };
235
- }
236
-
237
- export function deps(): ['Renderer', 'Flows'] {
238
- return ['Renderer', 'Flows'];
239
- }
@@ -1,183 +0,0 @@
1
- // Copyright 2023 The Chromium Authors
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- import * as Helpers from '../helpers/helpers.js';
6
- import * as Types from '../types/types.js';
7
-
8
- /**
9
- * There are two metadata events that we care about.
10
- * => AuctionWorkletRunningInProcess tells us which process the Auction Worklet
11
- * has taken to run in.
12
- * => AuctionWorkletDoneWithProcess tells us when the worklet is done with that
13
- * process. This is less useful - but in the future we might want to surface
14
- * this information so we still parse and return the event.
15
- *
16
- * It is important to note that the top level PID on these events is NOT the
17
- * PID that the worklet is running on; instead we have to look at its
18
- * args.data.pid property, which is the PID of the process that it is running
19
- * on.
20
- *
21
- * For any given RunningInProcess event, we would typically expect to see a
22
- * DoneWithProcess event, however this is not guaranteed, especially as users
23
- * can record any chunk of time in DevTools.
24
- *
25
- * Similarly, it is also possible to see a DoneWithProcess event without a
26
- * RunningInProcess event, if the user started recording after the auction
27
- * worklets started. Therefore we are happy to create
28
- * SyntheticAuctionWorklets as long as we see just one of these events.
29
- *
30
- * If we do get two events and need to pair them, we can use the
31
- * args.data.target property, which is a string ID shared by both
32
- * events.
33
- */
34
- let runningInProcessEvents = new Map<Types.Events.ProcessID, Types.Events.AuctionWorkletRunningInProcess>();
35
- let doneWithProcessEvents = new Map<Types.Events.ProcessID, Types.Events.AuctionWorkletDoneWithProcess>();
36
-
37
- // Keyed by the PID defined in `args.data.pid` on AuctionWorklet trace events..
38
- let createdSyntheticEvents = new Map<Types.Events.ProcessID, Types.Events.SyntheticAuctionWorklet>();
39
-
40
- // Each AuctonWorklet takes over a process and has 2 threads (that we care
41
- // about and want to show as tracks):
42
- // 1. A CrUtilityMain thread which is known as the "control process".
43
- // 2. A AuctionV8HelperThread which is the actual auction worklet and will be
44
- // either a "Seller" or a "Bidder"
45
- // To detect these we look for the metadata thread_name events. We key these by
46
- // PID so that we can easily look them up later without having to loop through.
47
- let utilityThreads = new Map<Types.Events.ProcessID, Types.Events.ThreadName>();
48
- let v8HelperThreads = new Map<Types.Events.ProcessID, Types.Events.ThreadName>();
49
-
50
- export function reset(): void {
51
- runningInProcessEvents = new Map();
52
- doneWithProcessEvents = new Map();
53
- createdSyntheticEvents = new Map();
54
- utilityThreads = new Map();
55
- v8HelperThreads = new Map();
56
- }
57
-
58
- export function handleEvent(event: Types.Events.Event): void {
59
- if (Types.Events.isAuctionWorkletRunningInProcess(event)) {
60
- runningInProcessEvents.set(event.args.data.pid, event);
61
- return;
62
- }
63
-
64
- if (Types.Events.isAuctionWorkletDoneWithProcess(event)) {
65
- doneWithProcessEvents.set(event.args.data.pid, event);
66
- return;
67
- }
68
-
69
- if (Types.Events.isThreadName(event)) {
70
- if (event.args.name === 'auction_worklet.CrUtilityMain') {
71
- utilityThreads.set(event.pid, event);
72
- return;
73
- }
74
- if (event.args.name === 'AuctionV8HelperThread') {
75
- v8HelperThreads.set(event.pid, event);
76
- }
77
- }
78
- }
79
-
80
- function workletType(input: string): Types.Events.AuctionWorkletType {
81
- switch (input) {
82
- case 'seller':
83
- return Types.Events.AuctionWorkletType.SELLER;
84
- case 'bidder':
85
- return Types.Events.AuctionWorkletType.BIDDER;
86
- default:
87
- return Types.Events.AuctionWorkletType.UNKNOWN;
88
- }
89
- }
90
-
91
- /**
92
- * We cannot make the full event without knowing the type of event, but we can
93
- * create everything other than the `args` field, as those are identical
94
- * regardless of the type of event.
95
- */
96
- function makeSyntheticEventBase(
97
- event: Types.Events.AuctionWorkletDoneWithProcess|
98
- Types.Events.AuctionWorkletRunningInProcess): Omit<Types.Events.SyntheticAuctionWorklet, 'args'> {
99
- return Helpers.SyntheticEvents.SyntheticEventsManager
100
- .registerSyntheticEvent<Omit<Types.Events.SyntheticAuctionWorklet, 'args'>>({
101
- rawSourceEvent: event,
102
- name: 'SyntheticAuctionWorklet',
103
- s: Types.Events.Scope.THREAD,
104
- cat: event.cat,
105
- tid: event.tid,
106
- ts: event.ts,
107
- ph: Types.Events.Phase.INSTANT,
108
- pid: event.args.data.pid,
109
- host: event.args.data.host,
110
- target: event.args.data.target,
111
- type: workletType(event.args.data.type),
112
- });
113
- }
114
-
115
- export async function finalize(): Promise<void> {
116
- // Loop through the utility threads we found to create the worklet events. We
117
- // expect each worklet to have a utility thread, so we can use them as the
118
- // root of our list of worklets.
119
- for (const [pid, utilityThreadNameEvent] of utilityThreads) {
120
- const v8HelperEvent = v8HelperThreads.get(pid);
121
- if (!v8HelperEvent) {
122
- // Bad trace data - AuctionWorklets are expected to always have both threads.
123
- continue;
124
- }
125
-
126
- const runningEvent = runningInProcessEvents.get(pid);
127
- const doneWithEvent = doneWithProcessEvents.get(pid);
128
-
129
- // We can create a worklet from either the runningEvent or doneWithEvent -
130
- // we do not need both. We cannot express that to TypeScript with an early
131
- // return here, so instead we set the event initially to null, and then
132
- // create it from either the running event or the doneWith event. If it is
133
- // still null after this, that means neither event was found, and we drop
134
- // the worklet as we do not have enough information to create the synthetic
135
- // event.
136
-
137
- let syntheticEvent: Types.Events.SyntheticAuctionWorklet|null = null;
138
-
139
- if (runningEvent) {
140
- syntheticEvent = {
141
- ...makeSyntheticEventBase(runningEvent),
142
- args: {
143
- data: {
144
- runningInProcessEvent: runningEvent,
145
- utilityThread: utilityThreadNameEvent,
146
- v8HelperThread: v8HelperEvent,
147
- },
148
- },
149
- };
150
- if (doneWithEvent) {
151
- syntheticEvent.args.data.doneWithProcessEvent = doneWithEvent;
152
- }
153
- } else if (doneWithEvent) {
154
- syntheticEvent = {
155
- ...makeSyntheticEventBase(doneWithEvent),
156
- args: {
157
- data: {
158
- doneWithProcessEvent: doneWithEvent,
159
- utilityThread: utilityThreadNameEvent,
160
- v8HelperThread: v8HelperEvent,
161
- },
162
- },
163
- };
164
- if (runningEvent) {
165
- syntheticEvent.args.data.runningInProcessEvent = runningEvent;
166
- }
167
- }
168
- if (syntheticEvent === null) {
169
- continue;
170
- }
171
- createdSyntheticEvents.set(pid, syntheticEvent);
172
- }
173
- }
174
-
175
- export interface AuctionWorkletsData {
176
- worklets: Map<Types.Events.ProcessID, Types.Events.SyntheticAuctionWorklet>;
177
- }
178
-
179
- export function data(): AuctionWorkletsData {
180
- return {
181
- worklets: createdSyntheticEvents,
182
- };
183
- }
@@ -1,31 +0,0 @@
1
- // Copyright 2025 The Chromium Authors
2
- // Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
4
-
5
- import * as Platform from '../../../core/platform/platform.js';
6
- import * as Types from '../types/types.js';
7
-
8
- export interface DOMStatsData {
9
- domStatsByFrameId: Map<string, Types.Events.DOMStats[]>;
10
- }
11
-
12
- let domStatsByFrameId: DOMStatsData['domStatsByFrameId'] = new Map();
13
-
14
- export function reset(): void {
15
- domStatsByFrameId = new Map();
16
- }
17
-
18
- export function handleEvent(event: Types.Events.Event): void {
19
- if (!Types.Events.isDOMStats(event)) {
20
- return;
21
- }
22
- const domStatEvents = Platform.MapUtilities.getWithDefault(domStatsByFrameId, event.args.data.frame, () => []);
23
- domStatEvents.push(event);
24
- }
25
-
26
- export async function finalize(): Promise<void> {
27
- }
28
-
29
- export function data(): DOMStatsData {
30
- return {domStatsByFrameId};
31
- }