chrome-devtools-frontend 1.0.1684555 → 1.0.1690116

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 (736) hide show
  1. package/.agents/skills/gerrit-cli/SKILL.md +29 -8
  2. package/.agents/skills/gerrit-cli/references/commands.md +51 -18
  3. package/.agents/skills/gerrit-cli/references/workflows.md +6 -6
  4. package/.agents/skills/gerrit-cli/scripts/import_upstream.py +43 -70
  5. package/config/typescript/tsconfig.base.json +1 -0
  6. package/config/typescript/tsconfig.eslint.json +9 -0
  7. package/docs/contributing/issues.md +1 -1
  8. package/docs/styleguide/ux/writing.md +2 -2
  9. package/eslint.config.mjs +26 -12
  10. package/front_end/core/common/Base64.ts +1 -1
  11. package/front_end/core/common/Color.ts +28 -6
  12. package/front_end/core/common/ColorConverter.ts +12 -0
  13. package/front_end/core/common/Console.ts +2 -1
  14. package/front_end/core/common/Object.ts +10 -4
  15. package/front_end/core/common/ResourceType.ts +12 -13
  16. package/front_end/core/common/Revealer.ts +1 -1
  17. package/front_end/core/common/Settings.ts +2 -2
  18. package/front_end/core/common/TextDictionary.ts +2 -2
  19. package/front_end/core/common/Throttler.ts +1 -1
  20. package/front_end/core/host/InspectorFrontendHostAPI.ts +2 -2
  21. package/front_end/core/host/UserMetrics.ts +51 -37
  22. package/front_end/core/host/host.ts +1 -1
  23. package/front_end/core/i18n/collect-ui-strings.js +5 -5
  24. package/front_end/core/i18n/generate-locales-js.js +1 -1
  25. package/front_end/core/i18n/i18n.ts +6 -0
  26. package/front_end/core/i18n/i18nImpl.ts +1 -1
  27. package/front_end/core/platform/HostRuntime.ts +3 -3
  28. package/front_end/core/platform/KeyboardUtilities.ts +1 -1
  29. package/front_end/core/protocol_client/InspectorBackend.ts +7 -6
  30. package/front_end/core/root/Runtime.ts +4 -7
  31. package/front_end/core/sdk/AnimationModel.ts +1 -1
  32. package/front_end/core/sdk/CPUThrottlingManager.ts +198 -0
  33. package/front_end/core/sdk/CSSMetadata.ts +9 -6
  34. package/front_end/core/sdk/CSSPropertyParser.ts +5 -3
  35. package/front_end/core/sdk/CSSPropertyParserMatchers.ts +90 -59
  36. package/front_end/core/sdk/ConsoleModel.ts +1 -1
  37. package/front_end/core/sdk/DOMModel.ts +49 -14
  38. package/front_end/core/sdk/DebuggerModel.ts +1 -1
  39. package/front_end/core/sdk/EmulationModel.ts +23 -0
  40. package/front_end/core/sdk/LayerTreeBase.ts +1 -1
  41. package/front_end/core/sdk/NetworkManager.ts +1 -1
  42. package/front_end/core/sdk/README.md +40 -0
  43. package/front_end/core/sdk/RehydratingConnection.ts +1 -1
  44. package/front_end/core/sdk/RemoteObject.ts +1 -1
  45. package/front_end/core/sdk/ResourceTreeModel.ts +2 -2
  46. package/front_end/core/sdk/SDKModel.ts +1 -1
  47. package/front_end/core/sdk/SDKSettings.ts +15 -0
  48. package/front_end/core/sdk/Script.ts +1 -1
  49. package/front_end/core/sdk/SecurityOrigin.ts +158 -0
  50. package/front_end/core/sdk/ServiceWorkerManager.ts +75 -17
  51. package/front_end/core/sdk/Target.ts +1 -5
  52. package/front_end/core/sdk/sdk.ts +2 -0
  53. package/front_end/core/text_utils/ContentData.ts +1 -1
  54. package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.ts +3 -1
  55. package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
  56. package/front_end/entrypoints/formatter_worker/ScopeParser.ts +2 -2
  57. package/front_end/entrypoints/formatter_worker/Substitute.ts +1 -1
  58. package/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.ts +1 -1
  59. package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -1
  60. package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +1 -1
  61. package/front_end/entrypoints/inspector_main/nodeIcon.css +1 -1
  62. package/front_end/entrypoints/inspector_main/outermostTargetSelector.css +3 -3
  63. package/front_end/entrypoints/inspector_main/renderingOptions.css +3 -3
  64. package/front_end/entrypoints/js_app/js_app.ts +25 -9
  65. package/front_end/entrypoints/node_app/app/nodeConnectionsPanel.css +5 -5
  66. package/front_end/entrypoints/node_app/node_app.ts +1 -1
  67. package/front_end/generated/ARIAProperties.ts +39 -1
  68. package/front_end/generated/InspectorBackendCommands.ts +2 -1
  69. package/front_end/generated/SupportedCSSProperties.ts +60 -119
  70. package/front_end/generated/protocol-mapping.d.ts +9 -0
  71. package/front_end/generated/protocol-proxy-api.d.ts +7 -0
  72. package/front_end/generated/protocol.ts +12 -2
  73. package/front_end/models/ai_assistance/AiAgent2.ts +13 -7
  74. package/front_end/models/ai_assistance/AiConversation.ts +8 -17
  75. package/front_end/models/ai_assistance/AiHistoryStorage.ts +2 -2
  76. package/front_end/models/ai_assistance/AiUtils.ts +16 -10
  77. package/front_end/models/ai_assistance/EvaluateAction.ts +1 -1
  78. package/front_end/models/ai_assistance/README.md +1 -1
  79. package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +8 -13
  80. package/front_end/models/ai_assistance/agents/AiAgent.ts +29 -6
  81. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +4 -3
  82. package/front_end/models/ai_assistance/agents/FileAgent.ts +2 -2
  83. package/front_end/models/ai_assistance/agents/NetworkAgent.ts +2 -2
  84. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +1 -1
  85. package/front_end/models/ai_assistance/agents/StorageAgent.ts +7 -5
  86. package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -2
  87. package/front_end/models/ai_assistance/agents/StylingAgent.ts +8 -7
  88. package/front_end/models/ai_assistance/ai_assistance.ts +8 -0
  89. package/front_end/models/ai_assistance/contexts/AccessibilityContext.ts +16 -1
  90. package/front_end/models/ai_assistance/contexts/FileContext.ts +6 -0
  91. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +150 -325
  92. package/front_end/models/ai_assistance/injected.ts +3 -3
  93. package/front_end/models/ai_assistance/performance/AIContext.ts +1 -1
  94. package/front_end/models/ai_assistance/skills/README.md +1 -1
  95. package/front_end/models/ai_assistance/skills/accessibility.md +19 -10
  96. package/front_end/models/ai_assistance/skills/network.md +13 -7
  97. package/front_end/models/ai_assistance/skills/performance.md +22 -16
  98. package/front_end/models/ai_assistance/skills/sources.md +13 -7
  99. package/front_end/models/ai_assistance/skills/storage.md +19 -18
  100. package/front_end/models/ai_assistance/skills/styling.md +30 -37
  101. package/front_end/models/ai_assistance/tools/CookieUtils.ts +120 -0
  102. package/front_end/models/ai_assistance/tools/DOMStorageUtils.ts +53 -4
  103. package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +8 -32
  104. package/front_end/models/ai_assistance/tools/GetCookieValues.ts +146 -0
  105. package/front_end/models/ai_assistance/tools/GetDetailedCallTree.ts +11 -9
  106. package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +17 -5
  107. package/front_end/models/ai_assistance/tools/GetFunctionCode.ts +12 -11
  108. package/front_end/models/ai_assistance/tools/GetInsightDetails.ts +11 -11
  109. package/front_end/models/ai_assistance/tools/GetLighthouseAudits.ts +3 -2
  110. package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +3 -3
  111. package/front_end/models/ai_assistance/tools/GetResourceContent.ts +12 -12
  112. package/front_end/models/ai_assistance/tools/GetSourceContent.ts +3 -2
  113. package/front_end/models/ai_assistance/tools/GetStorageBreakdown.ts +132 -0
  114. package/front_end/models/ai_assistance/tools/GetStorageValues.ts +17 -4
  115. package/front_end/models/ai_assistance/tools/GetStyles.ts +3 -3
  116. package/front_end/models/ai_assistance/tools/GetTraceEventByKey.ts +9 -8
  117. package/front_end/models/ai_assistance/tools/GetTraceMainThreadSummary.ts +13 -14
  118. package/front_end/models/ai_assistance/tools/GetTraceNetworkSummary.ts +12 -10
  119. package/front_end/models/ai_assistance/tools/ListCookies.ts +93 -0
  120. package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +15 -6
  121. package/front_end/models/ai_assistance/tools/ListPageOrigins.ts +3 -3
  122. package/front_end/models/ai_assistance/tools/ListSources.ts +5 -3
  123. package/front_end/models/ai_assistance/tools/ListStorageKeys.ts +16 -4
  124. package/front_end/models/ai_assistance/tools/RecordPerformanceTrace.ts +3 -2
  125. package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +4 -3
  126. package/front_end/models/ai_assistance/tools/RunLighthouse.ts +9 -9
  127. package/front_end/models/ai_assistance/tools/SelectTraceEventByKey.ts +9 -8
  128. package/front_end/models/ai_assistance/tools/Tool.ts +21 -11
  129. package/front_end/models/ai_assistance/tools/ToolRegistry.ts +41 -8
  130. package/front_end/models/badges/AiExplorerBadge.ts +3 -3
  131. package/front_end/models/badges/CodeWhispererBadge.ts +2 -2
  132. package/front_end/models/badges/DOMDetectiveBadge.ts +3 -3
  133. package/front_end/models/badges/SpeedsterBadge.ts +3 -3
  134. package/front_end/models/badges/StarterBadge.ts +4 -4
  135. package/front_end/models/bindings/CompilerScriptMapping.ts +11 -2
  136. package/front_end/models/bindings/ContentProviderBasedProject.ts +3 -2
  137. package/front_end/models/breakpoints/BreakpointManager.ts +1 -1
  138. package/front_end/models/emulation/EmulatedDevices.ts +2 -2
  139. package/front_end/models/formatter/FormatterWorkerPool.ts +2 -2
  140. package/front_end/models/formatter/ScriptFormatter.ts +1 -2
  141. package/front_end/models/geometry/GeometryImpl.ts +2 -2
  142. package/front_end/models/heap_snapshot/HeapSnapshotModel.ts +1 -1
  143. package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +3 -2
  144. package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +5 -5
  145. package/front_end/models/issues_manager/GenericIssue.ts +18 -18
  146. package/front_end/models/issues_manager/StylesheetLoadingIssue.ts +1 -1
  147. package/front_end/models/javascript_metadata/{NativeFunctions.js → NativeFunctions.ts} +26 -10
  148. package/front_end/models/live-metrics/LiveMetrics.ts +9 -3
  149. package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +58 -6
  150. package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +2 -62
  151. package/front_end/models/network_time_calculator/RequestTimeRanges.ts +2 -2
  152. package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +5 -0
  153. package/front_end/models/persistence/IsolatedFileSystem.ts +1 -1
  154. package/front_end/models/persistence/NetworkPersistenceManager.ts +35 -6
  155. package/front_end/models/stack_trace/StackTraceImpl.ts +2 -2
  156. package/front_end/models/trace/LanternComputationData.ts +2 -3
  157. package/front_end/models/trace/extras/StackTraceForEvent.ts +3 -2
  158. package/front_end/models/trace/extras/ThirdParties.ts +9 -9
  159. package/front_end/models/trace/handlers/AsyncJSCallsHandler.ts +7 -4
  160. package/front_end/models/trace/handlers/FramesHandler.ts +3 -3
  161. package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +2 -2
  162. package/front_end/models/trace/handlers/SamplesHandler.ts +4 -2
  163. package/front_end/models/trace/handlers/UserInteractionsHandler.ts +1 -1
  164. package/front_end/models/trace/handlers/WarningsHandler.ts +2 -2
  165. package/front_end/models/trace/helpers/Network.ts +3 -3
  166. package/front_end/models/trace/helpers/Trace.ts +1 -1
  167. package/front_end/models/trace/insights/CLSCulprits.ts +1 -1
  168. package/front_end/models/trace/insights/Cache.ts +1 -1
  169. package/front_end/models/trace/insights/CharacterSet.ts +1 -1
  170. package/front_end/models/trace/insights/DOMSize.ts +1 -1
  171. package/front_end/models/trace/insights/DocumentLatency.ts +1 -1
  172. package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -1
  173. package/front_end/models/trace/insights/FontDisplay.ts +1 -1
  174. package/front_end/models/trace/insights/ForcedReflow.ts +1 -1
  175. package/front_end/models/trace/insights/INPBreakdown.ts +1 -1
  176. package/front_end/models/trace/insights/ImageDelivery.ts +1 -1
  177. package/front_end/models/trace/insights/LCPBreakdown.ts +1 -1
  178. package/front_end/models/trace/insights/LCPDiscovery.ts +1 -1
  179. package/front_end/models/trace/insights/LegacyJavaScript.ts +1 -1
  180. package/front_end/models/trace/insights/ModernHTTP.ts +1 -1
  181. package/front_end/models/trace/insights/NetworkDependencyTree.ts +1 -1
  182. package/front_end/models/trace/insights/RenderBlocking.ts +3 -4
  183. package/front_end/models/trace/insights/SlowCSSSelector.ts +1 -1
  184. package/front_end/models/trace/insights/ThirdParties.ts +3 -3
  185. package/front_end/models/trace/insights/Viewport.ts +1 -1
  186. package/front_end/models/trace/lantern/simulation/Constants.ts +34 -2
  187. package/front_end/models/trace/lantern/simulation/DNSCache.ts +1 -1
  188. package/front_end/models/trace/types/TraceEvents.ts +8 -3
  189. package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +2 -1
  190. package/front_end/models/workspace/WorkspaceImpl.ts +18 -2
  191. package/front_end/panels/accessibility/ARIAAttributesView.ts +1 -1
  192. package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +686 -2
  193. package/front_end/panels/accessibility/AccessibilityNodeView.ts +1 -2
  194. package/front_end/panels/accessibility/AccessibilityStrings.ts +7 -3
  195. package/front_end/panels/accessibility/accessibilityNode.css +4 -4
  196. package/front_end/panels/accessibility/accessibilityProperties.css +1 -1
  197. package/front_end/panels/accessibility/accessibilitySidebarView.css +2 -2
  198. package/front_end/panels/accessibility/axBreadcrumbs.css +13 -13
  199. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +14 -14
  200. package/front_end/panels/ai_assistance/ExternalHandler.ts +1 -1
  201. package/front_end/panels/ai_assistance/aiAssistancePanel.css +1 -1
  202. package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +2 -2
  203. package/front_end/panels/ai_assistance/components/AccessibilityAgentMarkdownRenderer.ts +1 -3
  204. package/front_end/panels/ai_assistance/components/ChatInput.ts +3 -2
  205. package/front_end/panels/ai_assistance/components/ChatView.ts +1 -1
  206. package/front_end/panels/ai_assistance/components/DisabledWidget.ts +1 -1
  207. package/front_end/panels/ai_assistance/components/ExploreWidget.ts +1 -1
  208. package/front_end/panels/ai_assistance/components/chatInput.css +12 -12
  209. package/front_end/panels/ai_assistance/components/chatMessage.css +16 -16
  210. package/front_end/panels/ai_assistance/components/chatView.css +2 -2
  211. package/front_end/panels/ai_assistance/components/exploreWidget.css +1 -1
  212. package/front_end/panels/ai_assistance/components/exportForAgentsDialog.css +4 -0
  213. package/front_end/panels/ai_assistance/components/walkthroughView.css +6 -6
  214. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
  215. package/front_end/panels/animation/AnimationTimeline.ts +1 -1
  216. package/front_end/panels/animation/AnimationUI.ts +1 -1
  217. package/front_end/panels/animation/animationTimeline.css +62 -62
  218. package/front_end/panels/application/AppManifestView.ts +6 -2
  219. package/front_end/panels/application/ApplicationPanelSidebar.ts +8 -5
  220. package/front_end/panels/application/BackgroundServiceView.ts +290 -252
  221. package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +1 -1
  222. package/front_end/panels/application/FrameDetailsView.ts +1 -1
  223. package/front_end/panels/application/IndexedDBViews.ts +3 -2
  224. package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
  225. package/front_end/panels/application/ReportingApiView.ts +2 -2
  226. package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +1 -1
  227. package/front_end/panels/application/ServiceWorkersView.ts +1 -1
  228. package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
  229. package/front_end/panels/application/StorageItemsToolbar.ts +6 -2
  230. package/front_end/panels/application/StorageView.ts +9 -8
  231. package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
  232. package/front_end/panels/application/WebMCPView.ts +17 -8
  233. package/front_end/panels/application/appManifestView.css +5 -5
  234. package/front_end/panels/application/backgroundServiceView.css +18 -2
  235. package/front_end/panels/application/components/AdsView.ts +100 -4
  236. package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +1 -1
  237. package/front_end/panels/application/components/CrashReportContextGrid.ts +1 -1
  238. package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
  239. package/front_end/panels/application/components/ReportsGrid.ts +1 -1
  240. package/front_end/panels/application/components/TrustTokensView.ts +1 -1
  241. package/front_end/panels/application/components/adsView.css +8 -5
  242. package/front_end/panels/application/components/backForwardCacheView.css +5 -5
  243. package/front_end/panels/application/components/bounceTrackingMitigationsView.css +1 -1
  244. package/front_end/panels/application/components/endpointsGrid.css +1 -1
  245. package/front_end/panels/application/components/permissionsPolicySection.css +1 -1
  246. package/front_end/panels/application/components/protocolHandlersView.css +6 -6
  247. package/front_end/panels/application/components/reportsGrid.css +1 -1
  248. package/front_end/panels/application/components/serviceWorkerRouterView.css +4 -4
  249. package/front_end/panels/application/components/trustTokensView.css +7 -7
  250. package/front_end/panels/application/cookieItemsView.css +3 -3
  251. package/front_end/panels/application/deviceBoundSessionsView.css +3 -3
  252. package/front_end/panels/application/frameDetailsReportView.css +11 -11
  253. package/front_end/panels/application/indexedDBViews.css +7 -7
  254. package/front_end/panels/application/originTrialTokenRows.css +2 -2
  255. package/front_end/panels/application/originTrialTreeView.css +3 -3
  256. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +1 -1
  257. package/front_end/panels/application/preloading/components/PreloadingGrid.ts +1 -1
  258. package/front_end/panels/application/preloading/components/RuleSetDetailsView.css +2 -2
  259. package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -2
  260. package/front_end/panels/application/preloading/components/preloadingDetailsReportView.css +1 -1
  261. package/front_end/panels/application/preloading/components/preloadingDisabledInfobar.css +2 -2
  262. package/front_end/panels/application/preloading/components/preloadingGrid.css +2 -2
  263. package/front_end/panels/application/preloading/components/usedPreloadingView.css +7 -7
  264. package/front_end/panels/application/preloading/preloadingView.css +1 -1
  265. package/front_end/panels/application/preloading/preloadingViewDropDown.css +3 -3
  266. package/front_end/panels/application/serviceWorkerCacheViews.css +5 -5
  267. package/front_end/panels/application/serviceWorkerUpdateCycleView.css +14 -12
  268. package/front_end/panels/application/serviceWorkersView.css +15 -16
  269. package/front_end/panels/application/storageView.css +5 -5
  270. package/front_end/panels/application/webMCPView.css +9 -9
  271. package/front_end/panels/autofill/AutofillView.ts +2 -2
  272. package/front_end/panels/autofill/autofillView.css +4 -4
  273. package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +2 -3
  274. package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
  275. package/front_end/panels/browser_debugger/categorizedBreakpointsSidebarPane.css +4 -4
  276. package/front_end/panels/browser_debugger/domBreakpointsSidebarPane.css +5 -3
  277. package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +4 -4
  278. package/front_end/panels/changes/ChangesSidebar.ts +56 -15
  279. package/front_end/panels/changes/ChangesView.ts +1 -1
  280. package/front_end/panels/changes/changesSidebar.css +1 -1
  281. package/front_end/panels/changes/changesView.css +1 -1
  282. package/front_end/panels/changes/combinedDiffView.css +1 -1
  283. package/front_end/panels/common/CPUThrottlingOption.ts +5 -10
  284. package/front_end/panels/common/badgeNotification.css +2 -2
  285. package/front_end/panels/common/domLinkifier.css +1 -1
  286. package/front_end/panels/common/gdpSignUpDialog.css +3 -3
  287. package/front_end/panels/common/geminiRebrandPromoDialog.css +1 -1
  288. package/front_end/panels/console/ConsolePrompt.ts +12 -5
  289. package/front_end/panels/console/ConsoleSidebar.ts +6 -2
  290. package/front_end/panels/console/ConsoleView.ts +6 -3
  291. package/front_end/panels/console/ConsoleViewMessage.ts +3 -1
  292. package/front_end/panels/console/console-meta.ts +5 -24
  293. package/front_end/panels/console/consoleContextSelector.css +2 -2
  294. package/front_end/panels/console/consolePinPane.css +9 -9
  295. package/front_end/panels/console/consolePrompt.css +5 -5
  296. package/front_end/panels/console/consoleView.css +39 -39
  297. package/front_end/panels/coverage/coverageListView.css +2 -2
  298. package/front_end/panels/css_overview/cssOverviewCompletedView.css +34 -34
  299. package/front_end/panels/css_overview/cssOverviewProcessingView.css +5 -5
  300. package/front_end/panels/css_overview/cssOverviewSidebarPanel.css +1 -1
  301. package/front_end/panels/css_overview/cssOverviewStartView.css +17 -17
  302. package/front_end/panels/elements/AdoptedStyleSheetTreeElement.ts +209 -62
  303. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +4 -4
  304. package/front_end/panels/elements/DOMTreeContextMenu.ts +59 -54
  305. package/front_end/panels/elements/ElementsPanel.ts +1 -1
  306. package/front_end/panels/elements/ElementsTreeElement.ts +142 -94
  307. package/front_end/panels/elements/ElementsTreeOutline.ts +2132 -472
  308. package/front_end/panels/elements/PropertyRenderer.ts +22 -15
  309. package/front_end/panels/elements/ShortcutTreeElement.ts +6 -3
  310. package/front_end/panels/elements/StandaloneStylesContainer.ts +6 -2
  311. package/front_end/panels/elements/StylePropertiesSection.ts +65 -8
  312. package/front_end/panels/elements/StylePropertyTreeElement.ts +81 -26
  313. package/front_end/panels/elements/StylesSidebarPane.ts +149 -10
  314. package/front_end/panels/elements/classesPaneWidget.css +6 -6
  315. package/front_end/panels/elements/components/stylePropertyEditor.css +7 -7
  316. package/front_end/panels/elements/computedStyleWidget.css +1 -1
  317. package/front_end/panels/elements/elementStatePaneWidget.css +8 -8
  318. package/front_end/panels/elements/elements-meta.ts +14 -0
  319. package/front_end/panels/elements/elementsPanel.css +4 -4
  320. package/front_end/panels/elements/elementsTreeOutline.css +226 -38
  321. package/front_end/panels/elements/layersWidget.css +4 -4
  322. package/front_end/panels/elements/layoutPane.css +18 -18
  323. package/front_end/panels/elements/metricsSidebarPane.css +11 -11
  324. package/front_end/panels/elements/platformFontsWidget.css +5 -5
  325. package/front_end/panels/elements/propertiesWidget.css +2 -2
  326. package/front_end/panels/elements/stylePropertiesTreeOutline.css +20 -20
  327. package/front_end/panels/elements/stylesSidebarPane.css +37 -20
  328. package/front_end/panels/emulation/DeviceModeView.ts +6 -1
  329. package/front_end/panels/emulation/InspectedPagePlaceholder.ts +6 -2
  330. package/front_end/panels/emulation/deviceModeView.css +49 -49
  331. package/front_end/panels/emulation/mediaQueryInspector.css +18 -18
  332. package/front_end/panels/event_listeners/eventListenersView.css +1 -1
  333. package/front_end/panels/explain/components/consoleInsight.css +29 -29
  334. package/front_end/panels/issues/components/elementsPanelLink.css +2 -2
  335. package/front_end/panels/issues/components/hideIssuesMenu.css +1 -1
  336. package/front_end/panels/issues/issuesPane.css +2 -2
  337. package/front_end/panels/issues/issuesTree.css +50 -50
  338. package/front_end/panels/layer_viewer/LayerDetailsView.ts +6 -2
  339. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
  340. package/front_end/panels/layer_viewer/Layers3DView.ts +17 -11
  341. package/front_end/panels/layer_viewer/PaintProfilerView.ts +6 -2
  342. package/front_end/panels/layer_viewer/layerDetailsView.css +1 -1
  343. package/front_end/panels/layer_viewer/layerTreeOutline.css +2 -2
  344. package/front_end/panels/layer_viewer/layers3DView.css +1 -1
  345. package/front_end/panels/layer_viewer/paintProfiler.css +1 -1
  346. package/front_end/panels/lighthouse/LighthouseReportSelector.ts +2 -2
  347. package/front_end/panels/lighthouse/lighthousePanel.css +5 -5
  348. package/front_end/panels/lighthouse/lighthouseStartView.css +13 -13
  349. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +6 -2
  350. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +6 -2
  351. package/front_end/panels/media/playerListView.css +9 -9
  352. package/front_end/panels/media/playerMessagesView.css +8 -8
  353. package/front_end/panels/media/playerPropertiesView.css +6 -6
  354. package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +1 -1
  355. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +6 -2
  356. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +25 -54
  357. package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +9 -9
  358. package/front_end/panels/network/NetworkDataGridNode.ts +1 -0
  359. package/front_end/panels/network/NetworkLogView.ts +8 -3
  360. package/front_end/panels/network/NetworkPanel.ts +9 -4
  361. package/front_end/panels/network/RequestConditionsDrawer.ts +12 -12
  362. package/front_end/panels/network/RequestPayloadView.ts +78 -26
  363. package/front_end/panels/network/binaryResourceView.css +1 -1
  364. package/front_end/panels/network/components/EditableSpan.css +3 -3
  365. package/front_end/panels/network/components/HeaderSectionRow.css +14 -14
  366. package/front_end/panels/network/components/RequestHeaderSection.css +7 -7
  367. package/front_end/panels/network/components/RequestHeadersView.css +23 -18
  368. package/front_end/panels/network/components/RequestTrustTokensView.css +1 -1
  369. package/front_end/panels/network/network-meta.ts +9 -9
  370. package/front_end/panels/network/networkConfigView.css +11 -11
  371. package/front_end/panels/network/networkLogView.css +39 -35
  372. package/front_end/panels/network/networkManageCustomHeadersView.css +1 -1
  373. package/front_end/panels/network/networkPanel.css +7 -7
  374. package/front_end/panels/network/networkTimingTable.css +13 -13
  375. package/front_end/panels/network/requestConditionsDrawer.css +4 -4
  376. package/front_end/panels/network/requestCookiesView.css +5 -5
  377. package/front_end/panels/network/requestDeviceBoundSessionsView.css +1 -1
  378. package/front_end/panels/network/requestHTMLView.css +1 -1
  379. package/front_end/panels/network/requestHeadersTree.css +19 -19
  380. package/front_end/panels/network/requestInitiatorView.css +1 -1
  381. package/front_end/panels/network/requestInitiatorViewTree.css +5 -3
  382. package/front_end/panels/network/requestPayloadTree.css +5 -5
  383. package/front_end/panels/network/requestPayloadView.css +1 -1
  384. package/front_end/panels/network/resourceChunkView.css +3 -3
  385. package/front_end/panels/network/signedExchangeInfoTree.css +6 -6
  386. package/front_end/panels/performance_monitor/performanceMonitor.css +3 -3
  387. package/front_end/panels/profiler/HeapDetachedElementsView.ts +7 -2
  388. package/front_end/panels/profiler/HeapProfileView.ts +7 -2
  389. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +8 -4
  390. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +8 -4
  391. package/front_end/panels/profiler/HeapSnapshotView.ts +15 -6
  392. package/front_end/panels/profiler/HeapTimelineOverview.ts +6 -2
  393. package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +12 -5
  394. package/front_end/panels/profiler/ProfileLauncherView.ts +6 -2
  395. package/front_end/panels/profiler/heapProfiler.css +15 -15
  396. package/front_end/panels/profiler/profileLauncherView.css +10 -10
  397. package/front_end/panels/profiler/profilesPanel.css +8 -9
  398. package/front_end/panels/profiler/profilesSidebarTree.css +13 -13
  399. package/front_end/panels/protocol_monitor/JSONEditor.css +2 -2
  400. package/front_end/panels/protocol_monitor/JSONEditor.ts +6 -1
  401. package/front_end/panels/protocol_monitor/protocolMonitor.css +2 -2
  402. package/front_end/panels/recorder/RecordingView.ts +1 -1
  403. package/front_end/panels/recorder/StepEditor.ts +86 -7
  404. package/front_end/panels/recorder/TimelineSection.ts +2 -1
  405. package/front_end/panels/recorder/createRecordingView.css +17 -17
  406. package/front_end/panels/recorder/extensionView.css +5 -5
  407. package/front_end/panels/recorder/injected/RecordingClient.ts +1 -1
  408. package/front_end/panels/recorder/models/SchemaUtils.ts +2 -2
  409. package/front_end/panels/recorder/models/ScreenshotStorage.ts +1 -1
  410. package/front_end/panels/recorder/recorderPanel.css +7 -7
  411. package/front_end/panels/recorder/recordingListView.css +12 -12
  412. package/front_end/panels/recorder/recordingView.css +47 -47
  413. package/front_end/panels/recorder/stepEditor.css +2 -2
  414. package/front_end/panels/recorder/stepView.css +20 -20
  415. package/front_end/panels/recorder/timelineSection.css +9 -9
  416. package/front_end/panels/screencast/screencastView.css +12 -12
  417. package/front_end/panels/search/searchResultsPane.css +10 -10
  418. package/front_end/panels/search/searchView.css +9 -9
  419. package/front_end/panels/security/SecurityPanel.ts +84 -54
  420. package/front_end/panels/security/mainView.css +26 -26
  421. package/front_end/panels/security/originView.css +15 -15
  422. package/front_end/panels/sensors/locationsSettingsTab.css +6 -6
  423. package/front_end/panels/sensors/sensors.css +28 -28
  424. package/front_end/panels/settings/components/syncSection.css +5 -5
  425. package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +13 -13
  426. package/front_end/panels/settings/emulation/devicesSettingsTab.css +16 -16
  427. package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +2 -2
  428. package/front_end/panels/settings/keybindsSettingsTab.css +2 -2
  429. package/front_end/panels/settings/settingsScreen.css +5 -5
  430. package/front_end/panels/sources/SourcesView.ts +7 -2
  431. package/front_end/panels/sources/TabbedEditorContainer.ts +6 -2
  432. package/front_end/panels/sources/UISourceCodeFrame.ts +11 -4
  433. package/front_end/panels/sources/breakpointEditDialog.css +9 -9
  434. package/front_end/panels/sources/breakpointsView.css +25 -25
  435. package/front_end/panels/sources/callStackSidebarPane.css +10 -10
  436. package/front_end/panels/sources/components/HeadersView.css +6 -6
  437. package/front_end/panels/sources/debuggerPausedMessage.css +4 -4
  438. package/front_end/panels/sources/dialog.css +2 -2
  439. package/front_end/panels/sources/navigatorTree.css +2 -2
  440. package/front_end/panels/sources/navigatorView.css +2 -2
  441. package/front_end/panels/sources/scopeChainSidebarPane.css +1 -1
  442. package/front_end/panels/sources/sourcesNavigator.css +1 -1
  443. package/front_end/panels/sources/sourcesPanel.css +2 -2
  444. package/front_end/panels/sources/sourcesView.css +1 -1
  445. package/front_end/panels/sources/threadsSidebarPane.css +5 -5
  446. package/front_end/panels/sources/watchExpressionsSidebarPane.css +8 -8
  447. package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -1
  448. package/front_end/panels/timeline/AnnotationHelpers.ts +9 -9
  449. package/front_end/panels/timeline/CountersGraph.ts +8 -8
  450. package/front_end/panels/timeline/EventsTimelineTreeView.ts +3 -3
  451. package/front_end/panels/timeline/ExtensionTrackAppender.ts +1 -1
  452. package/front_end/panels/timeline/GPUTrackAppender.ts +1 -1
  453. package/front_end/panels/timeline/InteractionsTrackAppender.ts +1 -1
  454. package/front_end/panels/timeline/IsolateSelector.ts +2 -2
  455. package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +3 -3
  456. package/front_end/panels/timeline/NetworkTrackAppender.ts +1 -1
  457. package/front_end/panels/timeline/StatusDialog.ts +5 -6
  458. package/front_end/panels/timeline/ThirdPartyTreeView.ts +4 -4
  459. package/front_end/panels/timeline/ThreadAppender.ts +12 -14
  460. package/front_end/panels/timeline/TimelineController.ts +5 -8
  461. package/front_end/panels/timeline/TimelineDetailsView.ts +22 -30
  462. package/front_end/panels/timeline/TimelineEventOverview.ts +4 -4
  463. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +17 -17
  464. package/front_end/panels/timeline/TimelineFlameChartView.ts +11 -8
  465. package/front_end/panels/timeline/TimelineHistoryManager.ts +8 -8
  466. package/front_end/panels/timeline/TimelineLoader.ts +1 -1
  467. package/front_end/panels/timeline/TimelineMiniMap.ts +10 -5
  468. package/front_end/panels/timeline/TimelinePanel.ts +57 -59
  469. package/front_end/panels/timeline/TimelineSelectorStatsView.ts +27 -27
  470. package/front_end/panels/timeline/TimelineTreeView.ts +46 -44
  471. package/front_end/panels/timeline/TimelineUIUtils.ts +142 -116
  472. package/front_end/panels/timeline/TimingsTrackAppender.ts +1 -1
  473. package/front_end/panels/timeline/TrackConfigBanner.ts +4 -4
  474. package/front_end/panels/timeline/UIDevtoolsUtils.ts +15 -15
  475. package/front_end/panels/timeline/components/LiveMetricsView.ts +1 -1
  476. package/front_end/panels/timeline/components/breadcrumbsUI.css +3 -3
  477. package/front_end/panels/timeline/components/exportTraceOptions.css +1 -1
  478. package/front_end/panels/timeline/components/fieldSettingsDialog.css +13 -13
  479. package/front_end/panels/timeline/components/ignoreListSetting.css +3 -3
  480. package/front_end/panels/timeline/components/insights/Table.ts +1 -1
  481. package/front_end/panels/timeline/components/liveMetricsView.css +39 -39
  482. package/front_end/panels/timeline/components/metricCard.css +20 -20
  483. package/front_end/panels/timeline/components/networkRequestDetails.css +9 -9
  484. package/front_end/panels/timeline/components/networkRequestTooltip.css +14 -14
  485. package/front_end/panels/timeline/components/networkTrackWidget.css +2 -2
  486. package/front_end/panels/timeline/components/originMap.css +4 -4
  487. package/front_end/panels/timeline/components/relatedInsightChips.css +1 -1
  488. package/front_end/panels/timeline/components/sidebarAnnotationsTab.css +4 -4
  489. package/front_end/panels/timeline/components/sidebarInsightsTab.css +5 -5
  490. package/front_end/panels/timeline/components/sidebarSingleInsightSet.css +1 -1
  491. package/front_end/panels/timeline/components/timelineSummary.css +4 -4
  492. package/front_end/panels/timeline/enable-easter-egg.js +1 -1
  493. package/front_end/panels/timeline/overlays/OverlaysImpl.ts +4 -4
  494. package/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts +1 -1
  495. package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +6 -6
  496. package/front_end/panels/timeline/overlays/components/TimeRangeOverlay.ts +1 -1
  497. package/front_end/panels/timeline/thirdPartyTreeView.css +5 -5
  498. package/front_end/panels/timeline/timeline-meta.ts +30 -36
  499. package/front_end/panels/timeline/timelineDetailsView.css +11 -11
  500. package/front_end/panels/timeline/timelineFlameChartView.css +10 -10
  501. package/front_end/panels/timeline/timelineFlamechartPopover.css +5 -5
  502. package/front_end/panels/timeline/timelineHistoryManager.css +7 -7
  503. package/front_end/panels/timeline/timelinePaintProfiler.css +2 -2
  504. package/front_end/panels/timeline/timelinePanel.css +20 -20
  505. package/front_end/panels/timeline/timelineTreeView.css +8 -8
  506. package/front_end/panels/timeline/utils/IgnoreList.ts +4 -4
  507. package/front_end/panels/webauthn/webauthnPane.css +6 -6
  508. package/front_end/panels/whats_new/ReleaseNoteText.ts +2 -2
  509. package/front_end/third_party/chromium/README.chromium +1 -1
  510. package/front_end/third_party/i18n/i18n-impl.ts +1 -1
  511. package/front_end/third_party/puppeteer/README.chromium +2 -2
  512. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +15 -1
  513. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +42 -8
  514. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.d.ts +4 -0
  515. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.d.ts.map +1 -1
  516. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js +15 -2
  517. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js.map +1 -1
  518. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts +14 -1
  519. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts.map +1 -1
  520. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js +23 -1
  521. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js.map +1 -1
  522. package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts +1 -1
  523. package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts.map +1 -1
  524. package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js +1 -1
  525. package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js.map +1 -1
  526. package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.d.ts.map +1 -1
  527. package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.js +77 -6
  528. package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.js.map +1 -1
  529. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
  530. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
  531. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js.map +1 -1
  532. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
  533. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
  534. package/front_end/third_party/puppeteer/package/lib/types.d.ts +15 -1
  535. package/front_end/third_party/puppeteer/package/package.json +2 -2
  536. package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +16 -2
  537. package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +36 -1
  538. package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
  539. package/front_end/third_party/puppeteer/package/src/injected/Poller.ts +86 -6
  540. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  541. package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
  542. package/front_end/third_party/web-vitals/README.chromium +2 -2
  543. package/front_end/third_party/web-vitals/package/README.md +22 -7
  544. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +6 -2
  545. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.d.ts +2 -2
  546. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.js +30 -3
  547. package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.d.ts +14 -0
  548. package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.js +19 -13
  549. package/front_end/third_party/web-vitals/package/dist/modules/lib/bindReporter.d.ts +1 -1
  550. package/front_end/third_party/web-vitals/package/dist/modules/lib/doubleRAF.js +1 -1
  551. package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +3 -3
  552. package/front_end/third_party/web-vitals/package/dist/modules/lib/softNavs.js +3 -1
  553. package/front_end/third_party/web-vitals/package/dist/modules/types/lcp.d.ts +15 -1
  554. package/front_end/third_party/web-vitals/package/package.json +1 -2
  555. package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +9 -2
  556. package/front_end/third_party/web-vitals/package/src/attribution/onLCP.ts +36 -5
  557. package/front_end/third_party/web-vitals/package/src/lib/InteractionManager.ts +21 -15
  558. package/front_end/third_party/web-vitals/package/src/lib/doubleRAF.ts +1 -1
  559. package/front_end/third_party/web-vitals/package/src/lib/softNavs.ts +4 -1
  560. package/front_end/third_party/web-vitals/package/src/types/lcp.ts +16 -1
  561. package/front_end/third_party/web-vitals/rebuild.sh +3 -3
  562. package/front_end/ui/comments/CommentAnchorResolver.ts +26 -6
  563. package/front_end/ui/comments/CommentOverlayManager.ts +9 -1
  564. package/front_end/ui/comments/commentsOverlay.css +6 -5
  565. package/front_end/ui/components/adorners/Adorner.ts +1 -1
  566. package/front_end/ui/components/adorners/adorner.css +6 -6
  567. package/front_end/ui/components/buttons/Button.docs.ts +1 -1
  568. package/front_end/ui/components/buttons/FloatingButton.ts +1 -1
  569. package/front_end/ui/components/buttons/button.css +30 -9
  570. package/front_end/ui/components/buttons/floatingButton.css +2 -2
  571. package/front_end/ui/components/buttons/textButton.css +12 -12
  572. package/front_end/ui/components/dialogs/Dialog.ts +1 -1
  573. package/front_end/ui/components/dialogs/dialog.css +1 -1
  574. package/front_end/ui/components/diff_view/diffView.css +3 -3
  575. package/front_end/ui/components/expandable_list/expandableList.css +9 -9
  576. package/front_end/ui/components/highlighting/HighlightElement.ts +1 -1
  577. package/front_end/ui/components/highlighting/HighlightManager.ts +4 -0
  578. package/front_end/ui/components/icon_button/iconButton.css +2 -2
  579. package/front_end/ui/components/input/checkbox.css +8 -8
  580. package/front_end/ui/components/input/textInput.css +3 -3
  581. package/front_end/ui/components/issue_counter/issueLinkIcon.css +2 -2
  582. package/front_end/ui/components/linkifier/linkifierImpl.css +1 -1
  583. package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
  584. package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +1 -1
  585. package/front_end/ui/components/markdown_view/codeBlock.css +2 -2
  586. package/front_end/ui/components/markdown_view/markdownView.css +7 -7
  587. package/front_end/ui/components/menus/menuGroup.css +2 -2
  588. package/front_end/ui/components/menus/menuItem.css +2 -2
  589. package/front_end/ui/components/menus/selectMenu.css +2 -2
  590. package/front_end/ui/components/menus/selectMenuButton.css +4 -4
  591. package/front_end/ui/components/panel_feedback/panelFeedback.css +15 -15
  592. package/front_end/ui/components/panel_feedback/previewToggle.css +2 -2
  593. package/front_end/ui/components/panel_introduction_steps/panelIntroductionSteps.css +7 -7
  594. package/front_end/ui/components/report_view/ReportView.docs.ts +1 -1
  595. package/front_end/ui/components/report_view/report.css +3 -3
  596. package/front_end/ui/components/report_view/reportSectionDivider.css +1 -1
  597. package/front_end/ui/components/report_view/reportValue.css +1 -1
  598. package/front_end/ui/components/request_link_icon/requestLinkIcon.css +2 -2
  599. package/front_end/ui/components/settings/settingCheckbox.css +6 -6
  600. package/front_end/ui/components/snackbars/Snackbars.docs.ts +1 -1
  601. package/front_end/ui/components/spinners/Spinner.ts +1 -1
  602. package/front_end/ui/components/spinners/Spinners.docs.ts +1 -1
  603. package/front_end/ui/components/suggestion_input/SuggestionInput.ts +1 -2
  604. package/front_end/ui/components/switch/Switch.docs.ts +1 -1
  605. package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +10 -8
  606. package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +2 -1
  607. package/front_end/ui/components/text_editor/ExecutionPositionHighlighter.ts +2 -2
  608. package/front_end/ui/components/text_editor/TextEditor.ts +22 -1
  609. package/front_end/ui/components/text_editor/config.ts +125 -100
  610. package/front_end/ui/components/text_editor/cursor_tooltip.ts +1 -1
  611. package/front_end/ui/components/text_editor/theme.ts +1 -1
  612. package/front_end/ui/components/tooltips/Tooltip.docs.ts +1 -1
  613. package/front_end/ui/components/tooltips/Tooltip.ts +1 -1
  614. package/front_end/ui/components/tree_outline/TreeOutlineUtils.ts +4 -1
  615. package/front_end/ui/kit/cards/Card.ts +1 -1
  616. package/front_end/ui/kit/icons/Icon.ts +1 -1
  617. package/front_end/ui/kit/icons/icon.css +4 -4
  618. package/front_end/ui/kit/link/Link.docs.ts +1 -1
  619. package/front_end/ui/kit/link/Link.ts +1 -1
  620. package/front_end/ui/kit/link/link.css +1 -1
  621. package/front_end/ui/legacy/ActionRegistration.ts +23 -23
  622. package/front_end/ui/legacy/ContextMenu.docs.ts +1 -1
  623. package/front_end/ui/legacy/Dialog.ts +11 -3
  624. package/front_end/ui/legacy/DockController.ts +3 -3
  625. package/front_end/ui/legacy/EmptyWidget.ts +13 -34
  626. package/front_end/ui/legacy/FilterBar.ts +10 -5
  627. package/front_end/ui/legacy/Infobar.ts +2 -2
  628. package/front_end/ui/legacy/InspectorDrawerView.ts +6 -6
  629. package/front_end/ui/legacy/InspectorView.ts +19 -26
  630. package/front_end/ui/legacy/ListWidget.ts +7 -7
  631. package/front_end/ui/legacy/PlusButton.ts +1 -3
  632. package/front_end/ui/legacy/RadioButton.docs.ts +1 -1
  633. package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +6 -6
  634. package/front_end/ui/legacy/SearchableView.ts +16 -16
  635. package/front_end/ui/legacy/SelectMenu.docs.ts +1 -1
  636. package/front_end/ui/legacy/Slider.docs.ts +1 -1
  637. package/front_end/ui/legacy/SoftContextMenu.ts +8 -8
  638. package/front_end/ui/legacy/SoftDropDown.ts +1 -1
  639. package/front_end/ui/legacy/SplitWidget.ts +5 -1
  640. package/front_end/ui/legacy/SuggestBox.ts +2 -2
  641. package/front_end/ui/legacy/TabbedPane.ts +15 -11
  642. package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -2
  643. package/front_end/ui/legacy/Toolbar.ts +5 -5
  644. package/front_end/ui/legacy/Treeoutline.ts +1 -1
  645. package/front_end/ui/legacy/UIUtils.ts +80 -20
  646. package/front_end/ui/legacy/ViewManager.ts +1 -1
  647. package/front_end/ui/legacy/ViewRegistration.ts +7 -7
  648. package/front_end/ui/legacy/Widget.ts +5 -5
  649. package/front_end/ui/legacy/checkboxTextLabel.css +3 -3
  650. package/front_end/ui/legacy/components/color_picker/ColorFormatSpec.ts +16 -0
  651. package/front_end/ui/legacy/components/color_picker/FormatPickerContextMenu.ts +1 -0
  652. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +6 -1
  653. package/front_end/ui/legacy/components/color_picker/spectrum.css +90 -90
  654. package/front_end/ui/legacy/components/cookie_table/cookiesTable.css +1 -1
  655. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +26 -28
  656. package/front_end/ui/legacy/components/data_grid/ShowMoreDataGridNode.ts +3 -7
  657. package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +6 -2
  658. package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +6 -1
  659. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +6 -2
  660. package/front_end/ui/legacy/components/inline_editor/bezierEditor.css +13 -13
  661. package/front_end/ui/legacy/components/inline_editor/colorSwatch.css +7 -7
  662. package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +5 -5
  663. package/front_end/ui/legacy/components/inline_editor/cssShadowEditor.css +18 -18
  664. package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +104 -86
  665. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +8 -6
  666. package/front_end/ui/legacy/components/object_ui/objectPopover.css +4 -4
  667. package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +8 -6
  668. package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +28 -11
  669. package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +6 -1
  670. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +6 -2
  671. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +8 -8
  672. package/front_end/ui/legacy/components/perf_ui/chartViewport.css +4 -4
  673. package/front_end/ui/legacy/components/perf_ui/filmStripView.css +6 -6
  674. package/front_end/ui/legacy/components/perf_ui/flameChart.css +7 -7
  675. package/front_end/ui/legacy/components/perf_ui/overviewGrid.css +11 -11
  676. package/front_end/ui/legacy/components/perf_ui/pieChart.css +6 -6
  677. package/front_end/ui/legacy/components/perf_ui/timelineGrid.css +5 -5
  678. package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +8 -3
  679. package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +6 -1
  680. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +3 -3
  681. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -1
  682. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +7 -2
  683. package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
  684. package/front_end/ui/legacy/components/source_frame/jsonView.css +1 -1
  685. package/front_end/ui/legacy/components/source_frame/resourceSourceFrame.css +1 -1
  686. package/front_end/ui/legacy/components/source_frame/xmlTree.css +3 -3
  687. package/front_end/ui/legacy/components/utils/imagePreview.css +1 -1
  688. package/front_end/ui/legacy/components/utils/jsUtils.css +10 -10
  689. package/front_end/ui/legacy/dropTarget.css +2 -2
  690. package/front_end/ui/legacy/emptyWidget.css +6 -0
  691. package/front_end/ui/legacy/filter.css +19 -19
  692. package/front_end/ui/legacy/infobar.css +2 -2
  693. package/front_end/ui/legacy/inspectorCommon.css +67 -67
  694. package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +1 -1
  695. package/front_end/ui/legacy/listWidget.css +5 -5
  696. package/front_end/ui/legacy/progressIndicator.css +4 -4
  697. package/front_end/ui/legacy/reportView.css +7 -7
  698. package/front_end/ui/legacy/searchableView.css +5 -5
  699. package/front_end/ui/legacy/smallBubble.css +3 -3
  700. package/front_end/ui/legacy/softContextMenu.css +4 -4
  701. package/front_end/ui/legacy/softDropDownButton.css +1 -1
  702. package/front_end/ui/legacy/splitWidget.css +9 -31
  703. package/front_end/ui/legacy/suggestBox.css +4 -4
  704. package/front_end/ui/legacy/tabbedPane.css +17 -17
  705. package/front_end/ui/legacy/textPrompt.css +2 -2
  706. package/front_end/ui/legacy/toolbar.css +4 -4
  707. package/front_end/ui/legacy/treeoutline.css +14 -14
  708. package/front_end/ui/legacy/viewContainers.css +6 -6
  709. package/front_end/ui/settings/ConsoleSettings.ts +34 -0
  710. package/front_end/ui/visual_logging/KnownContextValues.ts +12 -0
  711. package/inspector_overlay/common.ts +12 -12
  712. package/inspector_overlay/css_grid_label_helpers.ts +16 -17
  713. package/inspector_overlay/drag_resize_handler.ts +2 -2
  714. package/inspector_overlay/highlight_common.ts +11 -13
  715. package/inspector_overlay/highlight_container_query.ts +2 -2
  716. package/inspector_overlay/highlight_flex_common.ts +6 -7
  717. package/inspector_overlay/highlight_grid_common.ts +3 -3
  718. package/inspector_overlay/highlight_isolated_element.ts +12 -3
  719. package/inspector_overlay/highlight_scroll_snap.ts +2 -2
  720. package/inspector_overlay/loadCSS.rollup.js +0 -1
  721. package/inspector_overlay/testing/InspectorOverlayHelpers.ts +13 -13
  722. package/inspector_overlay/tool_green_dev_anchors.ts +3 -3
  723. package/inspector_overlay/tool_highlight.ts +9 -9
  724. package/inspector_overlay/tool_paused.ts +4 -4
  725. package/inspector_overlay/tool_persistent.ts +11 -11
  726. package/inspector_overlay/tool_screenshot.ts +7 -7
  727. package/inspector_overlay/tool_source_order.ts +4 -4
  728. package/inspector_overlay/tool_viewport_size.ts +3 -3
  729. package/inspector_overlay/tool_window_controls.ts +4 -4
  730. package/mcp/mcp.ts +1 -0
  731. package/package.json +3 -3
  732. package/front_end/generated/protocol-tsconfig.json +0 -10
  733. package/front_end/panels/js_timeline/DIR_METADATA +0 -3
  734. package/front_end/panels/js_timeline/js_timeline-meta.ts +0 -193
  735. package/front_end/panels/js_timeline/js_timeline.ts +0 -1
  736. /package/front_end/entrypoints/{formatter_worker/FormatterActions.ts → formatter_actions/formatter_actions.ts} +0 -0
