chrome-devtools-frontend 1.0.1022611 → 1.0.1024166

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 (358) hide show
  1. package/.eslintignore +4 -2
  2. package/.eslintrc.js +1 -0
  3. package/front_end/core/common/AppProvider.ts +1 -1
  4. package/front_end/core/common/Object.ts +7 -2
  5. package/front_end/core/common/SettingRegistration.ts +1 -1
  6. package/front_end/core/common/Settings.ts +2 -3
  7. package/front_end/core/host/InspectorFrontendHost.ts +13 -5
  8. package/front_end/core/host/ResourceLoader.ts +1 -1
  9. package/front_end/core/i18n/locales/en-US.json +24 -0
  10. package/front_end/core/i18n/locales/en-XL.json +24 -0
  11. package/front_end/core/platform/UserVisibleError.ts +1 -1
  12. package/front_end/core/sdk/AccessibilityModel.ts +3 -4
  13. package/front_end/core/sdk/CPUProfileDataModel.ts +1 -1
  14. package/front_end/core/sdk/CPUProfilerModel.ts +3 -3
  15. package/front_end/core/sdk/CPUThrottlingManager.ts +2 -2
  16. package/front_end/core/sdk/CSSContainerQuery.ts +2 -2
  17. package/front_end/core/sdk/CSSLayer.ts +1 -1
  18. package/front_end/core/sdk/CSSMatchedStyles.ts +3 -3
  19. package/front_end/core/sdk/CSSMedia.ts +1 -1
  20. package/front_end/core/sdk/CSSModel.ts +6 -6
  21. package/front_end/core/sdk/CSSProperty.ts +2 -2
  22. package/front_end/core/sdk/CSSQuery.ts +2 -3
  23. package/front_end/core/sdk/CSSRule.ts +2 -2
  24. package/front_end/core/sdk/CSSScope.ts +1 -1
  25. package/front_end/core/sdk/CSSStyleDeclaration.ts +3 -3
  26. package/front_end/core/sdk/CSSStyleSheetHeader.ts +3 -3
  27. package/front_end/core/sdk/CSSSupports.ts +1 -1
  28. package/front_end/core/sdk/ChildTargetManager.ts +2 -2
  29. package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +1 -2
  30. package/front_end/core/sdk/ConsoleModel.ts +15 -12
  31. package/front_end/core/sdk/CookieModel.ts +4 -5
  32. package/front_end/core/sdk/DOMDebuggerModel.ts +7 -7
  33. package/front_end/core/sdk/DOMModel.ts +3 -3
  34. package/front_end/core/sdk/DebuggerModel.ts +5 -6
  35. package/front_end/core/sdk/EmulationModel.ts +2 -2
  36. package/front_end/core/sdk/EventBreakpointsModel.ts +4 -4
  37. package/front_end/core/sdk/FilmStripModel.ts +1 -2
  38. package/front_end/core/sdk/FrameAssociated.ts +1 -1
  39. package/front_end/core/sdk/FrameManager.ts +6 -6
  40. package/front_end/core/sdk/HeapProfilerModel.ts +4 -4
  41. package/front_end/core/sdk/IOModel.ts +2 -2
  42. package/front_end/core/sdk/IsolateManager.ts +3 -3
  43. package/front_end/core/sdk/IssuesModel.ts +1 -2
  44. package/front_end/core/sdk/LayerTreeBase.ts +3 -4
  45. package/front_end/core/sdk/LogModel.ts +1 -2
  46. package/front_end/core/sdk/NetworkManager.ts +18 -9
  47. package/front_end/core/sdk/NetworkRequest.ts +1 -2
  48. package/front_end/core/sdk/OverlayModel.ts +5 -5
  49. package/front_end/core/sdk/PageLoad.ts +1 -1
  50. package/front_end/core/sdk/PageResourceLoader.ts +3 -3
  51. package/front_end/core/sdk/PaintProfiler.ts +1 -2
  52. package/front_end/core/sdk/PerformanceMetricsModel.ts +1 -2
  53. package/front_end/core/sdk/ProfileTreeModel.ts +1 -1
  54. package/front_end/core/sdk/RemoteObject.ts +3 -3
  55. package/front_end/core/sdk/Resource.ts +2 -3
  56. package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
  57. package/front_end/core/sdk/RuntimeModel.ts +5 -5
  58. package/front_end/core/sdk/SDKModel.ts +1 -1
  59. package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
  60. package/front_end/core/sdk/Script.ts +5 -6
  61. package/front_end/core/sdk/SecurityOriginManager.ts +1 -2
  62. package/front_end/core/sdk/ServerTiming.ts +1 -1
  63. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +3 -3
  64. package/front_end/core/sdk/ServiceWorkerManager.ts +3 -4
  65. package/front_end/core/sdk/SourceMap.ts +2 -2
  66. package/front_end/core/sdk/SourceMapManager.ts +5 -5
  67. package/front_end/core/sdk/StorageKeyManager.ts +1 -2
  68. package/front_end/core/sdk/Target.ts +1 -1
  69. package/front_end/core/sdk/TargetManager.ts +1 -1
  70. package/front_end/core/sdk/TracingManager.ts +2 -3
  71. package/front_end/core/sdk/TracingModel.ts +1 -1
  72. package/front_end/core/sdk/WebAuthnModel.ts +1 -2
  73. package/front_end/entrypoints/formatter_worker/CSSFormatter.ts +1 -1
  74. package/front_end/entrypoints/formatter_worker/CSSRuleParser.ts +1 -2
  75. package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
  76. package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +1 -1
  77. package/front_end/entrypoints/formatter_worker/IdentityFormatter.ts +1 -1
  78. package/front_end/entrypoints/formatter_worker/JSONFormatter.ts +1 -1
  79. package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +2 -3
  80. package/front_end/entrypoints/formatter_worker/JavaScriptOutline.ts +1 -1
  81. package/front_end/entrypoints/formatter_worker/ScopeParser.ts +2 -2
  82. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
  83. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotLoader.ts +3 -3
  84. package/front_end/generated/.clang-format +1 -0
  85. package/front_end/generated/ARIAProperties.js +1515 -517
  86. package/front_end/generated/InspectorBackendCommands.js +960 -3655
  87. package/front_end/generated/SupportedCSSProperties.js +5719 -1314
  88. package/front_end/generated/protocol-mapping.d.ts +1865 -608
  89. package/front_end/generated/protocol-proxy-api.d.ts +384 -576
  90. package/front_end/generated/protocol.ts +9 -12
  91. package/front_end/models/bindings/BreakpointManager.ts +2 -2
  92. package/front_end/models/bindings/CSSWorkspaceBinding.ts +5 -2
  93. package/front_end/models/bindings/CompilerScriptMapping.ts +5 -1
  94. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +2 -2
  95. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +4 -4
  96. package/front_end/models/bindings/DefaultScriptMapping.ts +1 -1
  97. package/front_end/models/bindings/IgnoreListManager.ts +1 -1
  98. package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -2
  99. package/front_end/models/bindings/ResourceScriptMapping.ts +2 -4
  100. package/front_end/models/bindings/SASSSourceMapping.ts +2 -2
  101. package/front_end/models/bindings/StylesSourceMapping.ts +1 -1
  102. package/front_end/models/bindings/TempFile.ts +1 -2
  103. package/front_end/models/emulation/DeviceModeModel.ts +8 -2
  104. package/front_end/models/extensions/ExtensionPanel.ts +1 -1
  105. package/front_end/models/extensions/ExtensionServer.ts +3 -3
  106. package/front_end/models/extensions/ExtensionView.ts +1 -1
  107. package/front_end/models/extensions/LanguageExtensionEndpoint.ts +1 -1
  108. package/front_end/models/extensions/RecorderPluginManager.ts +1 -1
  109. package/front_end/models/formatter/SourceFormatter.ts +1 -2
  110. package/front_end/models/har/Importer.ts +1 -1
  111. package/front_end/models/har/Writer.ts +2 -2
  112. package/front_end/models/issues_manager/AttributionReportingIssue.ts +1 -1
  113. package/front_end/models/issues_manager/ClientHintIssue.ts +6 -2
  114. package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +6 -2
  115. package/front_end/models/issues_manager/CookieIssue.ts +6 -2
  116. package/front_end/models/issues_manager/CorsIssue.ts +1 -1
  117. package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +6 -2
  118. package/front_end/models/issues_manager/DeprecationIssue.ts +2 -2
  119. package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +6 -2
  120. package/front_end/models/issues_manager/GenericIssue.ts +6 -2
  121. package/front_end/models/issues_manager/HeavyAdIssue.ts +1 -1
  122. package/front_end/models/issues_manager/Issue.ts +1 -1
  123. package/front_end/models/issues_manager/IssueResolver.ts +2 -3
  124. package/front_end/models/issues_manager/IssuesManager.ts +1 -1
  125. package/front_end/models/issues_manager/LowTextContrastIssue.ts +1 -1
  126. package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
  127. package/front_end/models/issues_manager/NavigatorUserAgentIssue.ts +1 -1
  128. package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
  129. package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
  130. package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +1 -1
  131. package/front_end/models/issues_manager/SourceFrameIssuesManager.ts +3 -3
  132. package/front_end/models/issues_manager/TrustedWebActivityIssue.ts +6 -2
  133. package/front_end/models/javascript_metadata/NativeFunctions.js +22 -32
  134. package/front_end/models/persistence/Automapping.ts +1 -2
  135. package/front_end/models/persistence/EditFileSystemView.ts +1 -1
  136. package/front_end/models/persistence/FileSystemWorkspaceBinding.ts +4 -4
  137. package/front_end/models/persistence/IsolatedFileSystem.ts +1 -2
  138. package/front_end/models/persistence/IsolatedFileSystemManager.ts +2 -2
  139. package/front_end/models/persistence/NetworkPersistenceManager.ts +1 -2
  140. package/front_end/models/persistence/PersistenceImpl.ts +1 -2
  141. package/front_end/models/persistence/PersistenceUtils.ts +1 -2
  142. package/front_end/models/persistence/WorkspaceSettingsTab.ts +2 -2
  143. package/front_end/models/text_utils/StaticContentProvider.ts +1 -1
  144. package/front_end/models/timeline_model/TimelineFrameModel.ts +2 -2
  145. package/front_end/models/timeline_model/TimelineProfileTree.ts +1 -1
  146. package/front_end/models/timeline_model/TracingLayerTree.ts +1 -1
  147. package/front_end/models/workspace/UISourceCode.ts +1 -2
  148. package/front_end/models/workspace/WorkspaceImpl.ts +1 -2
  149. package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +1 -1
  150. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
  151. package/front_end/panels/animation/AnimationTimeline.ts +7 -2
  152. package/front_end/panels/animation/AnimationUI.ts +3 -3
  153. package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -1
  154. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -7
  155. package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
  156. package/front_end/panels/application/BackgroundServiceView.ts +1 -2
  157. package/front_end/panels/application/DatabaseQueryView.ts +1 -1
  158. package/front_end/panels/application/DatabaseTableView.ts +1 -1
  159. package/front_end/panels/application/IndexedDBViews.ts +9 -2
  160. package/front_end/panels/application/InterestGroupTreeElement.ts +1 -1
  161. package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
  162. package/front_end/panels/application/ResourcesPanel.ts +1 -1
  163. package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
  164. package/front_end/panels/application/components/FrameDetailsView.ts +9 -6
  165. package/front_end/panels/console/ConsoleFilter.ts +1 -1
  166. package/front_end/panels/console/ConsoleSidebar.ts +2 -3
  167. package/front_end/panels/console/ConsoleView.ts +2 -4
  168. package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
  169. package/front_end/panels/console/ConsoleViewport.ts +1 -1
  170. package/front_end/panels/coverage/CoverageDecorationManager.ts +1 -1
  171. package/front_end/panels/coverage/CoverageListView.ts +1 -2
  172. package/front_end/panels/coverage/CoverageView.ts +1 -2
  173. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -5
  174. package/front_end/panels/css_overview/CSSOverviewController.ts +2 -2
  175. package/front_end/panels/css_overview/CSSOverviewModel.ts +3 -3
  176. package/front_end/panels/css_overview/CSSOverviewPanel.ts +4 -5
  177. package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -2
  178. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +3 -3
  179. package/front_end/panels/elements/ComputedStyleWidget.ts +3 -4
  180. package/front_end/panels/elements/DOMLinkifier.ts +5 -1
  181. package/front_end/panels/elements/ElementsPanel.ts +7 -4
  182. package/front_end/panels/elements/ElementsSidebarPane.ts +1 -2
  183. package/front_end/panels/elements/ElementsTreeElement.ts +3 -4
  184. package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
  185. package/front_end/panels/elements/PlatformFontsWidget.ts +1 -2
  186. package/front_end/panels/elements/StyleEditorWidget.ts +2 -2
  187. package/front_end/panels/elements/StylePropertiesSection.ts +1 -2
  188. package/front_end/panels/elements/StylePropertyHighlighter.ts +2 -2
  189. package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -3
  190. package/front_end/panels/elements/StylesSidebarPane.ts +39 -8
  191. package/front_end/panels/elements/TopLayerContainer.ts +1 -1
  192. package/front_end/panels/elements/components/AdornerSettingsPane.ts +1 -1
  193. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -3
  194. package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +1 -1
  195. package/front_end/panels/elements/components/LayoutPane.ts +1 -2
  196. package/front_end/panels/elements/components/QueryContainer.ts +1 -1
  197. package/front_end/panels/elements/components/StylePropertyEditor.ts +1 -2
  198. package/front_end/panels/emulation/AdvancedApp.ts +2 -2
  199. package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
  200. package/front_end/panels/event_listeners/EventListenersView.ts +1 -2
  201. package/front_end/panels/issues/AffectedResourcesView.ts +2 -2
  202. package/front_end/panels/issues/CorsIssueDetailsView.ts +2 -2
  203. package/front_end/panels/issues/IssueView.ts +2 -2
  204. package/front_end/panels/issues/IssuesPane.ts +6 -2
  205. package/front_end/panels/layer_viewer/LayerDetailsView.ts +8 -2
  206. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
  207. package/front_end/panels/layer_viewer/Layers3DView.ts +9 -2
  208. package/front_end/panels/lighthouse/LighthouseController.ts +1 -1
  209. package/front_end/panels/lighthouse/LighthousePanel.ts +10 -6
  210. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +5 -1
  211. package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -2
  212. package/front_end/panels/lighthouse/LighthouseStatusView.ts +1 -2
  213. package/front_end/panels/lighthouse/LighthouseTimespanView.ts +1 -2
  214. package/front_end/panels/media/EventDisplayTable.ts +1 -1
  215. package/front_end/panels/media/EventTimelineView.ts +9 -3
  216. package/front_end/panels/media/MainView.ts +1 -2
  217. package/front_end/panels/media/PlayerDetailView.ts +4 -3
  218. package/front_end/panels/media/PlayerListView.ts +2 -2
  219. package/front_end/panels/media/PlayerMessagesView.ts +76 -0
  220. package/front_end/panels/media/playerMessagesView.css +15 -0
  221. package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +6 -2
  222. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +1 -2
  223. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +7 -4
  224. package/front_end/panels/network/NetworkDataGridNode.ts +1 -1
  225. package/front_end/panels/network/NetworkFrameGrouper.ts +1 -1
  226. package/front_end/panels/network/NetworkItemView.ts +1 -1
  227. package/front_end/panels/network/NetworkLogView.ts +10 -3
  228. package/front_end/panels/network/NetworkLogViewColumns.ts +7 -6
  229. package/front_end/panels/network/NetworkPanel.ts +3 -4
  230. package/front_end/panels/network/NetworkWaterfallColumn.ts +4 -4
  231. package/front_end/panels/network/RequestTimingView.ts +1 -2
  232. package/front_end/panels/network/components/RequestHeadersView.css +4 -0
  233. package/front_end/panels/network/components/RequestHeadersView.ts +57 -14
  234. package/front_end/panels/profiler/BottomUpProfileDataGrid.ts +2 -3
  235. package/front_end/panels/profiler/CPUProfileView.ts +3 -3
  236. package/front_end/panels/profiler/HeapProfileView.ts +4 -5
  237. package/front_end/panels/profiler/HeapProfilerPanel.ts +2 -2
  238. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +4 -4
  239. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +11 -7
  240. package/front_end/panels/profiler/HeapSnapshotProxy.ts +1 -1
  241. package/front_end/panels/profiler/HeapSnapshotView.ts +13 -8
  242. package/front_end/panels/profiler/ProfileLauncherView.ts +2 -2
  243. package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +6 -2
  244. package/front_end/panels/profiler/ProfileView.ts +6 -6
  245. package/front_end/panels/profiler/ProfilesPanel.ts +6 -2
  246. package/front_end/panels/profiler/TopDownProfileDataGrid.ts +1 -2
  247. package/front_end/panels/search/SearchResultsPane.ts +1 -1
  248. package/front_end/panels/search/SearchView.ts +1 -2
  249. package/front_end/panels/security/SecurityPanel.ts +7 -2
  250. package/front_end/panels/settings/SettingsScreen.ts +1 -1
  251. package/front_end/panels/settings/emulation/utils/UserAgentMetadata.ts +11 -2
  252. package/front_end/panels/sources/EditingLocationHistoryManager.ts +2 -2
  253. package/front_end/panels/sources/GoToLineQuickOpen.ts +1 -1
  254. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +7 -2
  255. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +7 -2
  256. package/front_end/panels/sources/SourcesNavigator.ts +1 -2
  257. package/front_end/panels/sources/SourcesPanel.ts +1 -1
  258. package/front_end/panels/sources/SourcesSearchScope.ts +3 -0
  259. package/front_end/panels/sources/SourcesView.ts +6 -2
  260. package/front_end/panels/sources/UISourceCodeFrame.ts +1 -1
  261. package/front_end/panels/timeline/CountersGraph.ts +2 -3
  262. package/front_end/panels/timeline/EventsTimelineTreeView.ts +2 -2
  263. package/front_end/panels/timeline/ExtensionTracingSession.ts +3 -3
  264. package/front_end/panels/timeline/TimelineDetailsView.ts +6 -6
  265. package/front_end/panels/timeline/TimelineEventOverview.ts +3 -3
  266. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -3
  267. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +1 -1
  268. package/front_end/panels/timeline/TimelineFlameChartView.ts +6 -6
  269. package/front_end/panels/timeline/TimelineHistoryManager.ts +1 -1
  270. package/front_end/panels/timeline/TimelinePanel.ts +5 -5
  271. package/front_end/panels/timeline/TimelineTreeView.ts +2 -2
  272. package/front_end/panels/timeline/UIDevtoolsController.ts +1 -2
  273. package/front_end/panels/timeline/components/WebVitalsLane.ts +9 -2
  274. package/front_end/panels/timeline/components/WebVitalsTimeline.ts +1 -1
  275. package/front_end/panels/web_audio/graph_visualizer/EdgeView.ts +1 -1
  276. package/front_end/panels/web_audio/graph_visualizer/GraphView.ts +9 -3
  277. package/front_end/panels/web_audio/graph_visualizer/NodeRendererUtility.ts +2 -1
  278. package/front_end/panels/web_audio/graph_visualizer/NodeView.ts +3 -1
  279. package/front_end/third_party/.clang-format +1 -1
  280. package/front_end/third_party/i18n/localized-string-set.ts +1 -1
  281. package/front_end/ui/components/buttons/Button.ts +32 -7
  282. package/front_end/ui/components/buttons/button.css +16 -0
  283. package/front_end/ui/components/data_grid/DataGrid.ts +5 -1
  284. package/front_end/ui/components/data_grid/DataGridContextMenuUtils.ts +2 -2
  285. package/front_end/ui/components/data_grid/DataGridController.ts +12 -5
  286. package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
  287. package/front_end/ui/components/data_grid/DataGridEvents.ts +1 -1
  288. package/front_end/ui/components/data_grid/DataGridRenderers.ts +1 -1
  289. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +112 -0
  290. package/front_end/ui/components/docs/building-ui-documentation/README.md +19 -0
  291. package/front_end/ui/components/docs/button/basic.html +11 -0
  292. package/front_end/ui/components/docs/button/basic.ts +7 -0
  293. package/front_end/ui/components/icon_button/IconButton.ts +1 -3
  294. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +27 -13
  295. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +9 -4
  296. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +10 -5
  297. package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +8 -7
  298. package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +1 -1
  299. package/front_end/ui/components/markdown_view/MarkdownImage.ts +1 -2
  300. package/front_end/ui/components/markdown_view/MarkdownView.ts +2 -4
  301. package/front_end/ui/components/tree_outline/TreeOutline.ts +3 -1
  302. package/front_end/ui/legacy/ActionRegistry.ts +1 -2
  303. package/front_end/ui/legacy/Context.ts +1 -1
  304. package/front_end/ui/legacy/ContextMenu.ts +2 -2
  305. package/front_end/ui/legacy/Dialog.ts +4 -4
  306. package/front_end/ui/legacy/DockController.ts +4 -4
  307. package/front_end/ui/legacy/FilterBar.ts +3 -3
  308. package/front_end/ui/legacy/FilterSuggestionBuilder.ts +1 -1
  309. package/front_end/ui/legacy/GlassPane.ts +3 -3
  310. package/front_end/ui/legacy/Infobar.ts +1 -1
  311. package/front_end/ui/legacy/InspectorView.ts +10 -10
  312. package/front_end/ui/legacy/ListControl.ts +2 -2
  313. package/front_end/ui/legacy/Panel.ts +1 -1
  314. package/front_end/ui/legacy/ShortcutRegistry.ts +2 -3
  315. package/front_end/ui/legacy/SoftDropDown.ts +4 -4
  316. package/front_end/ui/legacy/SplitWidget.ts +2 -2
  317. package/front_end/ui/legacy/SuggestBox.ts +2 -2
  318. package/front_end/ui/legacy/TabbedPane.ts +2 -2
  319. package/front_end/ui/legacy/TextPrompt.ts +1 -2
  320. package/front_end/ui/legacy/Toolbar.ts +2 -3
  321. package/front_end/ui/legacy/Treeoutline.ts +3 -3
  322. package/front_end/ui/legacy/UIUtils.ts +2 -3
  323. package/front_end/ui/legacy/View.ts +4 -4
  324. package/front_end/ui/legacy/ViewManager.ts +8 -8
  325. package/front_end/ui/legacy/ViewRegistration.ts +2 -2
  326. package/front_end/ui/legacy/XLink.ts +1 -1
  327. package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +1 -2
  328. package/front_end/ui/legacy/components/color_picker/ContrastOverlay.ts +1 -2
  329. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +1 -1
  330. package/front_end/ui/legacy/components/data_grid/SortableDataGrid.ts +1 -2
  331. package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +1 -2
  332. package/front_end/ui/legacy/components/data_grid/dataGrid.css +2 -2
  333. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -5
  334. package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +1 -1
  335. package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +1 -2
  336. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +1 -2
  337. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -2
  338. package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -1
  339. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +3 -4
  340. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +1 -2
  341. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -3
  342. package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +1 -2
  343. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -2
  344. package/inspector_overlay/css_grid_label_helpers.ts +1 -2
  345. package/inspector_overlay/highlight_common.ts +1 -1
  346. package/inspector_overlay/highlight_container_query.ts +3 -3
  347. package/inspector_overlay/highlight_flex_common.ts +12 -3
  348. package/inspector_overlay/highlight_grid_common.ts +3 -3
  349. package/inspector_overlay/highlight_isolated_element.ts +1 -1
  350. package/inspector_overlay/highlight_scroll_snap.ts +3 -3
  351. package/inspector_overlay/main.ts +6 -6
  352. package/inspector_overlay/tool_highlight.ts +26 -12
  353. package/inspector_overlay/tool_persistent.ts +13 -14
  354. package/inspector_overlay/tool_source_order.ts +3 -4
  355. package/package.json +1 -1
  356. package/scripts/build/generate_aria.py +2 -1
  357. package/scripts/build/generate_supported_css.py +6 -3
  358. package/scripts/protocol_typescript/protocol_dts_generator.ts +1 -1
