chrome-devtools-frontend 1.0.1689415 → 1.0.1690531

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 (318) hide show
  1. package/.gitmodules +4 -0
  2. package/eslint.config.mjs +8 -2
  3. package/front_end/core/common/Object.ts +10 -4
  4. package/front_end/core/i18n/collect-ui-strings.js +5 -5
  5. package/front_end/core/i18n/generate-locales-js.js +1 -1
  6. package/front_end/core/i18n/i18n.ts +6 -0
  7. package/front_end/core/root/Runtime.ts +1 -5
  8. package/front_end/core/sdk/CSSMetadata.ts +3 -5
  9. package/front_end/core/sdk/DOMModel.ts +46 -11
  10. package/front_end/core/sdk/EmulationModel.ts +18 -0
  11. package/front_end/core/sdk/NetworkRequest.ts +50 -4
  12. package/front_end/core/sdk/NetworkRequestAccess.ts +172 -0
  13. package/front_end/core/sdk/SDKSettings.ts +9 -0
  14. package/front_end/core/sdk/Script.ts +0 -1
  15. package/front_end/core/sdk/SecurityOrigin.ts +160 -25
  16. package/front_end/core/sdk/Target.ts +1 -5
  17. package/front_end/core/sdk/sdk.ts +2 -0
  18. package/front_end/generated/SupportedCSSProperties.ts +1 -1
  19. package/front_end/models/ai_assistance/AiAgent2.ts +4 -1
  20. package/front_end/models/ai_assistance/AiConversation.ts +29 -18
  21. package/front_end/models/ai_assistance/AiUtils.ts +0 -10
  22. package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +6 -10
  23. package/front_end/models/ai_assistance/agents/StylingAgent.ts +0 -1
  24. package/front_end/models/ai_assistance/injected.ts +0 -2
  25. package/front_end/models/javascript_metadata/NativeFunctions.ts +1 -1
  26. package/front_end/models/trace/insights/CLSCulprits.ts +1 -2
  27. package/front_end/models/trace/insights/Cache.ts +1 -3
  28. package/front_end/models/trace/insights/CharacterSet.ts +1 -3
  29. package/front_end/models/trace/insights/DOMSize.ts +1 -3
  30. package/front_end/models/trace/insights/DocumentLatency.ts +1 -3
  31. package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -3
  32. package/front_end/models/trace/insights/FontDisplay.ts +1 -2
  33. package/front_end/models/trace/insights/ForcedReflow.ts +1 -2
  34. package/front_end/models/trace/insights/INPBreakdown.ts +1 -3
  35. package/front_end/models/trace/insights/ImageDelivery.ts +1 -3
  36. package/front_end/models/trace/insights/LCPBreakdown.ts +1 -3
  37. package/front_end/models/trace/insights/LCPDiscovery.ts +1 -3
  38. package/front_end/models/trace/insights/LegacyJavaScript.ts +1 -3
  39. package/front_end/models/trace/insights/ModernHTTP.ts +1 -2
  40. package/front_end/models/trace/insights/NetworkDependencyTree.ts +1 -2
  41. package/front_end/models/trace/insights/RenderBlocking.ts +1 -3
  42. package/front_end/models/trace/insights/SlowCSSSelector.ts +1 -3
  43. package/front_end/models/trace/insights/ThirdParties.ts +1 -3
  44. package/front_end/models/trace/insights/Viewport.ts +1 -2
  45. package/front_end/panels/accessibility/ARIAAttributesView.ts +1 -1
  46. package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +3 -3
  47. package/front_end/panels/accessibility/AccessibilityNodeView.ts +1 -2
  48. package/front_end/panels/accessibility/AccessibilityStrings.ts +7 -3
  49. package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +2 -2
  50. package/front_end/panels/ai_assistance/components/AccessibilityAgentMarkdownRenderer.ts +1 -3
  51. package/front_end/panels/ai_assistance/components/chatMessage.css +3 -1
  52. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
  53. package/front_end/panels/animation/AnimationTimeline.ts +1 -1
  54. package/front_end/panels/animation/AnimationUI.ts +1 -1
  55. package/front_end/panels/application/AppManifestView.ts +6 -2
  56. package/front_end/panels/application/ApplicationPanelSidebar.ts +2 -4
  57. package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +1 -1
  58. package/front_end/panels/application/FrameDetailsView.ts +1 -1
  59. package/front_end/panels/application/IndexedDBViews.ts +3 -2
  60. package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
  61. package/front_end/panels/application/ReportingApiView.ts +2 -2
  62. package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +1 -1
  63. package/front_end/panels/application/ServiceWorkersView.ts +1 -1
  64. package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
  65. package/front_end/panels/application/StorageItemsToolbar.ts +6 -2
  66. package/front_end/panels/application/StorageView.ts +9 -8
  67. package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
  68. package/front_end/panels/application/WebMCPView.ts +2 -1
  69. package/front_end/panels/application/components/BackForwardCacheView.ts +1 -1
  70. package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +1 -1
  71. package/front_end/panels/application/components/CrashReportContextGrid.ts +1 -1
  72. package/front_end/panels/application/components/EndpointsGrid.ts +3 -2
  73. package/front_end/panels/application/components/PermissionsPolicySection.ts +1 -1
  74. package/front_end/panels/application/components/ReportsGrid.ts +1 -1
  75. package/front_end/panels/application/components/ServiceWorkerRouterView.ts +1 -1
  76. package/front_end/panels/application/components/TrustTokensView.ts +2 -2
  77. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +1 -1
  78. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -1
  79. package/front_end/panels/application/preloading/components/PreloadingGrid.ts +1 -1
  80. package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -1
  81. package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -2
  82. package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +1 -1
  83. package/front_end/panels/application/serviceWorkerUpdateCycleView.css +2 -0
  84. package/front_end/panels/autofill/AutofillView.ts +2 -2
  85. package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +2 -3
  86. package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
  87. package/front_end/panels/changes/ChangesSidebar.ts +56 -15
  88. package/front_end/panels/changes/ChangesView.ts +1 -1
  89. package/front_end/panels/common/CPUThrottlingOption.ts +12 -6
  90. package/front_end/panels/common/DOMLinkifier.ts +1 -1
  91. package/front_end/panels/common/ExtensionView.ts +2 -1
  92. package/front_end/panels/console/ConsolePinPane.ts +4 -2
  93. package/front_end/panels/console/ConsolePrompt.ts +6 -2
  94. package/front_end/panels/console/ConsoleSidebar.ts +12 -4
  95. package/front_end/panels/console/PromptBuilder.ts +1 -1
  96. package/front_end/panels/coverage/CoverageListView.ts +1 -1
  97. package/front_end/panels/coverage/CoverageModel.ts +6 -4
  98. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -9
  99. package/front_end/panels/css_overview/CSSOverviewPanel.ts +3 -3
  100. package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +2 -2
  101. package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +3 -3
  102. package/front_end/panels/css_overview/CSSOverviewStartView.ts +3 -3
  103. package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +1 -1
  104. package/front_end/panels/elements/ComputedStyleWidget.ts +1 -1
  105. package/front_end/panels/elements/ElementsTreeElement.ts +16 -3
  106. package/front_end/panels/elements/ElementsTreeOutline.ts +402 -130
  107. package/front_end/panels/elements/MetricsSidebarPane.ts +1 -1
  108. package/front_end/panels/elements/PropertyNameCategories.ts +1 -1
  109. package/front_end/panels/elements/PropertyRenderer.ts +22 -15
  110. package/front_end/panels/elements/ShortcutTreeElement.ts +2 -1
  111. package/front_end/panels/elements/StandaloneStylesContainer.ts +7 -3
  112. package/front_end/panels/elements/StylePropertiesSection.ts +1 -1
  113. package/front_end/panels/elements/StylePropertyTreeElement.ts +75 -26
  114. package/front_end/panels/elements/StylesSidebarPane.ts +9 -4
  115. package/front_end/panels/elements/components/StylePropertyEditor.ts +160 -148
  116. package/front_end/panels/elements/elementsTreeOutline.css +4 -0
  117. package/front_end/panels/emulation/DeviceModeView.ts +6 -1
  118. package/front_end/panels/emulation/InspectedPagePlaceholder.ts +6 -2
  119. package/front_end/panels/emulation/MediaQueryInspector.ts +2 -1
  120. package/front_end/panels/issues/AffectedLazyLoadImagesView.ts +1 -1
  121. package/front_end/panels/layer_viewer/LayerDetailsView.ts +6 -2
  122. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
  123. package/front_end/panels/layer_viewer/Layers3DView.ts +8 -1
  124. package/front_end/panels/layer_viewer/PaintProfilerView.ts +6 -2
  125. package/front_end/panels/lighthouse/lighthousePanel.css +5 -5
  126. package/front_end/panels/lighthouse/lighthouseStartView.css +13 -13
  127. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +6 -2
  128. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +6 -2
  129. package/front_end/panels/linear_memory_inspector/components/linearMemoryInspector.css +2 -2
  130. package/front_end/panels/linear_memory_inspector/components/linearMemoryNavigator.css +1 -1
  131. package/front_end/panels/linear_memory_inspector/components/linearMemoryValueInterpreter.css +5 -5
  132. package/front_end/panels/linear_memory_inspector/components/linearMemoryViewer.css +6 -6
  133. package/front_end/panels/linear_memory_inspector/components/valueInterpreterDisplay.css +6 -6
  134. package/front_end/panels/linear_memory_inspector/components/valueInterpreterSettings.css +2 -2
  135. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +6 -2
  136. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +25 -54
  137. package/front_end/panels/network/NetworkDataGridNode.ts +11 -9
  138. package/front_end/panels/network/NetworkLogView.ts +12 -4
  139. package/front_end/panels/network/RequestConditionsDrawer.ts +2 -2
  140. package/front_end/panels/network/RequestHeadersView.ts +1 -1
  141. package/front_end/panels/network/RequestPayloadView.ts +1 -1
  142. package/front_end/panels/network/RequestResponseView.ts +1 -1
  143. package/front_end/panels/network/RequestTimingView.ts +1 -1
  144. package/front_end/panels/network/ShowMoreDetailsWidget.ts +1 -1
  145. package/front_end/panels/network/components/RequestHeadersView.css +5 -0
  146. package/front_end/panels/network/components/ResponseHeaderSection.ts +1 -1
  147. package/front_end/panels/network/networkLogView.css +4 -0
  148. package/front_end/panels/network/requestInitiatorViewTree.css +2 -0
  149. package/front_end/panels/performance_monitor/performanceMonitor.css +3 -3
  150. package/front_end/panels/profiler/HeapDetachedElementsView.ts +7 -2
  151. package/front_end/panels/profiler/HeapProfileView.ts +7 -2
  152. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +8 -4
  153. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +8 -4
  154. package/front_end/panels/profiler/HeapSnapshotView.ts +15 -6
  155. package/front_end/panels/profiler/HeapTimelineOverview.ts +6 -2
  156. package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +12 -5
  157. package/front_end/panels/profiler/ProfileLauncherView.ts +6 -2
  158. package/front_end/panels/profiler/profilesPanel.css +8 -9
  159. package/front_end/panels/profiler/profilesSidebarTree.css +13 -13
  160. package/front_end/panels/protocol_monitor/JSONEditor.css +2 -2
  161. package/front_end/panels/protocol_monitor/JSONEditor.ts +6 -1
  162. package/front_end/panels/protocol_monitor/protocolMonitor.css +2 -2
  163. package/front_end/panels/sources/BreakpointEditDialog.ts +1 -1
  164. package/front_end/panels/sources/CallStackSidebarPane.ts +1 -1
  165. package/front_end/panels/sources/DebuggerPausedMessage.ts +8 -6
  166. package/front_end/panels/sources/ProfilePlugin.ts +2 -1
  167. package/front_end/panels/sources/ScopeChainSidebarPane.ts +1 -1
  168. package/front_end/panels/sources/SourcesView.ts +7 -2
  169. package/front_end/panels/sources/TabbedEditorContainer.ts +6 -2
  170. package/front_end/panels/sources/UISourceCodeFrame.ts +10 -3
  171. package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -1
  172. package/front_end/panels/timeline/AnnotationHelpers.ts +9 -9
  173. package/front_end/panels/timeline/CountersGraph.ts +8 -8
  174. package/front_end/panels/timeline/EventsTimelineTreeView.ts +3 -3
  175. package/front_end/panels/timeline/ExtensionTrackAppender.ts +1 -1
  176. package/front_end/panels/timeline/GPUTrackAppender.ts +1 -1
  177. package/front_end/panels/timeline/InteractionsTrackAppender.ts +1 -1
  178. package/front_end/panels/timeline/IsolateSelector.ts +3 -3
  179. package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +4 -4
  180. package/front_end/panels/timeline/NetworkTrackAppender.ts +2 -2
  181. package/front_end/panels/timeline/StatusDialog.ts +5 -6
  182. package/front_end/panels/timeline/ThirdPartyTreeView.ts +4 -4
  183. package/front_end/panels/timeline/ThreadAppender.ts +12 -14
  184. package/front_end/panels/timeline/TimelineController.ts +5 -8
  185. package/front_end/panels/timeline/TimelineDetailsView.ts +13 -9
  186. package/front_end/panels/timeline/TimelineEventOverview.ts +4 -4
  187. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +18 -18
  188. package/front_end/panels/timeline/TimelineFlameChartView.ts +8 -3
  189. package/front_end/panels/timeline/TimelineHistoryManager.ts +9 -9
  190. package/front_end/panels/timeline/TimelineLoader.ts +1 -1
  191. package/front_end/panels/timeline/TimelineMiniMap.ts +7 -2
  192. package/front_end/panels/timeline/TimelinePaintProfilerView.ts +7 -3
  193. package/front_end/panels/timeline/TimelinePanel.ts +60 -62
  194. package/front_end/panels/timeline/TimelineSelectorStatsView.ts +27 -27
  195. package/front_end/panels/timeline/TimelineTreeView.ts +47 -45
  196. package/front_end/panels/timeline/TimelineUIUtils.ts +146 -120
  197. package/front_end/panels/timeline/TimingsTrackAppender.ts +1 -1
  198. package/front_end/panels/timeline/TrackConfigBanner.ts +4 -4
  199. package/front_end/panels/timeline/UIDevtoolsUtils.ts +15 -15
  200. package/front_end/panels/timeline/components/LayoutShiftDetails.ts +4 -3
  201. package/front_end/panels/timeline/components/LiveMetricsView.ts +1 -1
  202. package/front_end/panels/timeline/components/NetworkRequestDetails.ts +25 -24
  203. package/front_end/panels/timeline/components/RelatedInsightChips.ts +4 -3
  204. package/front_end/panels/timeline/components/Sidebar.ts +1 -1
  205. package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +4 -3
  206. package/front_end/panels/timeline/components/insights/Table.ts +1 -1
  207. package/front_end/panels/timeline/enable-easter-egg.js +1 -1
  208. package/front_end/panels/timeline/timeline-meta.ts +30 -30
  209. package/front_end/panels/timeline/timelineFlameChartView.css +10 -10
  210. package/front_end/panels/timeline/timelineFlamechartPopover.css +5 -5
  211. package/front_end/panels/timeline/timelineHistoryManager.css +7 -7
  212. package/front_end/panels/timeline/timelinePaintProfiler.css +2 -2
  213. package/front_end/panels/timeline/utils/Helpers.ts +1 -1
  214. package/front_end/panels/timeline/utils/IgnoreList.ts +4 -4
  215. package/front_end/panels/timeline/utils/ImageCache.ts +5 -3
  216. package/front_end/panels/web_audio/WebAudioView.ts +3 -3
  217. package/front_end/panels/webauthn/WebauthnPane.ts +5 -11
  218. package/front_end/third_party/acorn/acorn.ts +3 -3
  219. package/front_end/third_party/chromium/README.chromium +1 -1
  220. package/front_end/third_party/chromium/ahem/ahem.d.ts +1 -0
  221. package/front_end/third_party/csp_evaluator/package/csp.ts +4 -4
  222. package/front_end/third_party/csp_evaluator/package/parser.ts +3 -1
  223. package/front_end/third_party/csp_evaluator/package/utils.ts +1 -1
  224. package/front_end/third_party/diff/diff_match_patch.d.ts +10 -0
  225. package/front_end/third_party/json5/json5.ts +2 -2
  226. package/front_end/ui/comments/CommentAnchorResolver.ts +12 -3
  227. package/front_end/ui/comments/CommentOverlayManager.ts +9 -1
  228. package/front_end/ui/components/buttons/Button.docs.ts +1 -1
  229. package/front_end/ui/components/buttons/button.css +21 -0
  230. package/front_end/ui/components/buttons/floatingButton.css +25 -0
  231. package/front_end/ui/components/report_view/ReportView.docs.ts +1 -1
  232. package/front_end/ui/components/snackbars/Snackbars.docs.ts +1 -1
  233. package/front_end/ui/components/spinners/Spinner.ts +1 -1
  234. package/front_end/ui/components/spinners/Spinners.docs.ts +1 -1
  235. package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +1 -1
  236. package/front_end/ui/components/suggestion_input/SuggestionInput.ts +46 -27
  237. package/front_end/ui/components/switch/Switch.docs.ts +1 -1
  238. package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +10 -8
  239. package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +2 -1
  240. package/front_end/ui/components/text_editor/ExecutionPositionHighlighter.ts +2 -2
  241. package/front_end/ui/components/text_editor/TextEditor.ts +19 -0
  242. package/front_end/ui/components/text_editor/config.ts +109 -96
  243. package/front_end/ui/components/text_editor/cursor_tooltip.ts +1 -1
  244. package/front_end/ui/components/text_editor/theme.ts +1 -1
  245. package/front_end/ui/components/tooltips/Tooltip.docs.ts +1 -1
  246. package/front_end/ui/components/tooltips/Tooltip.ts +1 -1
  247. package/front_end/ui/components/tree_outline/TreeOutlineUtils.ts +4 -1
  248. package/front_end/ui/kit/cards/Card.ts +1 -1
  249. package/front_end/ui/kit/icons/Icon.ts +1 -1
  250. package/front_end/ui/kit/link/Link.docs.ts +1 -1
  251. package/front_end/ui/kit/link/Link.ts +1 -1
  252. package/front_end/ui/legacy/ContextMenu.docs.ts +1 -1
  253. package/front_end/ui/legacy/ContextMenu.ts +2 -2
  254. package/front_end/ui/legacy/Dialog.ts +10 -2
  255. package/front_end/ui/legacy/DropTarget.ts +6 -1
  256. package/front_end/ui/legacy/EmptyWidget.ts +1 -1
  257. package/front_end/ui/legacy/FilterBar.ts +6 -1
  258. package/front_end/ui/legacy/GlassPane.ts +1 -1
  259. package/front_end/ui/legacy/RadioButton.docs.ts +1 -1
  260. package/front_end/ui/legacy/SelectMenu.docs.ts +1 -1
  261. package/front_end/ui/legacy/ShortcutRegistry.ts +2 -2
  262. package/front_end/ui/legacy/Slider.docs.ts +1 -1
  263. package/front_end/ui/legacy/SplitWidget.ts +7 -2
  264. package/front_end/ui/legacy/StackedPane.ts +1 -1
  265. package/front_end/ui/legacy/TabbedPane.ts +5 -1
  266. package/front_end/ui/legacy/TargetCrashedScreen.ts +1 -1
  267. package/front_end/ui/legacy/TextPrompt.ts +2 -1
  268. package/front_end/ui/legacy/Toolbar.ts +1 -1
  269. package/front_end/ui/legacy/Treeoutline.ts +13 -37
  270. package/front_end/ui/legacy/UIUtils.ts +6 -3
  271. package/front_end/ui/legacy/ViewManager.ts +1 -1
  272. package/front_end/ui/legacy/Widget.ts +1 -1
  273. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +13 -2
  274. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -1
  275. package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +3 -2
  276. package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +6 -2
  277. package/front_end/ui/legacy/components/inline_editor/AnimationTimingModel.ts +1 -1
  278. package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +54 -45
  279. package/front_end/ui/legacy/components/inline_editor/CSSAngleUtils.ts +1 -1
  280. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +6 -2
  281. package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +141 -106
  282. package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
  283. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +10 -10
  284. package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -0
  285. package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +6 -1
  286. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +6 -2
  287. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +8 -4
  288. package/front_end/ui/legacy/components/perf_ui/pieChart.css +7 -5
  289. package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +8 -3
  290. package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +6 -1
  291. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +15 -7
  292. package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +1 -1
  293. package/front_end/ui/legacy/components/utils/Linkifier.ts +5 -5
  294. package/front_end/ui/legacy/inspectorCommon.css +11 -0
  295. package/front_end/ui/visual_logging/Debugging.ts +2 -1
  296. package/front_end/ui/visual_logging/KnownContextValues.ts +1 -1
  297. package/front_end/ui/visual_logging/LoggingDriver.ts +3 -3
  298. package/front_end/ui/visual_logging/LoggingEvents.ts +5 -5
  299. package/front_end/ui/visual_logging/LoggingState.ts +1 -1
  300. package/front_end/ui/visual_logging/visual_logging.ts +67 -56
  301. package/package.json +3 -2
  302. package/front_end/third_party/acorn/acorn-tsconfig.json +0 -12
  303. package/front_end/third_party/acorn/estree-tsconfig.json +0 -8
  304. package/front_end/third_party/chromium/client-variations/client-variations-tsconfig.json +0 -8
  305. package/front_end/third_party/codemirror/codemirror-legacy-types-tsconfig.json +0 -8
  306. package/front_end/third_party/codemirror/codemirror-tsconfig.json +0 -15
  307. package/front_end/third_party/codemirror.next/bundle-tsconfig.json +0 -24
  308. package/front_end/third_party/intl-messageformat/intl-messageformat-tsconfig.json +0 -16
  309. package/front_end/third_party/json5/json5-tsconfig.json +0 -8
  310. package/front_end/third_party/legacy-javascript/legacy-javascript-tsconfig.json +0 -8
  311. package/front_end/third_party/lighthouse/lighthouse-tsconfig.json +0 -11
  312. package/front_end/third_party/lighthouse/report/bundle-tsconfig.json +0 -8
  313. package/front_end/third_party/lit/lit-tsconfig.json +0 -15
  314. package/front_end/third_party/marked/marked-tsconfig.json +0 -8
  315. package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +0 -191
  316. package/front_end/third_party/third-party-web/third-party-web-tsconfig.json +0 -8
  317. package/front_end/third_party/wasmparser/wasmparser-tsconfig.json +0 -9
  318. package/front_end/third_party/web-vitals/web-vitals-tsconfig.json +0 -47