@@ -42,31 +42,31 @@ import {TracingFrameLayerTree} from './TracingLayerTree.js';
42
42
 
43
43
  const UIStrings = {
44
44
  /**
45
- * @description Text for the summary view
45
+ * @description Title for the summary tab in the details view of the Performance panel.
46
46
  */
47
47
  summary: 'Summary',
48
48
  /**
49
- * @description Text in Timeline Details View of the Performance panel
49
+ * @description Title for the bottom-up tab in the details view of the Performance panel.
50
50
  */
51
51
  bottomup: 'Bottom-up',
52
52
  /**
53
- * @description Text in Timeline Details View of the Performance panel
53
+ * @description Title for the call tree tab in the details view of the Performance panel.
54
54
  */
55
55
  callTree: 'Call tree',
56
56
  /**
57
- * @description Text in Timeline Details View of the Performance panel
57
+ * @description Title for the event log tab in the details view of the Performance panel.
58
58
  */
59
59
  eventLog: 'Event log',
60
60
  /**
61
- * @description Title of the paint profiler, old name of the performance pane
61
+ * @description Title for the paint profiler tab in the details view of the Performance panel.
62
62
  */
63
63
  paintProfiler: 'Paint profiler',
64
64
  /**
65
- * @description Title of the Layers tool
65
+ * @description Title for the layers tab in the details view of the Performance panel.
66
66
  */
67
67
  layers: 'Layers',
68
68
  /**
69
- * @description Title of the selector stats tab
69
+ * @description Title for the selector stats tab in the details view of the Performance panel.
70
70
  */
71
71
  selectorStats: 'Selector stats',
72
72
  } as const;