@@ -1104,6 +1104,11 @@ export const NativeFunctions = [
1104
1104
  name: 'getFrequencyResponse',
1105
1105
  signatures: [['frequencyHz','magResponse','phaseResponse']]
1106
1106
  },
1107
+ {
1108
+ name: 'json',
1109
+ signatures: [['data','?init']],
1110
+ receivers: ['Response']
1111
+ },
1107
1112
  {
1108
1113
  name: 'postMessage',
1109
1114
  signatures: [['message']],
@@ -3703,18 +3708,7 @@ export const NativeFunctions = [
3703
3708
  },
3704
3709
  {
3705
3710
  name: 'encode',
3706
- signatures: [['?input']],
3707
- receivers: ['TextEncoder']
3708
- },
3709
- {
3710
- name: 'encode',
3711
- signatures: [['data']],
3712
- receivers: ['AudioEncoder']
3713
- },
3714
- {
3715
- name: 'encode',
3716
- signatures: [['frame','?options']],
3717
- receivers: ['VideoEncoder']
3711
+ signatures: [['?input']]
3718
3712
  },
3719
3713
  {
3720
3714
  name: 'encodeInto',
@@ -5913,7 +5907,7 @@ export const NativeFunctions = [
5913
5907
  signatures: [['?options']]
5914
5908
  },
5915
5909
  {
5916
- name: 'isVisible',
5910
+ name: 'checkVisibility',
5917
5911
  signatures: [['?options']]
5918
5912
  },
5919
5913
  {
@@ -6799,6 +6793,16 @@ export const NativeFunctions = [
6799
6793
  name: 'DeviceMotionEvent',
6800
6794
  signatures: [['type','?eventInitDict']]
6801
6795
  },
6796
+ {
6797
+ name: 'requestPermission',
6798
+ signatures: [['?descriptor']],
6799
+ receivers: ['FileSystemHandle']
6800
+ },
6801
+ {
6802
+ name: 'requestPermission',
6803
+ signatures: [['?deprecatedCallback']],
6804
+ receivers: ['Notification']
6805
+ },
6802
6806
  {
6803
6807
  name: 'DeviceOrientationEvent',
6804
6808
  signatures: [['type','?eventInitDict']]
@@ -6847,16 +6851,6 @@ export const NativeFunctions = [
6847
6851
  name: 'queryPermission',
6848
6852
  signatures: [['?descriptor']]
6849
6853
  },
6850
- {
6851
- name: 'requestPermission',
6852
- signatures: [['?descriptor']],
6853
- receivers: ['FileSystemHandle']
6854
- },
6855
- {
6856
- name: 'requestPermission',
6857
- signatures: [['?deprecatedCallback']],
6858
- receivers: ['Notification']
6859
- },
6860
6854
  {
6861
6855
  name: 'truncate',
6862
6856
  signatures: [['size']]
@@ -6969,6 +6963,10 @@ export const NativeFunctions = [
6969
6963
  name: 'GamepadEvent',
6970
6964
  signatures: [['type','?eventInitDict']]
6971
6965
  },
6966
+ {
6967
+ name: 'canPlay',
6968
+ signatures: [['type']]
6969
+ },
6972
6970
  {
6973
6971
  name: 'playEffect',
6974
6972
  signatures: [['type','params']]
@@ -7726,7 +7724,7 @@ export const NativeFunctions = [
7726
7724
  {
7727
7725
  name: 'configure',
7728
7726
  signatures: [['config']],
7729
- receivers: ['AudioDecoder','AudioEncoder','VideoDecoder','VideoEncoder']
7727
+ receivers: ['AudioDecoder','VideoDecoder']
7730
7728
  },
7731
7729
  {
7732
7730
  name: 'configure',
@@ -7737,10 +7735,6 @@ export const NativeFunctions = [
7737
7735
  name: 'isConfigSupported',
7738
7736
  signatures: [['config']]
7739
7737
  },
7740
- {
7741
- name: 'AudioEncoder',
7742
- signatures: [['init']]
7743
- },
7744
7738
  {
7745
7739
  name: 'EncodedAudioChunk',
7746
7740
  signatures: [['init']]
@@ -7761,10 +7755,6 @@ export const NativeFunctions = [
7761
7755
  name: 'VideoDecoder',
7762
7756
  signatures: [['init']]
7763
7757
  },
7764
- {
7765
- name: 'VideoEncoder',
7766
- signatures: [['init']]
7767
- },
7768
7758
  {
7769
7759
  name: 'VideoFrame',
7770
7760
  signatures: [['source','?init'],['data','init']]
@@ -9,8 +9,7 @@ import * as SDK from '../../core/sdk/sdk.js';
9
9
  import * as Bindings from '../bindings/bindings.js';
10
10
  import * as Workspace from '../workspace/workspace.js';
11
11
 
12
- import type {FileSystem} from './FileSystemWorkspaceBinding.js';
13
- import {FileSystemWorkspaceBinding} from './FileSystemWorkspaceBinding.js';
12
+ import {FileSystemWorkspaceBinding, type FileSystem} from './FileSystemWorkspaceBinding.js';
14
13
  import {PathEncoder, PersistenceImpl} from './PersistenceImpl.js';
15
14
 
16
15
  export class Automapping {
@@ -36,7 +36,7 @@ import * as UI from '../../ui/legacy/legacy.js';
36
36
  import editFileSystemViewStyles from './editFileSystemView.css.js';
37
37
  import {Events, IsolatedFileSystemManager} from './IsolatedFileSystemManager.js';
38
38
 
39
- import type {PlatformFileSystem} from './PlatformFileSystem.js';
39
+ import {type PlatformFileSystem} from './PlatformFileSystem.js';
40
40
 
41
41
  const UIStrings = {
42
42
  /**
@@ -33,10 +33,10 @@ import * as Platform from '../../core/platform/platform.js';
33
33
  import * as TextUtils from '../text_utils/text_utils.js';
34
34
  import * as Workspace from '../workspace/workspace.js';
35
35
 
36
- import type {IsolatedFileSystem} from './IsolatedFileSystem.js';
37
- import type {IsolatedFileSystemManager} from './IsolatedFileSystemManager.js';
38
- import {Events} from './IsolatedFileSystemManager.js';
39
- import type {PlatformFileSystem} from './PlatformFileSystem.js';
36
+ import {type IsolatedFileSystem} from './IsolatedFileSystem.js';
37
+
38
+ import {Events, type IsolatedFileSystemManager} from './IsolatedFileSystemManager.js';
39
+ import {type PlatformFileSystem} from './PlatformFileSystem.js';
40
40
 
41
41
  export class FileSystemWorkspaceBinding {
42
42
  readonly isolatedFileSystemManager: IsolatedFileSystemManager;
@@ -35,8 +35,7 @@ import * as Platform from '../../core/platform/platform.js';
35
35
 
36
36
  import type * as TextUtils from '../text_utils/text_utils.js';
37
37
 
38
- import type {IsolatedFileSystemManager} from './IsolatedFileSystemManager.js';
39
- import {Events} from './IsolatedFileSystemManager.js';
38
+ import {Events, type IsolatedFileSystemManager} from './IsolatedFileSystemManager.js';
40
39
  import {PlatformFileSystem} from './PlatformFileSystem.js';
41
40
 
42
41
  const UIStrings = {
@@ -32,11 +32,11 @@ import * as Common from '../../core/common/common.js';
32
32
  import * as Host from '../../core/host/host.js';
33
33
  import * as i18n from '../../core/i18n/i18n.js';
34
34
  import * as Platform from '../../core/platform/platform.js';
35
- import type {FilesChangedData} from './FileSystemWorkspaceBinding.js';
35
+ import {type FilesChangedData} from './FileSystemWorkspaceBinding.js';
36
36
 
37
37
  import {IsolatedFileSystem} from './IsolatedFileSystem.js';
38
38
 
39
- import type {PlatformFileSystem} from './PlatformFileSystem.js';
39
+ import {type PlatformFileSystem} from './PlatformFileSystem.js';
40
40
 
41
41
  const UIStrings = {
42
42
  /**
@@ -11,8 +11,7 @@ import * as Protocol from '../../generated/protocol.js';
11
11
  import * as Bindings from '../bindings/bindings.js';
12
12
  import * as Workspace from '../workspace/workspace.js';
13
13
 
14
- import type {FileSystem} from './FileSystemWorkspaceBinding.js';
15
- import {FileSystemWorkspaceBinding} from './FileSystemWorkspaceBinding.js';
14
+ import {FileSystemWorkspaceBinding, type FileSystem} from './FileSystemWorkspaceBinding.js';
16
15
  import {PersistenceBinding, PersistenceImpl} from './PersistenceImpl.js';
17
16
 
18
17
  let networkPersistenceManagerInstance: NetworkPersistenceManager|null;
@@ -10,8 +10,7 @@ import * as Components from '../../ui/legacy/components/utils/utils.js';
10
10
  import * as Bindings from '../bindings/bindings.js';
11
11
  import * as Workspace from '../workspace/workspace.js';
12
12
 
13
- import type {AutomappingStatus} from './Automapping.js';
14
- import {Automapping} from './Automapping.js';
13
+ import {Automapping, type AutomappingStatus} from './Automapping.js';
15
14
  import {LinkDecorator} from './PersistenceUtils.js';
16
15
 
17
16
  let persistenceInstance: PersistenceImpl;
@@ -12,8 +12,7 @@ import * as Workspace from '../workspace/workspace.js';
12
12
  import {FileSystemWorkspaceBinding} from './FileSystemWorkspaceBinding.js';
13
13
  import {NetworkPersistenceManager} from './NetworkPersistenceManager.js';
14
14
 
15
- import type {PersistenceBinding} from './PersistenceImpl.js';
16
- import {Events, PersistenceImpl} from './PersistenceImpl.js';
15
+ import {Events, PersistenceImpl, type PersistenceBinding} from './PersistenceImpl.js';
17
16
 
18
17
  const UIStrings = {
19
18
  /**
@@ -9,11 +9,11 @@ import * as UI from '../../ui/legacy/legacy.js';
9
9
  import {EditFileSystemView} from './EditFileSystemView.js';
10
10
  import workspaceSettingsTabStyles from './workspaceSettingsTab.css.js';
11
11
 
12
- import type {FileSystem} from './FileSystemWorkspaceBinding.js';
12
+ import {type FileSystem} from './FileSystemWorkspaceBinding.js';
13
13
  import {IsolatedFileSystem} from './IsolatedFileSystem.js';
14
14
  import {Events, IsolatedFileSystemManager} from './IsolatedFileSystemManager.js';
15
15
  import {NetworkPersistenceManager} from './NetworkPersistenceManager.js';
16
- import type {PlatformFileSystem} from './PlatformFileSystem.js';
16
+ import {type PlatformFileSystem} from './PlatformFileSystem.js';
17
17
 
18
18
  const UIStrings = {
19
19
  /**
@@ -5,7 +5,7 @@
5
5
  import type * as Common from '../../core/common/common.js';
6
6
  import type * as Platform from '../../core/platform/platform.js';
7
7
 
8
- import type {ContentProvider, DeferredContent, SearchMatch} from './ContentProvider.js';
8
+ import {type ContentProvider, type DeferredContent, type SearchMatch} from './ContentProvider.js';
9
9
  import {performSearchInContent} from './TextUtils.js';
10
10
 
11
11
  export class StaticContentProvider implements ContentProvider {
@@ -35,8 +35,8 @@ import * as SDK from '../../core/sdk/sdk.js';
35
35
  import type * as Protocol from '../../generated/protocol.js';
36
36
 
37
37
  import {RecordType, TimelineData} from './TimelineModel.js';
38
- import type {TracingLayerPayload, TracingLayerTile} from './TracingLayerTree.js';
39
- import {TracingLayerTree} from './TracingLayerTree.js';
38
+
39
+ import {TracingLayerTree, type TracingLayerPayload, type TracingLayerTile} from './TracingLayerTree.js';
40
40
 
41
41
  export class TimelineFrameModel {
42
42
  private readonly categoryMapper: (arg0: SDK.TracingModel.Event) => string;
@@ -8,7 +8,7 @@ import type * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {TimelineJSProfileProcessor} from './TimelineJSProfile.js';
10
10
  import {RecordType, TimelineData, TimelineModelImpl} from './TimelineModel.js';
11
- import type {TimelineModelFilter} from './TimelineModelFilter.js';
11
+ import {type TimelineModelFilter} from './TimelineModelFilter.js';
12
12
 
13
13
  export class Node {
14
14
  totalTime: number;
@@ -8,7 +8,7 @@ import * as Common from '../../core/common/common.js';
8
8
  import * as SDK from '../../core/sdk/sdk.js';
9
9
  import * as Protocol from '../../generated/protocol.js';
10
10
 
11
- import type {LayerPaintEvent} from './TimelineFrameModel.js';
11
+ import {type LayerPaintEvent} from './TimelineFrameModel.js';
12
12
 
13
13
  export class TracingLayerTree extends SDK.LayerTreeBase.LayerTreeBase {
14
14
  private tileById: Map<string, TracingLayerTile>;
@@ -35,8 +35,7 @@ import * as i18n from '../../core/i18n/i18n.js';
35
35
  import * as Platform from '../../core/platform/platform.js';
36
36
  import * as TextUtils from '../text_utils/text_utils.js';
37
37
 
38
- import type {Project} from './WorkspaceImpl.js';
39
- import {Events as WorkspaceImplEvents} from './WorkspaceImpl.js';
38
+ import {Events as WorkspaceImplEvents, type Project} from './WorkspaceImpl.js';
40
39
 
41
40
  const UIStrings = {
42
41
  /**
@@ -32,8 +32,7 @@ import * as Common from '../../core/common/common.js';
32
32
  import type * as Platform from '../../core/platform/platform.js';
33
33
  import type * as TextUtils from '../text_utils/text_utils.js';
34
34
 
35
- import type {UISourceCodeMetadata} from './UISourceCode.js';
36
- import {UISourceCode} from './UISourceCode.js';
35
+ import {UISourceCode, type UISourceCodeMetadata} from './UISourceCode.js';
37
36
 
38
37
  export interface ProjectSearchConfig {
39
38
  query(): string;
@@ -14,7 +14,7 @@ import axBreadcrumbsStyles from './axBreadcrumbs.css.js';
14
14
 
15
15
  import type * as Protocol from '../../generated/protocol.js';
16
16
 
17
- import type {AccessibilitySidebarView} from './AccessibilitySidebarView.js';
17
+ import {type AccessibilitySidebarView} from './AccessibilitySidebarView.js';
18
18
  import {AccessibilitySubPane} from './AccessibilitySubPane.js';
19
19
 
20
20
  const UIStrings = {
@@ -3,7 +3,7 @@
3
3
  // found in the LICENSE file.
4
4
 
5
5
  import * as UI from '../../ui/legacy/legacy.js';
6
- import type {AnimationGroup} from './AnimationModel.js';
6
+ import {type AnimationGroup} from './AnimationModel.js';
7
7
  import {AnimationUI} from './AnimationUI.js';
8
8
 
9
9
  export class AnimationGroupPreviewUI {
@@ -12,8 +12,13 @@ import * as UI from '../../ui/legacy/legacy.js';
12
12
  import {AnimationGroupPreviewUI} from './AnimationGroupPreviewUI.js';
13
13
  import animationTimelineStyles from './animationTimeline.css.js';
14
14
 
15
- import type {AnimationEffect, AnimationGroup, AnimationImpl} from './AnimationModel.js';
16
- import {AnimationModel, Events} from './AnimationModel.js';
15
+ import {
16
+ AnimationModel,
17
+ Events,
18
+ type AnimationEffect,
19
+ type AnimationGroup,
20
+ type AnimationImpl,
21
+ } from './AnimationModel.js';
17
22
  import {AnimationScreenshotPopover} from './AnimationScreenshotPopover.js';
18
23
  import {AnimationUI} from './AnimationUI.js';
19
24
 
@@ -10,9 +10,9 @@ import * as InlineEditor from '../../ui/legacy/components/inline_editor/inline_e
10
10
  import type * as SDK from '../../core/sdk/sdk.js';
11
11
  import * as UI from '../../ui/legacy/legacy.js';
12
12
 
13
- import type {AnimationImpl, KeyframeStyle} from './AnimationModel.js';
14
- import type {AnimationTimeline} from './AnimationTimeline.js';
15
- import {StepTimingFunction} from './AnimationTimeline.js';
13
+ import {type AnimationImpl, type KeyframeStyle} from './AnimationModel.js';
14
+
15
+ import {StepTimingFunction, type AnimationTimeline} from './AnimationTimeline.js';
16
16
 
17
17
  const UIStrings = {
18
18
  /**
@@ -11,7 +11,7 @@ import * as ApplicationComponents from './components/components.js';
11
11
  import * as Host from '../../core/host/host.js';
12
12
 
13
13
  import {ApplicationPanelTreeElement, ExpandableApplicationPanelTreeElement} from './ApplicationPanelTreeElement.js';
14
- import type {ResourcesPanel} from './ResourcesPanel.js';
14
+ import {type ResourcesPanel} from './ResourcesPanel.js';
15
15
  import {ServiceWorkerCacheView} from './ServiceWorkerCacheViews.js';
16
16
 
17
17
  const UIStrings = {
@@ -50,19 +50,25 @@ import {BackgroundServiceView} from './BackgroundServiceView.js';
50
50
  import * as ApplicationComponents from './components/components.js';
51
51
  import resourcesSidebarStyles from './resourcesSidebar.css.js';
52
52
 
53
- import type {Database as DatabaseModelDatabase} from './DatabaseModel.js';
54
- import {DatabaseModel, Events as DatabaseModelEvents} from './DatabaseModel.js';
53
+ import {DatabaseModel, Events as DatabaseModelEvents, type Database as DatabaseModelDatabase} from './DatabaseModel.js';
55
54
  import {DatabaseQueryView, Events as DatabaseQueryViewEvents} from './DatabaseQueryView.js';
56
55
  import {DatabaseTableView} from './DatabaseTableView.js';
57
- import type {DOMStorage} from './DOMStorageModel.js';
58
- import {DOMStorageModel, Events as DOMStorageModelEvents} from './DOMStorageModel.js';
59
- import type {Database as IndexedDBModelDatabase, DatabaseId, Index, ObjectStore} from './IndexedDBModel.js';
60
- import {Events as IndexedDBModelEvents, IndexedDBModel} from './IndexedDBModel.js';
56
+
57
+ import {DOMStorageModel, Events as DOMStorageModelEvents, type DOMStorage} from './DOMStorageModel.js';
58
+
59
+ import {
60
+ Events as IndexedDBModelEvents,
61
+ IndexedDBModel,
62
+ type Database as IndexedDBModelDatabase,
63
+ type DatabaseId,
64
+ type Index,
65
+ type ObjectStore,
66
+ } from './IndexedDBModel.js';
61
67
  import {IDBDatabaseView, IDBDataView} from './IndexedDBViews.js';
62
68
  import {InterestGroupStorageModel, Events as InterestGroupModelEvents} from './InterestGroupStorageModel.js';
63
69
  import {InterestGroupTreeElement} from './InterestGroupTreeElement.js';
64
70
  import {OpenedWindowDetailsView, WorkerDetailsView} from './OpenedWindowDetailsView.js';
65
- import type {ResourcesPanel} from './ResourcesPanel.js';
71
+ import {type ResourcesPanel} from './ResourcesPanel.js';
66
72
  import {ServiceWorkersView} from './ServiceWorkersView.js';
67
73
  import {StorageView} from './StorageView.js';
68
74
  import {TrustTokensTreeElement} from './TrustTokensTreeElement.js';
@@ -6,7 +6,7 @@ import * as Common from '../../core/common/common.js';
6
6
  import type * as Platform from '../../core/platform/platform.js';
7
7
  import * as UI from '../../ui/legacy/legacy.js';
8
8
 
9
- import type {ResourcesPanel} from './ResourcesPanel.js';
9
+ import {type ResourcesPanel} from './ResourcesPanel.js';
10
10
 
11
11
  export class ApplicationPanelTreeElement extends UI.TreeOutline.TreeElement {
12
12
  protected readonly resourcesPanel: ResourcesPanel;
@@ -15,8 +15,7 @@ import * as UI from '../../ui/legacy/legacy.js';
15
15
 
16
16
  import backgroundServiceViewStyles from './backgroundServiceView.css.js';
17
17
 
18
- import type {BackgroundServiceModel} from './BackgroundServiceModel.js';
19
- import {Events} from './BackgroundServiceModel.js';
18
+ import {Events, type BackgroundServiceModel} from './BackgroundServiceModel.js';
20
19
 
21
20
  const UIStrings = {
22
21
  /**
@@ -33,7 +33,7 @@ import * as Platform from '../../core/platform/platform.js';
33
33
  import * as DataGrid from '../../ui/legacy/components/data_grid/data_grid.js';
34
34
  import * as UI from '../../ui/legacy/legacy.js';
35
35
 
36
- import type {Database} from './DatabaseModel.js';
36
+ import {type Database} from './DatabaseModel.js';
37
37
 
38
38
  const UIStrings = {
39
39
  /**
@@ -32,7 +32,7 @@ import * as i18n from '../../core/i18n/i18n.js';
32
32
  import * as DataGrid from '../../ui/legacy/components/data_grid/data_grid.js';
33
33
  import * as UI from '../../ui/legacy/legacy.js';
34
34
 
35
- import type {Database} from './DatabaseModel.js';
35
+ import {type Database} from './DatabaseModel.js';
36
36
 
37
37
  const UIStrings = {
38
38
  /**
@@ -37,8 +37,15 @@ import * as DataGrid from '../../ui/legacy/components/data_grid/data_grid.js';
37
37
  import * as ObjectUI from '../../ui/legacy/components/object_ui/object_ui.js';
38
38
  import * as UI from '../../ui/legacy/legacy.js';
39
39
 
40
- import type {
41
- Database, DatabaseId, Entry, Index, IndexedDBModel, ObjectStore, ObjectStoreMetadata} from './IndexedDBModel.js';
40
+ import {
41
+ type Database,
42
+ type DatabaseId,
43
+ type Entry,
44
+ type Index,
45
+ type IndexedDBModel,
46
+ type ObjectStore,
47
+ type ObjectStoreMetadata,
48
+ } from './IndexedDBModel.js';
42
49
 
43
50
  const UIStrings = {
44
51
  /**
@@ -11,7 +11,7 @@ import * as UI from '../../ui/legacy/legacy.js';
11
11
  import type * as Protocol from '../../generated/protocol.js';
12
12
 
13
13
  import {ApplicationPanelTreeElement} from './ApplicationPanelTreeElement.js';
14
- import type {ResourcesPanel} from './ResourcesPanel.js';
14
+ import {type ResourcesPanel} from './ResourcesPanel.js';
15
15
  import {InterestGroupStorageView} from './InterestGroupStorageView.js';
16
16
 
17
17
  const UIStrings = {
@@ -8,7 +8,7 @@ import type * as Platform from '../../core/platform/platform.js';
8
8
  import * as UI from '../../ui/legacy/legacy.js';
9
9
 
10
10
  import {ApplicationPanelTreeElement} from './ApplicationPanelTreeElement.js';
11
- import type {ResourcesPanel} from './ResourcesPanel.js';
11
+ import {type ResourcesPanel} from './ResourcesPanel.js';
12
12
  import {ReportingApiView} from './ReportingApiView.js';
13
13
 
14
14
  const UIStrings = {
@@ -15,7 +15,7 @@ import {CookieItemsView} from './CookieItemsView.js';
15
15
  import {DatabaseQueryView} from './DatabaseQueryView.js';
16
16
  import {DatabaseTableView} from './DatabaseTableView.js';
17
17
  import {DOMStorageItemsView} from './DOMStorageItemsView.js';
18
- import type {DOMStorage} from './DOMStorageModel.js';
18
+ import {type DOMStorage} from './DOMStorageModel.js';
19
19
  import {StorageItemsView} from './StorageItemsView.js';
20
20
 
21
21
  let resourcesPanelInstance: ResourcesPanel;
@@ -9,7 +9,7 @@ import * as UI from '../../ui/legacy/legacy.js';
9
9
 
10
10
  import {ApplicationPanelTreeElement} from './ApplicationPanelTreeElement.js';
11
11
  import * as ApplicationComponents from './components/components.js';
12
- import type {ResourcesPanel} from './ResourcesPanel.js';
12
+ import {type ResourcesPanel} from './ResourcesPanel.js';
13
13
  import * as Host from '../../core/host/host.js';
14
14
 
15
15
  const UIStrings = {
@@ -2,10 +2,13 @@
2
2
  // Use of this source code is governed by a BSD-style license that can be
3
3
  // found in the LICENSE file.
4
4
 
5
- import type {StackTraceData} from './StackTrace.js';
6
- import {StackTrace} from './StackTrace.js';
7
- import type {PermissionsPolicySectionData} from './PermissionsPolicySection.js';
8
- import {PermissionsPolicySection, renderIconLink} from './PermissionsPolicySection.js';
5
+ import {StackTrace, type StackTraceData} from './StackTrace.js';
6
+
7
+ import {
8
+ PermissionsPolicySection,
9
+ renderIconLink,
10
+ type PermissionsPolicySectionData,
11
+ } from './PermissionsPolicySection.js';
9
12
  import * as Bindings from '../../../models/bindings/bindings.js';
10
13
  import * as Common from '../../../core/common/common.js';
11
14
  import * as i18n from '../../../core/i18n/i18n.js';
@@ -22,8 +25,8 @@ import * as UI from '../../../ui/legacy/legacy.js';
22
25
  import * as Workspace from '../../../models/workspace/workspace.js';
23
26
  import * as Components from '../../../ui/legacy/components/utils/utils.js';
24
27
  import * as Protocol from '../../../generated/protocol.js';
25
- import type {OriginTrialTreeViewData} from './OriginTrialTreeView.js';
26
- import {OriginTrialTreeView} from './OriginTrialTreeView.js';
28
+
29
+ import {OriginTrialTreeView, type OriginTrialTreeViewData} from './OriginTrialTreeView.js';
27
30
  import * as Coordinator from '../../../ui/components/render_coordinator/render_coordinator.js';
28
31
 
29
32
  import frameDetailsReportViewStyles from './frameDetailsReportView.css.js';
@@ -6,7 +6,7 @@ import * as SDK from '../../core/sdk/sdk.js';
6
6
  import * as Protocol from '../../generated/protocol.js';
7
7
  import * as TextUtils from '../../models/text_utils/text_utils.js';
8
8
 
9
- import type {ConsoleGroupViewMessage, ConsoleViewMessage} from './ConsoleViewMessage.js';
9
+ import {type ConsoleGroupViewMessage, type ConsoleViewMessage} from './ConsoleViewMessage.js';
10
10
 
11
11
  export type LevelsMask = {
12
12
  [x: string]: boolean,
@@ -10,9 +10,8 @@ import * as Protocol from '../../generated/protocol.js';
10
10
  import type * as TextUtils from '../../models/text_utils/text_utils.js';
11
11
  import * as UI from '../../ui/legacy/legacy.js';
12
12
 
13
- import type {LevelsMask} from './ConsoleFilter.js';
14
- import {ConsoleFilter, FilterType} from './ConsoleFilter.js';
15
- import type {ConsoleViewMessage} from './ConsoleViewMessage.js';
13
+ import {ConsoleFilter, FilterType, type LevelsMask} from './ConsoleFilter.js';
14
+ import {type ConsoleViewMessage} from './ConsoleViewMessage.js';
16
15
  import consoleSidebarStyles from './consoleSidebar.css.js';
17
16
 
18
17
  const UIStrings = {
@@ -51,8 +51,7 @@ import * as UI from '../../ui/legacy/legacy.js';
51
51
  import {ConsoleContextSelector} from './ConsoleContextSelector.js';
52
52
  import consoleViewStyles from './consoleView.css.js';
53
53
 
54
- import type {LevelsMask} from './ConsoleFilter.js';
55
- import {ConsoleFilter, FilterType} from './ConsoleFilter.js';
54
+ import {ConsoleFilter, FilterType, type LevelsMask} from './ConsoleFilter.js';
56
55
  import {ConsolePinPane} from './ConsolePinPane.js';
57
56
  import {ConsolePrompt, Events as ConsolePromptEvents} from './ConsolePrompt.js';
58
57
  import {ConsoleSidebar, Events} from './ConsoleSidebar.js';
@@ -66,8 +65,7 @@ import {
66
65
  MaxLengthForLinks,
67
66
  } from './ConsoleViewMessage.js';
68
67
 
69
- import type {ConsoleViewportElement, ConsoleViewportProvider} from './ConsoleViewport.js';
70
- import {ConsoleViewport} from './ConsoleViewport.js';
68
+ import {ConsoleViewport, type ConsoleViewportElement, type ConsoleViewportProvider} from './ConsoleViewport.js';
71
69
 
72
70
  const UIStrings = {
73
71
  /**
@@ -51,10 +51,10 @@ import * as Components from '../../ui/legacy/components/utils/utils.js';
51
51
  import * as UI from '../../ui/legacy/legacy.js';
52
52
  // eslint-disable-next-line rulesdir/es_modules_import
53
53
  import objectValueStyles from '../../ui/legacy/components/object_ui/objectValue.css.js';
54
- import type {Chrome} from '../../../extension-api/ExtensionAPI.js'; // eslint-disable-line rulesdir/es_modules_import
54
+ import {type Chrome} from '../../../extension-api/ExtensionAPI.js'; // eslint-disable-line rulesdir/es_modules_import
55
55
 
56
56
  import {format, updateStyle} from './ConsoleFormat.js';
57
- import type {ConsoleViewportElement} from './ConsoleViewport.js';
57
+ import {type ConsoleViewportElement} from './ConsoleViewport.js';
58
58
  import consoleViewStyles from './consoleView.css.js';
59
59
  import {augmentErrorStackWithScriptIds, parseSourcePositionsFromErrorStack} from './ErrorStackParser.js';
60
60
 
@@ -32,7 +32,7 @@ import * as Platform from '../../core/platform/platform.js';
32
32
  import * as Components from '../../ui/legacy/components/utils/utils.js';
33
33
  import * as UI from '../../ui/legacy/legacy.js';
34
34
 
35
- import type {ConsoleViewMessage} from './ConsoleViewMessage.js';
35
+ import {type ConsoleViewMessage} from './ConsoleViewMessage.js';
36
36
 
37
37
  interface SelectionModel {
38
38
  item: number;
@@ -8,7 +8,7 @@ import * as Platform from '../../core/platform/platform.js';
8
8
  import * as TextUtils from '../../models/text_utils/text_utils.js';
9
9
  import * as Workspace from '../../models/workspace/workspace.js';
10
10
 
11
- import type {CoverageInfo, CoverageModel} from './CoverageModel.js';
11
+ import {type CoverageInfo, type CoverageModel} from './CoverageModel.js';
12
12
 
13
13
  export const decoratorType = 'coverage';
14
14
 
@@ -13,8 +13,7 @@ import * as UI from '../../ui/legacy/legacy.js';
13
13
 
14
14
  import coverageListViewStyles from './coverageListView.css.js';
15
15
 
16
- import type {URLCoverageInfo} from './CoverageModel.js';
17
- import {CoverageType} from './CoverageModel.js';
16
+ import {CoverageType, type URLCoverageInfo} from './CoverageModel.js';
18
17
 
19
18
  const UIStrings = {
20
19
  /**
@@ -14,8 +14,7 @@ import {CoverageDecorationManager} from './CoverageDecorationManager.js';
14
14
  import {CoverageListView} from './CoverageListView.js';
15
15
  import coverageViewStyles from './coverageView.css.js';
16
16
 
17
- import type {CoverageInfo, URLCoverageInfo} from './CoverageModel.js';
18
- import {CoverageModel, Events, CoverageType} from './CoverageModel.js';
17
+ import {CoverageModel, Events, CoverageType, type CoverageInfo, type URLCoverageInfo} from './CoverageModel.js';
19
18
 
20
19
  const UIStrings = {
21
20
  /**