@@ -1285,7 +1285,7 @@ export interface EventTypes {
1285
1285
  [Events.LIVE_LOCATION_UPDATED]: Bindings.LiveLocation.LiveLocation;
1286
1286
  }
1287
1287
 
1288
- interface ScriptLocationViewInput {
1288
+ export interface ScriptLocationViewInput {
1289
1289
  target?: SDK.Target.Target;
1290
1290
  scriptId?: Protocol.Runtime.ScriptId;
1291
1291
  sourceURL: Platform.DevToolsPath.UrlString;
@@ -1294,9 +1294,9 @@ interface ScriptLocationViewInput {
1294
1294
  linkifier: Linkifier;
1295
1295
  }
1296
1296
 
1297
- type ScriptLocationView = (input: ScriptLocationViewInput, output: undefined, target: HTMLElement) => void;
1297
+ export type ScriptLocationView = (input: ScriptLocationViewInput, output: undefined, target: HTMLElement) => void;
1298
1298
 
1299
- const DEFAULT_SCRIPT_LOCATION_VIEW: ScriptLocationView = (input, _output, target) => {
1299
+ export const DEFAULT_SCRIPT_LOCATION_VIEW: ScriptLocationView = (input, _output, target) => {
1300
1300
  render(
1301
1301
  html`${
1302
1302
  input.linkifier.linkifyScriptLocation(
@@ -1310,10 +1310,10 @@ export class ScriptLocationLink extends UI.Widget.Widget {
1310
1310
  sourceURL = '' as Platform.DevToolsPath.UrlString;
1311
1311
  lineNumber?: number;
1312
1312
  options?: LinkifyOptions;
1313
- linkifier = new Linkifier();
1313
+ linkifier: Linkifier = new Linkifier();
1314
1314
  #view: ScriptLocationView;
1315
1315
 
1316
- constructor(element: HTMLElement, view = DEFAULT_SCRIPT_LOCATION_VIEW) {
1316
+ constructor(element: HTMLElement, view: ScriptLocationView = DEFAULT_SCRIPT_LOCATION_VIEW) {
1317
1317
  super(element);
1318
1318
  this.#view = view;
1319
1319
  }
@@ -1301,3 +1301,14 @@ devtools-toolbar {
1301
1301
  }
1302
1302
  }
1303
1303
  }
1304
+
1305
+ .devtools-pill {
1306
+ display: inline-flex;
1307
+ align-items: center;
1308
+ justify-content: center;
1309
+ gap: var(--sys-size-3);
1310
+ padding: var(--sys-size-1) var(--sys-size-3) var(--sys-size-1) var(--sys-size-4);
1311
+ border-radius: var(--sys-shape-corner-extra-small);
1312
+ border: var(--sys-size-1) solid var(--sys-color-neutral-outline);
1313
+ box-sizing: border-box;
1314
+ }
@@ -443,7 +443,8 @@ export const enum DebugLoggingFormat {
443
443
  AD_HOC_ANALYSIS = 'AdHocAnalysis',
444
444
  }
445
445
 
446
- export function setVeDebugLoggingEnabled(enabled: boolean, format = DebugLoggingFormat.INTUITIVE): void {
446
+ export function setVeDebugLoggingEnabled(enabled: boolean,
447
+ format: DebugLoggingFormat = DebugLoggingFormat.INTUITIVE): void {
447
448
  if (enabled) {
448
449
  localStorage.setItem('veDebugLoggingEnabled', format);
449
450
  } else {
@@ -13,7 +13,7 @@
13
13
  * See crbug.com/504758084 for details.
14
14
  */
15
15
 
16
- export const knownContextValues = new Set([
16
+ export const knownContextValues: Set<string> = new Set([
17
17
  '%',
18
18
  '*',
19
19
  '-alternative-animation-with-timeline',
@@ -28,11 +28,11 @@ const noOpThrottler = {
28
28
  } as unknown as Common.Throttler.Throttler;
29
29
 
30
30
  let processingThrottler = noOpThrottler;
31
- export let keyboardLogThrottler = noOpThrottler;
31
+ export let keyboardLogThrottler: Common.Throttler.Throttler = noOpThrottler;
32
32
  let hoverLogThrottler = noOpThrottler;
33
33
  let dragLogThrottler = noOpThrottler;
34
- export let clickLogThrottler = noOpThrottler;
35
- export let resizeLogThrottler = noOpThrottler;
34
+ export let clickLogThrottler: Common.Throttler.Throttler = noOpThrottler;
35
+ export let resizeLogThrottler: Common.Throttler.Throttler = noOpThrottler;
36
36
 
37
37
  const mutationObserver = new MutationObserver(scheduleProcessing);
38
38
  const resizeObserver = new ResizeObserver(onResizeOrIntersection);
@@ -49,8 +49,8 @@ export const logResize = (loggable: Loggable, size: DOMRect): void => {
49
49
  processEventForDebugging('Resize', loggingState, {width: Math.round(size.width), height: Math.round(size.height)});
50
50
  };
51
51
 
52
- export const logClick = (throttler: Common.Throttler.Throttler) => (
53
- loggable: Loggable, event: Event, options?: {doubleClick?: boolean}) => {
52
+ export const logClick = (throttler: Common.Throttler.Throttler) => (loggable: Loggable, event: Event,
53
+ options?: {doubleClick?: boolean}): void => {
54
54
  const loggingState = getLoggingState(loggable);
55
55
  if (!loggingState) {
56
56
  return;
@@ -67,7 +67,7 @@ export const logClick = (throttler: Common.Throttler.Throttler) => (
67
67
  }, Common.Throttler.Scheduling.DELAYED);
68
68
  };
69
69
 
70
- export const logHover = (throttler: Common.Throttler.Throttler) => async (event: Event) => {
70
+ export const logHover = (throttler: Common.Throttler.Throttler) => async(event: Event): Promise<void> => {
71
71
  const loggingState = getLoggingState(event.currentTarget as Element);
72
72
  assertNotNullOrUndefined(loggingState);
73
73
  const hoverEvent: Host.InspectorFrontendHostAPI.HoverEvent = {veid: loggingState.veid};
@@ -77,7 +77,7 @@ export const logHover = (throttler: Common.Throttler.Throttler) => async (event:
77
77
  }, Common.Throttler.Scheduling.DELAYED);
78
78
  };
79
79
 
80
- export const logDrag = (throttler: Common.Throttler.Throttler) => async (event: Event) => {
80
+ export const logDrag = (throttler: Common.Throttler.Throttler) => async(event: Event): Promise<void> => {
81
81
  const loggingState = getLoggingState(event.currentTarget as Element);
82
82
  assertNotNullOrUndefined(loggingState);
83
83
  const dragEvent: Host.InspectorFrontendHostAPI.DragEvent = {veid: loggingState.veid};
@@ -102,7 +102,7 @@ export async function logChange(loggable: Loggable): Promise<void> {
102
102
  let pendingKeyDownContext: string|null = null;
103
103
 
104
104
  export const logKeyDown = (throttler: Common.Throttler.Throttler) =>
105
- async (loggable: Loggable|null, event: Event|null, context?: string) => {
105
+ async(loggable: Loggable|null, event: Event|null, context?: string): Promise<void> => {
106
106
  if (!(event instanceof KeyboardEvent)) {
107
107
  return;
108
108
  }
@@ -66,7 +66,7 @@ export function registerParentProvider(name: string, provider: ParentProvider):
66
66
  }
67
67
 
68
68
  /** MUST NOT BE EXPORTED */
69
- const PARENT = Symbol('veParent');
69
+ const PARENT: unique symbol = Symbol('veParent');
70
70
  type ElementWithParent = Element&{[PARENT]?: Element};
71
71
  registerParentProvider('mapped', (e: ElementWithParent) => e[PARENT]);
72
72
 
@@ -56,6 +56,8 @@ export function setHighlightedVe(veKey: string|null): void {
56
56
  }
57
57
  }
58
58
 
59
+ export type VisualElementBuilder = (context?: string) => LoggingConfig.ConfigStringBuilder;
60
+
59
61
  /**
60
62
  * Action visual elements are either buttons or menu items that trigger a given action. Use the
61
63
  * context to differentiate between different actions, and make sure that buttons and menu items
@@ -63,70 +65,80 @@ export function setHighlightedVe(veKey: string|null): void {
63
65
  *
64
66
  * Ideally the `action`s context should match the ID of an `UI.ActionRegistration.Action`.
65
67
  */
66
- export const action = LoggingConfig.makeConfigStringBuilder.bind(null, 'Action');
67
- export const adorner = LoggingConfig.makeConfigStringBuilder.bind(null, 'Adorner');
68
- export const animationClip = LoggingConfig.makeConfigStringBuilder.bind(null, 'AnimationClip');
69
- export const badge = LoggingConfig.makeConfigStringBuilder.bind(null, 'Badge');
70
- export const bezierCurveEditor = LoggingConfig.makeConfigStringBuilder.bind(null, 'BezierCurveEditor');
71
- export const bezierPresetCategory = LoggingConfig.makeConfigStringBuilder.bind(null, 'BezierPresetCategory');
72
- export const breakpointMarker = LoggingConfig.makeConfigStringBuilder.bind(null, 'BreakpointMarker');
73
- export const canvas = LoggingConfig.makeConfigStringBuilder.bind(null, 'Canvas');
74
- export const close = LoggingConfig.makeConfigStringBuilder.bind(null, 'Close');
75
- export const colorEyeDropper = LoggingConfig.makeConfigStringBuilder.bind(null, 'ColorEyeDropper');
76
- export const counter = LoggingConfig.makeConfigStringBuilder.bind(null, 'Counter');
68
+ export const action: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Action');
69
+ export const adorner: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Adorner');
70
+ export const animationClip: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'AnimationClip');
71
+ export const badge: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Badge');
72
+ export const bezierCurveEditor: VisualElementBuilder =
73
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'BezierCurveEditor');
74
+ export const bezierPresetCategory: VisualElementBuilder =
75
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'BezierPresetCategory');
76
+ export const breakpointMarker: VisualElementBuilder =
77
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'BreakpointMarker');
78
+ export const canvas: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Canvas');
79
+ export const close: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Close');
80
+ export const colorEyeDropper: VisualElementBuilder =
81
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'ColorEyeDropper');
82
+ export const counter: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Counter');
77
83
  /**
78
84
  * Visual element to denote a moveable control point such as the ones exist in BezierEditor
79
85
  * for bezier control points or keyframes in AnimationUI.
80
86
  */
81
- export const controlPoint = LoggingConfig.makeConfigStringBuilder.bind(null, 'ControlPoint');
82
- export const cssColorMix = LoggingConfig.makeConfigStringBuilder.bind(null, 'CssColorMix');
83
- export const cssRuleHeader = LoggingConfig.makeConfigStringBuilder.bind(null, 'CSSRuleHeader');
84
- export const deviceModeRuler = LoggingConfig.makeConfigStringBuilder.bind(null, 'DeviceModeRuler');
85
- export const domBreakpoint = LoggingConfig.makeConfigStringBuilder.bind(null, 'DOMBreakpoint');
86
- export const drawer = LoggingConfig.makeConfigStringBuilder.bind(null, 'Drawer');
87
- export const dropDown = LoggingConfig.makeConfigStringBuilder.bind(null, 'DropDown');
88
- export const elementsBreadcrumbs = LoggingConfig.makeConfigStringBuilder.bind(null, 'ElementsBreadcrumbs');
89
- export const expand = LoggingConfig.makeConfigStringBuilder.bind(null, 'Expand');
90
- export const filterDropdown = LoggingConfig.makeConfigStringBuilder.bind(null, 'FilterDropdown');
91
- export const gutter = LoggingConfig.makeConfigStringBuilder.bind(null, 'Gutter');
92
- export const dialog = LoggingConfig.makeConfigStringBuilder.bind(null, 'Dialog');
93
- export const item = LoggingConfig.makeConfigStringBuilder.bind(null, 'Item');
94
- export const key = LoggingConfig.makeConfigStringBuilder.bind(null, 'Key');
87
+ export const controlPoint: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'ControlPoint');
88
+ export const cssColorMix: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'CssColorMix');
89
+ export const cssRuleHeader: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'CSSRuleHeader');
90
+ export const deviceModeRuler: VisualElementBuilder =
91
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'DeviceModeRuler');
92
+ export const dialog: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Dialog');
93
+ export const domBreakpoint: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'DOMBreakpoint');
94
+ export const drawer: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Drawer');
95
+ export const dropDown: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'DropDown');
96
+ export const elementsBreadcrumbs: VisualElementBuilder =
97
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'ElementsBreadcrumbs');
98
+ export const expand: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Expand');
99
+ export const filterDropdown: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'FilterDropdown');
100
+ export const gutter: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Gutter');
101
+ export const item: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Item');
102
+ export const key: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Key');
95
103
 
96
104
  /**
97
105
  * Visual element to denote a hyper link. Use the context to differentiate between various types
98
106
  * of hyperlinks.
99
107
  */
100
- export const link = LoggingConfig.makeConfigStringBuilder.bind(null, 'Link');
108
+ export const link: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Link');
101
109
 
102
- export const mediaInspectorView = LoggingConfig.makeConfigStringBuilder.bind(null, 'MediaInspectorView');
103
- export const menu = LoggingConfig.makeConfigStringBuilder.bind(null, 'Menu');
104
- export const metricsBox = LoggingConfig.makeConfigStringBuilder.bind(null, 'MetricsBox');
105
- export const paletteColorShades = LoggingConfig.makeConfigStringBuilder.bind(null, 'PaletteColorShades');
106
- export const pane = LoggingConfig.makeConfigStringBuilder.bind(null, 'Pane');
110
+ export const mediaInspectorView: VisualElementBuilder =
111
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'MediaInspectorView');
112
+ export const menu: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Menu');
113
+ export const metricsBox: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'MetricsBox');
114
+ export const paletteColorShades: VisualElementBuilder =
115
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'PaletteColorShades');
116
+ export const pane: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Pane');
107
117
 
108
118
  /**
109
119
  * Visual element to denote a top level panel, no matter if that panel is shown in the main
110
120
  * view or in the drawer. Use the context to differentiate between different panels, but ensure
111
121
  * that the context used here matches the context used for its corresponding {@link panelTabHeader}.
112
122
  */
113
- export const panel = LoggingConfig.makeConfigStringBuilder.bind(null, 'Panel');
123
+ export const panel: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Panel');
114
124
 
115
- export const panelTabHeader = LoggingConfig.makeConfigStringBuilder.bind(null, 'PanelTabHeader');
116
- export const pieChart = LoggingConfig.makeConfigStringBuilder.bind(null, 'PieChart');
117
- export const pieChartSlice = LoggingConfig.makeConfigStringBuilder.bind(null, 'PieChartSlice');
118
- export const pieChartTotal = LoggingConfig.makeConfigStringBuilder.bind(null, 'PieChartTotal');
119
- export const popover = LoggingConfig.makeConfigStringBuilder.bind(null, 'Popover');
120
- export const preview = LoggingConfig.makeConfigStringBuilder.bind(null, 'Preview');
121
- export const resizer = LoggingConfig.makeConfigStringBuilder.bind(null, 'Resizer');
122
- export const responsivePresets = LoggingConfig.makeConfigStringBuilder.bind(null, 'ResponsivePresets');
123
- export const showStyleEditor = LoggingConfig.makeConfigStringBuilder.bind(null, 'ShowStyleEditor');
124
- export const slider = LoggingConfig.makeConfigStringBuilder.bind(null, 'Slider');
125
- export const section = LoggingConfig.makeConfigStringBuilder.bind(null, 'Section');
126
- export const sectionHeader = LoggingConfig.makeConfigStringBuilder.bind(null, 'SectionHeader');
127
- export const tableRow = LoggingConfig.makeConfigStringBuilder.bind(null, 'TableRow');
128
- export const tableCell = LoggingConfig.makeConfigStringBuilder.bind(null, 'TableCell');
129
- export const tableHeader = LoggingConfig.makeConfigStringBuilder.bind(null, 'TableHeader');
125
+ export const panelTabHeader: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'PanelTabHeader');
126
+ export const pieChart: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'PieChart');
127
+ export const pieChartSlice: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'PieChartSlice');
128
+ export const pieChartTotal: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'PieChartTotal');
129
+ export const popover: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Popover');
130
+ export const preview: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Preview');
131
+ export const resizer: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Resizer');
132
+ export const responsivePresets: VisualElementBuilder =
133
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'ResponsivePresets');
134
+ export const showStyleEditor: VisualElementBuilder =
135
+ LoggingConfig.makeConfigStringBuilder.bind(null, 'ShowStyleEditor');
136
+ export const slider: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Slider');
137
+ export const section: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Section');
138
+ export const sectionHeader: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'SectionHeader');
139
+ export const tableRow: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'TableRow');
140
+ export const tableCell: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'TableCell');
141
+ export const tableHeader: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'TableHeader');
130
142
 
131
143
  /**
132
144
  * Visual element to denote text input fields. Use the context to differentiate between various
@@ -135,8 +147,8 @@ export const tableHeader = LoggingConfig.makeConfigStringBuilder.bind(null, 'Tab
135
147
  * For text fields that control `Common.Settings.Setting`s, make sure to use the name of the
136
148
  * setting as the visual elements' context.
137
149
  */
138
- export const textField = LoggingConfig.makeConfigStringBuilder.bind(null, 'TextField');
139
- export const timeline = LoggingConfig.makeConfigStringBuilder.bind(null, 'Timeline');
150
+ export const textField: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'TextField');
151
+ export const timeline: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Timeline');
140
152
 
141
153
  /**
142
154
  * Togglable visual elements are checkboxes, radio buttons, or (binary) combo boxes. Use the
@@ -145,10 +157,9 @@ export const timeline = LoggingConfig.makeConfigStringBuilder.bind(null, 'Timeli
145
157
  * For toggles that control `Common.Settings.Setting`s, make sure to use the name of the
146
158
  * setting as the toggle context.
147
159
  */
148
- export const toggle = LoggingConfig.makeConfigStringBuilder.bind(null, 'Toggle');
149
-
150
- export const toolbar = LoggingConfig.makeConfigStringBuilder.bind(null, 'Toolbar');
151
- export const toggleSubpane = LoggingConfig.makeConfigStringBuilder.bind(null, 'ToggleSubpane');
152
- export const tree = LoggingConfig.makeConfigStringBuilder.bind(null, 'Tree');
153
- export const treeItem = LoggingConfig.makeConfigStringBuilder.bind(null, 'TreeItem');
154
- export const value = LoggingConfig.makeConfigStringBuilder.bind(null, 'Value');
160
+ export const toggle: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Toggle');
161
+ export const toggleSubpane: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'ToggleSubpane');
162
+ export const toolbar: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Toolbar');
163
+ export const tree: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Tree');
164
+ export const treeItem: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'TreeItem');
165
+ export const value: VisualElementBuilder = LoggingConfig.makeConfigStringBuilder.bind(null, 'Value');
package/package.json CHANGED
@@ -31,6 +31,7 @@
31
31
  "webtest": "vpython3 third_party/node/node.py --output scripts/npm_test.js",
32
32
  "watch": "npm run build -- --watch",
33
33
  "test": "vpython3 third_party/node/node.py --output scripts/run_on_target.mjs gen/test/run.js",
34
+ "test:evals": "npm run test -- test/ai_evals/",
34
35
  "test-health": "node scripts/test_health.ts"
35
36
  },
36
37
  "devDependencies": {
@@ -54,7 +55,7 @@
54
55
  "chai": "6.2.2",
55
56
  "cssnano": "8.0.2",
56
57
  "cssnano-preset-lite": "5.0.1",
57
- "esbuild": "0.25.1",
58
+ "esbuild": "0.28.2",
58
59
  "eslint": "9.39.5",
59
60
  "eslint-plugin-eslint-plugin": "7.4.2",
60
61
  "eslint-plugin-import": "2.32.0",
@@ -92,5 +93,5 @@
92
93
  "webidl2": "24.5.0",
93
94
  "yargs": "17.7.2"
94
95
  },
95
- "version": "1.0.1689415"
96
+ "version": "1.0.1690531"
96
97
  }
@@ -1,12 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "package/dist/acorn.d.mts",
7
- "package/dist/acorn.d.ts",
8
- "package/dist/acorn.mjs",
9
- "package/dist/acorn.mjs.d.ts",
10
- "package/dist/acorn.mjs.map"
11
- ]
12
- }
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "estree-legacy.js"
7
- ]
8
- }
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "ClientVariations.js"
7
- ]
8
- }
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "codemirror-legacy.js"
7
- ]
8
- }
@@ -1,15 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "package/addon/runmode/runmode-standalone.mjs",
7
- "package/addon/runmode/runmode-standalone.d.mts",
8
- "package/mode/css/css.mjs",
9
- "package/mode/css/css.d.mts",
10
- "package/mode/javascript/javascript.mjs",
11
- "package/mode/javascript/javascript.d.mts",
12
- "package/mode/xml/xml.mjs",
13
- "package/mode/xml/xml.d.mts"
14
- ]
15
- }
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "codemirror.next.js",
7
- "chunk/angular.js",
8
- "chunk/codemirror.js",
9
- "chunk/cpp.js",
10
- "chunk/css.js",
11
- "chunk/html.js",
12
- "chunk/java.js",
13
- "chunk/javascript.js",
14
- "chunk/json.js",
15
- "chunk/legacy.js",
16
- "chunk/markdown.js",
17
- "chunk/php.js",
18
- "chunk/python.js",
19
- "chunk/svelte.js",
20
- "chunk/vue.js",
21
- "chunk/wast.js",
22
- "chunk/xml.js"
23
- ]
24
- }
@@ -1,16 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "./package/intl-messageformat.esm.d.ts",
7
- "./package/intl-messageformat.esm.js",
8
- "./package/src/core.d.ts",
9
- "./package/src/error.d.ts",
10
- "./package/src/formatters.d.ts",
11
- "./package/src/icu-messageformat-parser/error.d.ts",
12
- "./package/src/icu-messageformat-parser/index.d.ts",
13
- "./package/src/icu-messageformat-parser/parser.d.ts",
14
- "./package/src/icu-messageformat-parser/types.d.ts"
15
- ]
16
- }
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "lib/index.js"
7
- ]
8
- }
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "lib/legacy-javascript.js"
7
- ]
8
- }
@@ -1,11 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "report-assets/report.js",
7
- "report-assets/report-generator.mjs",
8
- "report-assets/report-generator.d.mts",
9
- "lighthouse-dt-bundle.js"
10
- ]
11
- }
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "bundle.js"
7
- ]
8
- }
@@ -1,15 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "lib/decorators.d.ts",
7
- "lib/decorators.js",
8
- "lib/directive.d.ts",
9
- "lib/directive.js",
10
- "lib/directives.d.ts",
11
- "lib/directives.js",
12
- "lib/lit.d.ts",
13
- "lib/lit.js"
14
- ]
15
- }
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "composite": true
4
- },
5
- "files": [
6
- "package/lib/marked.esm.js"
7
- ]
8
- }