@@ -74,8 +74,12 @@ const str_ = i18n.i18n.registerUIStrings('panels/timeline/TimelineDetailsView.ts
74
74
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
75
75
  const {widget} = UI.Widget;
76
76
 
77
- export class TimelineDetailsPane extends
78
- Common.ObjectWrapper.eventMixin<TimelineTreeView.EventTypes, typeof UI.Widget.VBox>(UI.Widget.VBox) {
77
+ const TimelineDetailsPaneBase: Common.ObjectWrapper.EventMixin<TimelineTreeView.EventTypes, typeof UI.Widget.VBox> =
78
+ Common.ObjectWrapper.eventMixin(
79
+ UI.Widget.VBox,
80
+ );
81
+
82
+ export class TimelineDetailsPane extends TimelineDetailsPaneBase {
79
83
  private readonly detailsLinkifier: Components.Linkifier.Linkifier;
80
84
  private tabbedPane: UI.TabbedPane.TabbedPane;
81
85
  private readonly defaultDetailsWidget: UI.Widget.VBox;
@@ -86,7 +90,8 @@ export class TimelineDetailsPane extends
86
90
  private lazyLayersView?: TimelineLayersView|null;
87
91
  private preferredTabId?: string;
88
92
  private selection?: TimelineSelection|null;
89
- private updateContentsScheduled: boolean;
93
+ #debouncedUpdateContentsFromWindow: (() => void)&
94
+ {cancel: () => void} = Common.Debouncer.debounce(() => this.updateContentsFromWindow(), 100);
90
95
  private lazySelectorStatsView: TimelineSelectorStatsView|null;
91
96
  #parsedTrace: Trace.TraceModel.ParsedTrace|null = null;
92
97
  #eventToRelatedInsightsMap: TimelineComponents.RelatedInsightChips.EventToRelatedInsightsMap|null = null;
@@ -147,7 +152,6 @@ export class TimelineDetailsPane extends
147
152
  this.setPreferredTab(Tab.Details);
148
153
 
149
154
  this.rangeDetailViews = new Map();
150
- this.updateContentsScheduled = false;
151
155
 
152
156
  const bottomUpView = new BottomUpTimelineTreeView();
153
157
  this.appendTab(Tab.BottomUp, i18nString(UIStrings.bottomup), bottomUpView);
@@ -384,13 +388,11 @@ export class TimelineDetailsPane extends
384
388
  }
385
389
 
386
390
  /**
387
- * This forces a recalculation and rerendering of the timings
388
- * breakdown of a track.
389
- * User actions like zooming or scrolling can trigger many updates in
390
- * short time windows, so we debounce the calls in those cases. Single
391
- * sporadic calls (like selecting a new track) don't need to be
392
- * debounced. The forceImmediateUpdate param configures the debouncing
393
- * behaviour.
391
+ * Recalculates and renders the timing breakdown for the active details tab.
392
+ * Panning or zooming triggers rapid bounds updates, so we debounce this call
393
+ * using a trailing debounce. This ensures expensive tree recalculations in
394
+ * detailed views (e.g. Call Tree, Bottom-Up) only run once after user
395
+ * interaction finishes, preventing main-thread CPU spikes mid-gesture.
394
396
  */
395
397
  private scheduleUpdateContentsFromWindow(forceImmediateUpdate = false): void {
396
398
  if (!this.#parsedTrace) {
@@ -402,17 +404,7 @@ export class TimelineDetailsPane extends
402
404
  return;
403
405
  }
404
406
 
405
- // Debounce this update as it's not critical.
406
- if (!this.updateContentsScheduled) {
407
- this.updateContentsScheduled = true;
408
- setTimeout(() => {
409
- if (!this.updateContentsScheduled) {
410
- return;
411
- }
412
- this.updateContentsScheduled = false;
413
- this.updateContentsFromWindow();
414
- }, 100);
415
- }
407
+ this.#debouncedUpdateContentsFromWindow();
416
408
  }
417
409
 
418
410
  private updateContentsFromWindow(): void {
@@ -468,7 +460,7 @@ export class TimelineDetailsPane extends
468
460
 
469
461
  if (selectionIsEvent(selection)) {
470
462
  // Cancel any pending debounced range stats update
471
- this.updateContentsScheduled = false;
463
+ this.#debouncedUpdateContentsFromWindow.cancel();
472
464
 
473
465
  if (Trace.Types.Events.isLegacyTimelineFrame(selection.event)) {
474
466
  this.#addLayerTreeForSelectedFrame(selection.event);
@@ -14,19 +14,19 @@ import * as VisualLogging from '../../ui/visual_logging/visual_logging.js';
14
14
 
15
15
  const UIStrings = {
16
16
  /**
17
- * @description Short for Network. Label for the network requests section of the Performance panel.
17
+ * @description Label for the network overview strip in the Performance panel.
18
18
  */
19
19
  net: 'NET',
20
20
  /**
21
- * @description Text in Timeline Event Overview of the Performance panel
21
+ * @description Label for the CPU overview strip in the Performance panel.
22
22
  */
23
23
  cpu: 'CPU',
24
24
  /**
25
- * @description Text in Timeline Event Overview of the Performance panel
25
+ * @description Label for the heap memory overview strip in the Performance panel.
26
26
  */
27
27
  heap: 'HEAP',
28
28
  /**
29
- * @description Heap size label text content in Timeline Event Overview of the Performance panel
29
+ * @description Range label for minimum and maximum heap size in the heap memory overview strip of the Performance panel.
30
30
  * @example {10 MB} PH1
31
31
  * @example {30 MB} PH2
32
32
  */
@@ -31,71 +31,71 @@ import * as Utils from './utils/utils.js';
31
31
 
32
32
  const UIStrings = {
33
33
  /**
34
- * @description Text for rendering frames
34
+ * @description Header for the frames track in the timeline flame chart.
35
35
  */
36
36
  frames: 'Frames',
37
37
  /**
38
- * @description Text in Timeline Flame Chart Data Provider of the Performance panel
38
+ * @description Label for an idle frame in the frames track.
39
39
  */
40
40
  idleFrame: 'Idle frame',
41
41
  /**
42
- * @description Text in Timeline Frame Chart Data Provider of the Performance panel
42
+ * @description Label for a dropped frame in the frames track.
43
43
  */
44
44
  droppedFrame: 'Dropped frame',
45
45
  /**
46
- * @description Text in Timeline Frame Chart Data Provider of the Performance panel
46
+ * @description Label for a partially-presented frame in the frames track.
47
47
  */
48
48
  partiallyPresentedFrame: 'Partially-presented frame',
49
49
  /**
50
- * @description Text for a rendering frame
50
+ * @description Label for a presented frame in the frames track.
51
51
  */
52
52
  frame: 'Frame',
53
53
  /**
54
- * @description Text for Hiding a function from the Flame Chart
54
+ * @description Context menu item to hide a function in the timeline flame chart.
55
55
  */
56
56
  hideFunction: 'Hide function',
57
57
  /**
58
- * @description Text for Hiding all children of a function from the Flame Chart
58
+ * @description Context menu item to hide child entries of a function in the timeline flame chart.
59
59
  */
60
60
  hideChildren: 'Hide children',
61
61
  /**
62
- * @description Text for Hiding all child entries that are identical to the selected entry from the Flame Chart
62
+ * @description Context menu item to hide identical repeating child entries in the timeline flame chart.
63
63
  */
64
64
  hideRepeatingChildren: 'Hide repeating children',
65
65
  /**
66
- * @description Text for remove script from ignore list from the Flame Chart
66
+ * @description Context menu item to remove a script from the ignore list in the timeline flame chart.
67
67
  */
68
68
  removeScriptFromIgnoreList: 'Remove script from ignore list',
69
69
  /**
70
- * @description Text for add script to ignore list from the Flame Chart
70
+ * @description Context menu item to add a script to the ignore list in the timeline flame chart.
71
71
  */
72
72
  addScriptToIgnoreList: 'Add script to ignore list',
73
73
  /**
74
- * @description Text for an action that shows all of the hidden children of an entry
74
+ * @description Context menu item to restore hidden child entries of an entry in the timeline flame chart.
75
75
  */
76
76
  resetChildren: 'Reset children',
77
77
  /**
78
- * @description Text for an action that shows all of the hidden entries of the Flame Chart
78
+ * @description Context menu item to restore all hidden entries in the timeline flame chart.
79
79
  */
80
80
  resetTrace: 'Reset trace',
81
81
  /**
82
- * @description Text of a context menu item to redirect to the AI assistance panel and to start a chat.
82
+ * @description Context menu item to start a chat in the AI assistance panel.
83
83
  */
84
84
  startAChat: 'Start a chat',
85
85
  /**
86
- * @description Context menu item in Performance panel to label an entry.
86
+ * @description Context menu item to add a label annotation to an entry in the Performance panel.
87
87
  */
88
88
  labelEntry: 'Label entry',
89
89
  /**
90
- * @description Context menu item in Performance panel to assess the purpose of an entry via AI.
90
+ * @description Context menu item to assess the purpose of an entry using AI assistance in the Performance panel.
91
91
  */
92
92
  assessThePurpose: 'Assess the purpose',
93
93
  /**
94
- * @description Context menu item in Performance panel to identify time spent in a call tree via AI.
94
+ * @description Context menu item to identify time spent in a call tree using AI assistance in the Performance panel.
95
95
  */
96
96
  identifyTimeSpent: 'Identify time spent',
97
97
  /**
98
- * @description Context menu item in Performance panel to find improvements for a call tree via AI.
98
+ * @description Context menu item to find performance improvements for a call tree using AI assistance in the Performance panel.
99
99
  */
100
100
  findImprovements: 'Find improvements',
101
101
  } as const;
@@ -49,7 +49,7 @@ import * as Utils from './utils/utils.js';
49
49
 
50
50
  const UIStrings = {
51
51
  /**
52
- * @description Text in Timeline Flame Chart View of the Performance panel
52
+ * @description Accessible title for a timeline marker at a given timestamp in the Performance panel.
53
53
  * @example {Frame} PH1
54
54
  * @example {10ms} PH2
55
55
  */
@@ -89,8 +89,13 @@ interface FlameChartDimmer {
89
89
  outline: boolean|{main: number[] | boolean, network: number[]|boolean};
90
90
  }
91
91
 
92
- export class TimelineFlameChartView extends Common.ObjectWrapper.eventMixin<EventTypes, typeof UI.Widget.VBox>(
93
- UI.Widget.VBox) implements PerfUI.FlameChart.FlameChartDelegate, UI.SearchableView.Searchable {
92
+ const TimelineFlameChartViewBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.VBox> =
93
+ Common.ObjectWrapper.eventMixin(
94
+ UI.Widget.VBox,
95
+ );
96
+
97
+ export class TimelineFlameChartView extends TimelineFlameChartViewBase implements PerfUI.FlameChart.FlameChartDelegate,
98
+ UI.SearchableView.Searchable {
94
99
  private readonly delegate: TimelineModeViewDelegate;
95
100
  /**
96
101
  * Tracks the indexes of matched entries when the user searches the panel.
@@ -139,6 +144,8 @@ export class TimelineFlameChartView extends Common.ObjectWrapper.eventMixin<Even
139
144
  #eventToRelatedInsightsMap: TimelineComponents.RelatedInsightChips.EventToRelatedInsightsMap|null = null;
140
145
  #selectedGroupName: string|null = null;
141
146
  #onTraceBoundsChangeBound = this.#onTraceBoundsChange.bind(this);
147
+ #debouncedUpdateSearchResults: () => void = Common.Debouncer.debounce(() => this.updateSearchResults(false, false),
148
+ 100);
142
149
  #gameKeyMatches = 0;
143
150
  #gameTimeout = setTimeout(() => ({}), 0);
144
151
 
@@ -1146,11 +1153,7 @@ export class TimelineFlameChartView extends Common.ObjectWrapper.eventMixin<Even
1146
1153
  this.mainFlameChart.setWindowTimes(visibleWindow.min, visibleWindow.max, shouldAnimate);
1147
1154
  this.networkDataProvider.setWindowTimes(visibleWindow.min, visibleWindow.max);
1148
1155
  this.networkFlameChart.setWindowTimes(visibleWindow.min, visibleWindow.max, shouldAnimate);
1149
- // Updating search results can be very expensive. Debounce to avoid over-calling it.
1150
- const debouncedUpdate = Common.Debouncer.debounce(() => {
1151
- this.updateSearchResults(false, false);
1152
- }, 100);
1153
- debouncedUpdate();
1156
+ this.#debouncedUpdateSearchResults();
1154
1157
  }
1155
1158
 
1156
1159
  getLinkSelectionAnnotation(): Trace.Types.File.EntriesLinkAnnotation|null {
@@ -30,42 +30,42 @@ export const LANDING_PAGE_INDEX_DROPDOWN_CHOICE = Infinity;
30
30
 
31
31
  const UIStrings = {
32
32
  /**
33
- * @description Screen reader label for the Timeline History dropdown button
33
+ * @description Screen reader announcement for the current session in the timeline history dropdown button.
34
34
  * @example {example.com #3} PH1
35
35
  * @example {Show recent timeline sessions} PH2
36
36
  */
37
37
  currentSessionSS: 'Current session: {PH1}. {PH2}',
38
38
  /**
39
- * @description the title shown when the user is viewing the landing page which is showing live performance metrics that are updated automatically.
39
+ * @description Title shown when viewing the live metrics landing page in the Performance panel.
40
40
  */
41
41
  landingPageTitle: 'Live metrics',
42
42
  /**
43
- * @description the title shown when the user is viewing the landing page which can be used to make a new performance recording.
43
+ * @description Title shown when viewing the new recording landing page for Node.js in the Performance panel.
44
44
  */
45
45
  nodeLandingPageTitle: 'New recording',
46
46
  /**
47
- * @description Text in Timeline History Manager of the Performance panel
47
+ * @description Format for a trace title with domain and sequence number in the timeline history dropdown.
48
48
  * @example {example.com} PH1
49
49
  * @example {2} PH2
50
50
  */
51
51
  sD: '{PH1} #{PH2}',
52
52
  /**
53
- * @description Text in Timeline History Manager showing custom title alongside domain sequence number
53
+ * @description Format for a custom trace title with sequence number in the timeline history dropdown.
54
54
  * @example {Custom Profile} PH1
55
55
  * @example {example.com #2} PH2
56
56
  */
57
57
  customTitleWithSequence: '{PH1} ({PH2})',
58
58
  /**
59
- * @description Accessible label for the timeline session selection menu
59
+ * @description Accessible label for the timeline session selection dropdown in the Performance panel.
60
60
  */
61
61
  selectTimelineSession: 'Select timeline session',
62
62
  /**
63
- * @description Text label for a menu item indicating that a specific slowdown multiplier is applied.
63
+ * @description Label indicating a CPU slowdown multiplier applied to a recording in the timeline history dropdown.
64
64
  * @example {2} PH1
65
65
  */
66
66
  dSlowdown: '{PH1}× slowdown',
67
67
  /**
68
- * @description Tooltip text that appears when hovering over the Back arrow inside the 'Select Timeline Session' dropdown in the Performance pane.
68
+ * @description Tooltip for the back button in the timeline session selection dropdown in the Performance panel.
69
69
  */
70
70
  backButtonTooltip: 'View live metrics page',
71
71
  } as const;
@@ -15,7 +15,7 @@ import type {Client} from './TimelineController.js';
15
15
 
16
16
  const UIStrings = {
17
17
  /**
18
- * @description Text in Timeline Loader of the Performance panel
18
+ * @description Error message displayed when timeline trace data cannot be parsed in the Performance panel.
19
19
  * @example {Unknown JSON format} PH1
20
20
  */
21
21
  malformedTimelineDataS: 'Malformed timeline data: {PH1}',
@@ -40,8 +40,13 @@ export interface OverviewData {
40
40
  * update the visible trace window, and when this happens it will update the
41
41
  * TraceBounds service with the new values.
42
42
  */
43
- export class TimelineMiniMap extends
44
- Common.ObjectWrapper.eventMixin<PerfUI.TimelineOverviewPane.EventTypes, typeof UI.Widget.VBox>(UI.Widget.VBox) {
43
+ const TimelineMiniMapBase:
44
+ Common.ObjectWrapper.EventMixin<PerfUI.TimelineOverviewPane.EventTypes, typeof UI.Widget.VBox> =
45
+ Common.ObjectWrapper.eventMixin(
46
+ UI.Widget.VBox,
47
+ );
48
+
49
+ export class TimelineMiniMap extends TimelineMiniMapBase {
45
50
  #overviewComponent = new PerfUI.TimelineOverviewPane.TimelineOverviewPane('timeline');
46
51
  #controls: TimelineEventOverview[] = [];
47
52
  breadcrumbs: TimelineComponents.Breadcrumbs.Breadcrumbs|null = null;
@@ -108,9 +113,9 @@ export class TimelineMiniMap extends
108
113
  return;
109
114
  }
110
115
 
111
- const left = (event.data.startTime > 0) ? event.data.startTime : traceBoundsState.milli.entireTraceBounds.min;
116
+ const left = (event.data.startTime > 0) ? event.data.startTime : traceBoundsState.milli.minimapTraceBounds.min;
112
117
  const right =
113
- Number.isFinite(event.data.endTime) ? event.data.endTime : traceBoundsState.milli.entireTraceBounds.max;
118
+ Number.isFinite(event.data.endTime) ? event.data.endTime : traceBoundsState.milli.minimapTraceBounds.max;
114
119
 
115
120
  TraceBounds.TraceBounds.BoundsManager.instance().setTimelineVisibleWindow(
116
121
  Trace.Helpers.Timing.traceWindowFromMilliSeconds(
@@ -118,7 +123,7 @@ export class TimelineMiniMap extends
118
123
  Trace.Types.Timing.Milli(right),
119
124
  ),
120
125
  {
121
- shouldAnimate: true,
126
+ shouldAnimate: false,
122
127
  },
123
128
  );
124
129
  }