chrome-devtools-frontend 1.0.1023618 → 1.0.1025020

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 (349) hide show
  1. package/.eslintignore +1 -1
  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 +15 -3
  10. package/front_end/core/i18n/locales/en-XL.json +15 -3
  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 +10 -4
  19. package/front_end/core/sdk/CSSMedia.ts +1 -1
  20. package/front_end/core/sdk/CSSModel.ts +7 -7
  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 +43 -6
  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/models/bindings/BreakpointManager.ts +2 -2
  85. package/front_end/models/bindings/CSSWorkspaceBinding.ts +5 -2
  86. package/front_end/models/bindings/CompilerScriptMapping.ts +5 -1
  87. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +6 -2
  88. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +4 -4
  89. package/front_end/models/bindings/DefaultScriptMapping.ts +1 -1
  90. package/front_end/models/bindings/IgnoreListManager.ts +1 -1
  91. package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -2
  92. package/front_end/models/bindings/ResourceScriptMapping.ts +2 -4
  93. package/front_end/models/bindings/SASSSourceMapping.ts +2 -2
  94. package/front_end/models/bindings/StylesSourceMapping.ts +1 -1
  95. package/front_end/models/bindings/TempFile.ts +1 -2
  96. package/front_end/models/emulation/DeviceModeModel.ts +8 -2
  97. package/front_end/models/extensions/ExtensionPanel.ts +1 -1
  98. package/front_end/models/extensions/ExtensionServer.ts +3 -3
  99. package/front_end/models/extensions/ExtensionView.ts +1 -1
  100. package/front_end/models/extensions/LanguageExtensionEndpoint.ts +1 -1
  101. package/front_end/models/extensions/RecorderPluginManager.ts +1 -1
  102. package/front_end/models/formatter/SourceFormatter.ts +1 -2
  103. package/front_end/models/har/Importer.ts +1 -1
  104. package/front_end/models/har/Writer.ts +2 -2
  105. package/front_end/models/issues_manager/AttributionReportingIssue.ts +1 -1
  106. package/front_end/models/issues_manager/ClientHintIssue.ts +6 -2
  107. package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +6 -2
  108. package/front_end/models/issues_manager/CookieIssue.ts +6 -2
  109. package/front_end/models/issues_manager/CorsIssue.ts +1 -1
  110. package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +6 -2
  111. package/front_end/models/issues_manager/DeprecationIssue.ts +4 -4
  112. package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +6 -2
  113. package/front_end/models/issues_manager/GenericIssue.ts +6 -2
  114. package/front_end/models/issues_manager/HeavyAdIssue.ts +1 -1
  115. package/front_end/models/issues_manager/Issue.ts +1 -1
  116. package/front_end/models/issues_manager/IssueResolver.ts +2 -3
  117. package/front_end/models/issues_manager/IssuesManager.ts +1 -1
  118. package/front_end/models/issues_manager/LowTextContrastIssue.ts +1 -1
  119. package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
  120. package/front_end/models/issues_manager/NavigatorUserAgentIssue.ts +1 -1
  121. package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
  122. package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
  123. package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +1 -1
  124. package/front_end/models/issues_manager/SourceFrameIssuesManager.ts +3 -3
  125. package/front_end/models/issues_manager/TrustedWebActivityIssue.ts +6 -2
  126. package/front_end/models/persistence/Automapping.ts +1 -2
  127. package/front_end/models/persistence/EditFileSystemView.ts +1 -1
  128. package/front_end/models/persistence/FileSystemWorkspaceBinding.ts +4 -4
  129. package/front_end/models/persistence/IsolatedFileSystem.ts +1 -2
  130. package/front_end/models/persistence/IsolatedFileSystemManager.ts +2 -2
  131. package/front_end/models/persistence/NetworkPersistenceManager.ts +1 -2
  132. package/front_end/models/persistence/PersistenceImpl.ts +1 -2
  133. package/front_end/models/persistence/PersistenceUtils.ts +1 -2
  134. package/front_end/models/persistence/WorkspaceSettingsTab.ts +2 -2
  135. package/front_end/models/text_utils/StaticContentProvider.ts +1 -1
  136. package/front_end/models/text_utils/TextRange.ts +6 -0
  137. package/front_end/models/timeline_model/TimelineFrameModel.ts +2 -2
  138. package/front_end/models/timeline_model/TimelineProfileTree.ts +1 -1
  139. package/front_end/models/timeline_model/TracingLayerTree.ts +1 -1
  140. package/front_end/models/workspace/UISourceCode.ts +1 -2
  141. package/front_end/models/workspace/WorkspaceImpl.ts +1 -2
  142. package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +1 -1
  143. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
  144. package/front_end/panels/animation/AnimationTimeline.ts +7 -2
  145. package/front_end/panels/animation/AnimationUI.ts +3 -3
  146. package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -1
  147. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -7
  148. package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
  149. package/front_end/panels/application/BackgroundServiceView.ts +1 -2
  150. package/front_end/panels/application/DatabaseQueryView.ts +1 -1
  151. package/front_end/panels/application/DatabaseTableView.ts +1 -1
  152. package/front_end/panels/application/IndexedDBViews.ts +9 -2
  153. package/front_end/panels/application/InterestGroupTreeElement.ts +1 -1
  154. package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
  155. package/front_end/panels/application/ResourcesPanel.ts +1 -1
  156. package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
  157. package/front_end/panels/application/components/FrameDetailsView.ts +9 -6
  158. package/front_end/panels/console/ConsoleFilter.ts +1 -1
  159. package/front_end/panels/console/ConsoleSidebar.ts +2 -3
  160. package/front_end/panels/console/ConsoleView.ts +2 -4
  161. package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
  162. package/front_end/panels/console/ConsoleViewport.ts +1 -1
  163. package/front_end/panels/coverage/CoverageDecorationManager.ts +1 -1
  164. package/front_end/panels/coverage/CoverageListView.ts +1 -2
  165. package/front_end/panels/coverage/CoverageView.ts +1 -2
  166. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -5
  167. package/front_end/panels/css_overview/CSSOverviewController.ts +2 -2
  168. package/front_end/panels/css_overview/CSSOverviewModel.ts +3 -3
  169. package/front_end/panels/css_overview/CSSOverviewPanel.ts +4 -5
  170. package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -2
  171. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +3 -3
  172. package/front_end/panels/elements/ComputedStyleWidget.ts +3 -4
  173. package/front_end/panels/elements/ElementsPanel.ts +7 -4
  174. package/front_end/panels/elements/ElementsSidebarPane.ts +1 -2
  175. package/front_end/panels/elements/ElementsTreeElement.ts +3 -4
  176. package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
  177. package/front_end/panels/elements/PlatformFontsWidget.ts +1 -2
  178. package/front_end/panels/elements/StyleEditorWidget.ts +2 -2
  179. package/front_end/panels/elements/StylePropertiesSection.ts +1 -2
  180. package/front_end/panels/elements/StylePropertyHighlighter.ts +2 -2
  181. package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -3
  182. package/front_end/panels/elements/StylesSidebarPane.ts +47 -16
  183. package/front_end/panels/elements/TopLayerContainer.ts +1 -1
  184. package/front_end/panels/elements/components/AdornerSettingsPane.ts +1 -1
  185. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -3
  186. package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +1 -1
  187. package/front_end/panels/elements/components/LayoutPane.ts +1 -2
  188. package/front_end/panels/elements/components/QueryContainer.ts +1 -1
  189. package/front_end/panels/elements/components/StylePropertyEditor.ts +1 -2
  190. package/front_end/panels/emulation/AdvancedApp.ts +2 -2
  191. package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
  192. package/front_end/panels/event_listeners/EventListenersView.ts +1 -2
  193. package/front_end/panels/issues/AffectedResourcesView.ts +2 -2
  194. package/front_end/panels/issues/CorsIssueDetailsView.ts +2 -2
  195. package/front_end/panels/issues/IssueView.ts +2 -2
  196. package/front_end/panels/issues/IssuesPane.ts +6 -2
  197. package/front_end/panels/layer_viewer/LayerDetailsView.ts +8 -2
  198. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
  199. package/front_end/panels/layer_viewer/Layers3DView.ts +9 -2
  200. package/front_end/panels/lighthouse/LighthouseController.ts +1 -1
  201. package/front_end/panels/lighthouse/LighthousePanel.ts +10 -6
  202. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +5 -1
  203. package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -2
  204. package/front_end/panels/lighthouse/LighthouseStatusView.ts +1 -2
  205. package/front_end/panels/lighthouse/LighthouseTimespanView.ts +1 -2
  206. package/front_end/panels/media/EventDisplayTable.ts +1 -1
  207. package/front_end/panels/media/EventTimelineView.ts +9 -3
  208. package/front_end/panels/media/MainView.ts +1 -2
  209. package/front_end/panels/media/PlayerDetailView.ts +4 -3
  210. package/front_end/panels/media/PlayerListView.ts +2 -2
  211. package/front_end/panels/media/PlayerMessagesView.ts +76 -0
  212. package/front_end/panels/media/playerMessagesView.css +15 -0
  213. package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +6 -2
  214. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +1 -2
  215. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +7 -4
  216. package/front_end/panels/network/NetworkDataGridNode.ts +1 -1
  217. package/front_end/panels/network/NetworkFrameGrouper.ts +1 -1
  218. package/front_end/panels/network/NetworkItemView.ts +1 -1
  219. package/front_end/panels/network/NetworkLogView.ts +10 -3
  220. package/front_end/panels/network/NetworkLogViewColumns.ts +7 -6
  221. package/front_end/panels/network/NetworkPanel.ts +3 -4
  222. package/front_end/panels/network/NetworkWaterfallColumn.ts +4 -4
  223. package/front_end/panels/network/RequestTimingView.ts +1 -2
  224. package/front_end/panels/performance_monitor/performanceMonitor.css +1 -4
  225. package/front_end/panels/profiler/BottomUpProfileDataGrid.ts +2 -3
  226. package/front_end/panels/profiler/CPUProfileView.ts +3 -3
  227. package/front_end/panels/profiler/HeapProfileView.ts +4 -5
  228. package/front_end/panels/profiler/HeapProfilerPanel.ts +2 -2
  229. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +4 -4
  230. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +11 -7
  231. package/front_end/panels/profiler/HeapSnapshotProxy.ts +1 -1
  232. package/front_end/panels/profiler/HeapSnapshotView.ts +13 -8
  233. package/front_end/panels/profiler/ProfileLauncherView.ts +2 -2
  234. package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +6 -2
  235. package/front_end/panels/profiler/ProfileView.ts +6 -6
  236. package/front_end/panels/profiler/ProfilesPanel.ts +6 -2
  237. package/front_end/panels/profiler/TopDownProfileDataGrid.ts +1 -2
  238. package/front_end/panels/search/SearchResultsPane.ts +1 -1
  239. package/front_end/panels/search/SearchView.ts +1 -2
  240. package/front_end/panels/security/SecurityPanel.ts +43 -17
  241. package/front_end/panels/security/originView.css +14 -13
  242. package/front_end/panels/settings/SettingsScreen.ts +1 -1
  243. package/front_end/panels/settings/emulation/utils/UserAgentMetadata.ts +11 -2
  244. package/front_end/panels/sources/EditingLocationHistoryManager.ts +2 -2
  245. package/front_end/panels/sources/GoToLineQuickOpen.ts +1 -1
  246. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +7 -2
  247. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +7 -2
  248. package/front_end/panels/sources/SourcesNavigator.ts +1 -2
  249. package/front_end/panels/sources/SourcesPanel.ts +1 -1
  250. package/front_end/panels/sources/SourcesSearchScope.ts +3 -0
  251. package/front_end/panels/sources/SourcesView.ts +6 -2
  252. package/front_end/panels/sources/UISourceCodeFrame.ts +1 -1
  253. package/front_end/panels/timeline/CountersGraph.ts +2 -3
  254. package/front_end/panels/timeline/EventsTimelineTreeView.ts +2 -2
  255. package/front_end/panels/timeline/ExtensionTracingSession.ts +3 -3
  256. package/front_end/panels/timeline/TimelineDetailsView.ts +6 -6
  257. package/front_end/panels/timeline/TimelineEventOverview.ts +3 -3
  258. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -3
  259. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +1 -1
  260. package/front_end/panels/timeline/TimelineFlameChartView.ts +6 -6
  261. package/front_end/panels/timeline/TimelineHistoryManager.ts +1 -1
  262. package/front_end/panels/timeline/TimelinePanel.ts +5 -5
  263. package/front_end/panels/timeline/TimelineTreeView.ts +2 -2
  264. package/front_end/panels/timeline/UIDevtoolsController.ts +1 -2
  265. package/front_end/panels/timeline/components/WebVitalsLane.ts +9 -2
  266. package/front_end/panels/timeline/components/WebVitalsTimeline.ts +1 -1
  267. package/front_end/panels/web_audio/graph_visualizer/EdgeView.ts +1 -1
  268. package/front_end/panels/web_audio/graph_visualizer/GraphView.ts +9 -3
  269. package/front_end/panels/web_audio/graph_visualizer/NodeRendererUtility.ts +2 -1
  270. package/front_end/panels/web_audio/graph_visualizer/NodeView.ts +3 -1
  271. package/front_end/third_party/.clang-format +1 -1
  272. package/front_end/third_party/i18n/localized-string-set.ts +1 -1
  273. package/front_end/ui/components/buttons/Button.ts +30 -5
  274. package/front_end/ui/components/buttons/button.css +16 -0
  275. package/front_end/ui/components/data_grid/DataGrid.ts +5 -1
  276. package/front_end/ui/components/data_grid/DataGridContextMenuUtils.ts +2 -2
  277. package/front_end/ui/components/data_grid/DataGridController.ts +12 -5
  278. package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
  279. package/front_end/ui/components/data_grid/DataGridEvents.ts +1 -1
  280. package/front_end/ui/components/data_grid/DataGridRenderers.ts +1 -1
  281. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +112 -0
  282. package/front_end/ui/components/docs/building-ui-documentation/README.md +19 -0
  283. package/front_end/ui/components/docs/button/basic.html +11 -0
  284. package/front_end/ui/components/docs/button/basic.ts +7 -0
  285. package/front_end/ui/components/icon_button/IconButton.ts +1 -3
  286. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +27 -13
  287. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +39 -8
  288. package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +11 -5
  289. package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +8 -7
  290. package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +1 -1
  291. package/front_end/ui/components/markdown_view/MarkdownImage.ts +1 -2
  292. package/front_end/ui/components/markdown_view/MarkdownView.ts +2 -4
  293. package/front_end/ui/components/tree_outline/TreeOutline.ts +3 -1
  294. package/front_end/ui/legacy/ActionRegistry.ts +1 -2
  295. package/front_end/ui/legacy/Context.ts +1 -1
  296. package/front_end/ui/legacy/ContextMenu.ts +2 -2
  297. package/front_end/ui/legacy/Dialog.ts +4 -4
  298. package/front_end/ui/legacy/DockController.ts +4 -4
  299. package/front_end/ui/legacy/FilterBar.ts +3 -3
  300. package/front_end/ui/legacy/FilterSuggestionBuilder.ts +1 -1
  301. package/front_end/ui/legacy/GlassPane.ts +3 -3
  302. package/front_end/ui/legacy/Infobar.ts +1 -1
  303. package/front_end/ui/legacy/InspectorView.ts +10 -10
  304. package/front_end/ui/legacy/ListControl.ts +2 -2
  305. package/front_end/ui/legacy/Panel.ts +1 -1
  306. package/front_end/ui/legacy/ShortcutRegistry.ts +2 -3
  307. package/front_end/ui/legacy/SoftDropDown.ts +4 -4
  308. package/front_end/ui/legacy/SplitWidget.ts +2 -2
  309. package/front_end/ui/legacy/SuggestBox.ts +2 -2
  310. package/front_end/ui/legacy/TabbedPane.ts +2 -2
  311. package/front_end/ui/legacy/TextPrompt.ts +1 -2
  312. package/front_end/ui/legacy/Toolbar.ts +2 -3
  313. package/front_end/ui/legacy/Treeoutline.ts +3 -3
  314. package/front_end/ui/legacy/UIUtils.ts +2 -3
  315. package/front_end/ui/legacy/View.ts +4 -4
  316. package/front_end/ui/legacy/ViewManager.ts +8 -8
  317. package/front_end/ui/legacy/ViewRegistration.ts +2 -2
  318. package/front_end/ui/legacy/XLink.ts +1 -1
  319. package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +1 -2
  320. package/front_end/ui/legacy/components/color_picker/ContrastOverlay.ts +1 -2
  321. package/front_end/ui/legacy/components/color_picker/Spectrum.ts +1 -1
  322. package/front_end/ui/legacy/components/data_grid/SortableDataGrid.ts +1 -2
  323. package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +1 -2
  324. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -5
  325. package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +1 -1
  326. package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +1 -2
  327. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +1 -2
  328. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -2
  329. package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -1
  330. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +3 -4
  331. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +1 -2
  332. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -3
  333. package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +1 -2
  334. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -2
  335. package/front_end/ui/legacy/inspectorSyntaxHighlight.css +0 -1
  336. package/front_end/ui/legacy/themeColors.css +2 -2
  337. package/inspector_overlay/css_grid_label_helpers.ts +1 -2
  338. package/inspector_overlay/highlight_common.ts +1 -1
  339. package/inspector_overlay/highlight_container_query.ts +3 -3
  340. package/inspector_overlay/highlight_flex_common.ts +12 -3
  341. package/inspector_overlay/highlight_grid_common.ts +3 -3
  342. package/inspector_overlay/highlight_isolated_element.ts +1 -1
  343. package/inspector_overlay/highlight_scroll_snap.ts +3 -3
  344. package/inspector_overlay/main.ts +6 -6
  345. package/inspector_overlay/tool_highlight.ts +26 -12
  346. package/inspector_overlay/tool_persistent.ts +13 -14
  347. package/inspector_overlay/tool_source_order.ts +3 -4
  348. package/package.json +1 -1
  349. package/scripts/protocol_typescript/protocol_dts_generator.ts +1 -1
@@ -2,7 +2,7 @@
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 {FormattedContentBuilder} from './FormattedContentBuilder.js';
5
+ import {type FormattedContentBuilder} from './FormattedContentBuilder.js';
6
6
  import {createTokenizer} from './FormatterWorker.js';
7
7
 
8
8
  export class JSONFormatter {
@@ -30,10 +30,9 @@
30
30
 
31
31
  import * as Acorn from '../../third_party/acorn/acorn.js';
32
32
 
33
- import type {TokenOrComment} from './AcornTokenizer.js';
34
- import {AcornTokenizer, ECMA_VERSION} from './AcornTokenizer.js';
33
+ import {AcornTokenizer, ECMA_VERSION, type TokenOrComment} from './AcornTokenizer.js';
35
34
  import {ESTreeWalker} from './ESTreeWalker.js';
36
- import type {FormattedContentBuilder} from './FormattedContentBuilder.js';
35
+ import {type FormattedContentBuilder} from './FormattedContentBuilder.js';
37
36
 
38
37
  export class JavaScriptFormatter {
39
38
  readonly #builder: FormattedContentBuilder;
@@ -9,7 +9,7 @@ import * as Acorn from '../../third_party/acorn/acorn.js';
9
9
 
10
10
  import {ECMA_VERSION} from './AcornTokenizer.js';
11
11
  import {ESTreeWalker} from './ESTreeWalker.js';
12
- import type {ChunkCallback} from './FormatterWorker.js';
12
+ import {type ChunkCallback} from './FormatterWorker.js';
13
13
 
14
14
  export interface Item {
15
15
  title: string;
@@ -5,8 +5,8 @@
5
5
  import * as Acorn from '../../third_party/acorn/acorn.js';
6
6
 
7
7
  import {ECMA_VERSION} from './AcornTokenizer.js';
8
- import type {ScopeTreeNode} from './FormatterActions.js';
9
- import {DefinitionKind} from './FormatterActions.js';
8
+
9
+ import {DefinitionKind, type ScopeTreeNode} from './FormatterActions.js';
10
10
 
11
11
  export function parseScopes(expression: string): Scope|null {
12
12
  // Parse the expression and find variables and scopes.
@@ -36,7 +36,7 @@ import * as HeapSnapshotModel from '../../models/heap_snapshot_model/heap_snapsh
36
36
 
37
37
  import {AllocationProfile} from './AllocationProfile.js';
38
38
 
39
- import type {HeapSnapshotWorkerDispatcher} from './HeapSnapshotWorkerDispatcher.js';
39
+ import {type HeapSnapshotWorkerDispatcher} from './HeapSnapshotWorkerDispatcher.js';
40
40
 
41
41
  export interface HeapSnapshotItem {
42
42
  itemIndex(): number;
@@ -29,9 +29,9 @@
29
29
  */
30
30
 
31
31
  import * as TextUtils from '../../models/text_utils/text_utils.js';
32
- import {HeapSnapshotProgress, JSHeapSnapshot} from './HeapSnapshot.js';
33
- import type {HeapSnapshotHeader, Profile} from './HeapSnapshot.js';
34
- import type {HeapSnapshotWorkerDispatcher} from './HeapSnapshotWorkerDispatcher.js';
32
+ import {HeapSnapshotProgress, JSHeapSnapshot, type HeapSnapshotHeader, type Profile} from './HeapSnapshot.js';
33
+
34
+ import {type HeapSnapshotWorkerDispatcher} from './HeapSnapshotWorkerDispatcher.js';
35
35
 
36
36
  export class HeapSnapshotLoader {
37
37
  readonly #progress: HeapSnapshotProgress;
@@ -37,8 +37,8 @@ import type * as TextUtils from '../text_utils/text_utils.js';
37
37
  import * as Workspace from '../workspace/workspace.js';
38
38
 
39
39
  import {DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
40
- import type {LiveLocation} from './LiveLocation.js';
41
- import {LiveLocationPool} from './LiveLocation.js';
40
+
41
+ import {LiveLocationPool, type LiveLocation} from './LiveLocation.js';
42
42
  import {DefaultScriptMapping} from './DefaultScriptMapping.js';
43
43
  import {ResourceScriptMapping} from './ResourceScriptMapping.js';
44
44
 
@@ -7,8 +7,11 @@ import * as Platform from '../../core/platform/platform.js';
7
7
  import * as SDK from '../../core/sdk/sdk.js';
8
8
  import type * as Workspace from '../workspace/workspace.js';
9
9
 
10
- import type {LiveLocation as LiveLocationInterface, LiveLocationPool} from './LiveLocation.js';
11
- import {LiveLocationWithPool} from './LiveLocation.js';
10
+ import {
11
+ LiveLocationWithPool,
12
+ type LiveLocation as LiveLocationInterface,
13
+ type LiveLocationPool,
14
+ } from './LiveLocation.js';
12
15
  import {ResourceMapping} from './ResourceMapping.js';
13
16
  import {SASSSourceMapping} from './SASSSourceMapping.js';
14
17
  import {StylesSourceMapping} from './StylesSourceMapping.js';
@@ -36,7 +36,11 @@ import * as TextUtils from '../text_utils/text_utils.js';
36
36
  import * as Workspace from '../workspace/workspace.js';
37
37
 
38
38
  import {ContentProviderBasedProject} from './ContentProviderBasedProject.js';
39
- import type {DebuggerSourceMapping, DebuggerWorkspaceBinding, RawLocationRange} from './DebuggerWorkspaceBinding.js';
39
+ import {
40
+ type DebuggerSourceMapping,
41
+ type DebuggerWorkspaceBinding,
42
+ type RawLocationRange,
43
+ } from './DebuggerWorkspaceBinding.js';
40
44
  import {IgnoreListManager} from './IgnoreListManager.js';
41
45
  import {NetworkProject} from './NetworkProject.js';
42
46
 
@@ -8,11 +8,11 @@ import type * as Platform from '../../core/platform/platform.js';
8
8
  import * as SDK from '../../core/sdk/sdk.js';
9
9
  import * as Protocol from '../../generated/protocol.js';
10
10
  import * as Workspace from '../workspace/workspace.js';
11
- import type {Chrome} from '../../../extension-api/ExtensionAPI.js'; // eslint-disable-line rulesdir/es_modules_import
11
+ import {type Chrome} from '../../../extension-api/ExtensionAPI.js'; // eslint-disable-line rulesdir/es_modules_import
12
12
 
13
13
  import {ContentProviderBasedProject} from './ContentProviderBasedProject.js';
14
14
 
15
- import type {DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
15
+ import {type DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
16
16
  import {NetworkProject} from './NetworkProject.js';
17
17
  import {assertNotNullOrUndefined} from '../../core/platform/platform.js';
18
18
 
@@ -351,6 +351,10 @@ class FormattedValueNode extends ValueNode {
351
351
  this.#evalOptions = evalOptions;
352
352
  }
353
353
 
354
+ get sourceType(): SourceType {
355
+ return this.#sourceType;
356
+ }
357
+
354
358
  async findProperties(...properties: string[]): Promise<{
355
359
  [x: string]: FormattedValueNode | undefined,
356
360
  }> {
@@ -12,11 +12,11 @@ import {CompilerScriptMapping} from './CompilerScriptMapping.js';
12
12
  import {DebuggerLanguagePluginManager} from './DebuggerLanguagePlugins.js';
13
13
  import {DefaultScriptMapping} from './DefaultScriptMapping.js';
14
14
  import {IgnoreListManager} from './IgnoreListManager.js';
15
- import type {LiveLocation, LiveLocationPool} from './LiveLocation.js';
16
- import {LiveLocationWithPool} from './LiveLocation.js';
15
+
16
+ import {LiveLocationWithPool, type LiveLocation, type LiveLocationPool} from './LiveLocation.js';
17
17
  import {ResourceMapping} from './ResourceMapping.js';
18
- import type {ResourceScriptFile} from './ResourceScriptMapping.js';
19
- import {ResourceScriptMapping} from './ResourceScriptMapping.js';
18
+
19
+ import {ResourceScriptMapping, type ResourceScriptFile} from './ResourceScriptMapping.js';
20
20
 
21
21
  let debuggerWorkspaceBindingInstance: DebuggerWorkspaceBinding|undefined;
22
22
 
@@ -34,7 +34,7 @@ import * as SDK from '../../core/sdk/sdk.js';
34
34
  import * as Workspace from '../workspace/workspace.js';
35
35
 
36
36
  import {ContentProviderBasedProject} from './ContentProviderBasedProject.js';
37
- import type {DebuggerSourceMapping, DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
37
+ import {type DebuggerSourceMapping, type DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
38
38
 
39
39
  const uiSourceCodeToScriptsMap = new WeakMap<Workspace.UISourceCode.UISourceCode, Set<SDK.Script.Script>>();
40
40
  const scriptToUISourceCodeMap = new WeakMap<SDK.Script.Script, Workspace.UISourceCode.UISourceCode>();
@@ -7,7 +7,7 @@ import * as Platform from '../../core/platform/platform.js';
7
7
  import * as SDK from '../../core/sdk/sdk.js';
8
8
  import * as Workspace from '../workspace/workspace.js';
9
9
 
10
- import type {DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
10
+ import {type DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
11
11
 
12
12
  let ignoreListManagerInstance: IgnoreListManager;
13
13
 
@@ -35,8 +35,8 @@ import * as Workspace from '../workspace/workspace.js';
35
35
  import * as Protocol from '../../generated/protocol.js';
36
36
 
37
37
  import {DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
38
- import type {LiveLocation} from './LiveLocation.js';
39
- import {LiveLocationPool} from './LiveLocation.js';
38
+
39
+ import {LiveLocationPool, type LiveLocation} from './LiveLocation.js';
40
40
 
41
41
  const debuggerModelToMessageHelperMap =
42
42
  new WeakMap<SDK.DebuggerModel.DebuggerModel, PresentationConsoleMessageHelper>();
@@ -35,11 +35,9 @@ import * as SDK from '../../core/sdk/sdk.js';
35
35
  import * as Protocol from '../../generated/protocol.js';
36
36
  import * as Workspace from '../workspace/workspace.js';
37
37
 
38
- import type {Breakpoint} from './BreakpointManager.js';
39
- import {BreakpointManager} from './BreakpointManager.js';
38
+ import {BreakpointManager, type Breakpoint} from './BreakpointManager.js';
40
39
  import {ContentProviderBasedProject} from './ContentProviderBasedProject.js';
41
- import type {DebuggerSourceMapping} from './DebuggerWorkspaceBinding.js';
42
- import {DebuggerWorkspaceBinding} from './DebuggerWorkspaceBinding.js';
40
+ import {DebuggerWorkspaceBinding, type DebuggerSourceMapping} from './DebuggerWorkspaceBinding.js';
43
41
  import {NetworkProject} from './NetworkProject.js';
44
42
  import {metadataForURL} from './ResourceUtils.js';
45
43
 
@@ -35,8 +35,8 @@ import type * as Platform from '../../core/platform/platform.js';
35
35
  import * as Workspace from '../workspace/workspace.js';
36
36
 
37
37
  import {ContentProviderBasedProject} from './ContentProviderBasedProject.js';
38
- import type {SourceMapping} from './CSSWorkspaceBinding.js';
39
- import {CSSWorkspaceBinding} from './CSSWorkspaceBinding.js';
38
+
39
+ import {CSSWorkspaceBinding, type SourceMapping} from './CSSWorkspaceBinding.js';
40
40
  import {NetworkProject} from './NetworkProject.js';
41
41
 
42
42
  export class SASSSourceMapping implements SourceMapping {
@@ -35,7 +35,7 @@ import type * as TextUtils from '../text_utils/text_utils.js';
35
35
  import * as Workspace from '../workspace/workspace.js';
36
36
 
37
37
  import {ContentProviderBasedProject} from './ContentProviderBasedProject.js';
38
- import type {SourceMapping} from './CSSWorkspaceBinding.js';
38
+ import {type SourceMapping} from './CSSWorkspaceBinding.js';
39
39
  import {NetworkProject} from './NetworkProject.js';
40
40
  import {metadataForURL} from './ResourceUtils.js';
41
41
 
@@ -32,8 +32,7 @@ import * as Common from '../../core/common/common.js';
32
32
 
33
33
  import type * as SDK from '../../core/sdk/sdk.js';
34
34
 
35
- import type {ChunkedReader} from './FileUtils.js';
36
- import {ChunkedFileReader} from './FileUtils.js';
35
+ import {ChunkedFileReader, type ChunkedReader} from './FileUtils.js';
37
36
 
38
37
  export class TempFile {
39
38
  #lastBlob: Blob|null;
@@ -10,8 +10,14 @@ import * as SDK from '../../core/sdk/sdk.js';
10
10
  import * as Protocol from '../../generated/protocol.js';
11
11
  import * as UI from '../../ui/legacy/legacy.js';
12
12
 
13
- import type {EmulatedDevice, Mode} from './EmulatedDevices.js';
14
- import {Horizontal, HorizontalSpanned, Vertical, VerticalSpanned} from './EmulatedDevices.js';
13
+ import {
14
+ Horizontal,
15
+ HorizontalSpanned,
16
+ Vertical,
17
+ VerticalSpanned,
18
+ type EmulatedDevice,
19
+ type Mode,
20
+ } from './EmulatedDevices.js';
15
21
 
16
22
  const UIStrings = {
17
23
  /**
@@ -34,7 +34,7 @@ import * as SDK from '../../core/sdk/sdk.js';
34
34
  import * as UI from '../../ui/legacy/legacy.js';
35
35
 
36
36
  import * as ExtensionAPI from './ExtensionAPI.js';
37
- import type {ExtensionServer} from './ExtensionServer.js';
37
+ import {type ExtensionServer} from './ExtensionServer.js';
38
38
  import {ExtensionNotifierView, ExtensionView} from './ExtensionView.js';
39
39
 
40
40
  export class ExtensionPanel extends UI.Panel.Panel implements UI.SearchableView.Searchable {
@@ -49,13 +49,13 @@ import * as Workspace from '../workspace/workspace.js';
49
49
  import type * as Protocol from '../../generated/protocol.js';
50
50
 
51
51
  import {ExtensionButton, ExtensionPanel, ExtensionSidebarPane} from './ExtensionPanel.js';
52
- import type {TracingSession} from './ExtensionTraceProvider.js';
53
- import {ExtensionTraceProvider} from './ExtensionTraceProvider.js';
52
+
53
+ import {ExtensionTraceProvider, type TracingSession} from './ExtensionTraceProvider.js';
54
54
  import {LanguageExtensionEndpoint} from './LanguageExtensionEndpoint.js';
55
55
  import {RecorderExtensionEndpoint} from './RecorderExtensionEndpoint.js';
56
56
  import {PrivateAPI} from './ExtensionAPI.js';
57
57
  import {RecorderPluginManager} from './RecorderPluginManager.js';
58
- import type {Chrome} from '../../../extension-api/ExtensionAPI.js'; // eslint-disable-line rulesdir/es_modules_import
58
+ import {type Chrome} from '../../../extension-api/ExtensionAPI.js'; // eslint-disable-line rulesdir/es_modules_import
59
59
 
60
60
  const extensionOrigins: WeakMap<MessagePort, Platform.DevToolsPath.UrlString> = new WeakMap();
61
61
 
@@ -30,7 +30,7 @@
30
30
 
31
31
  import * as UI from '../../ui/legacy/legacy.js';
32
32
 
33
- import type {ExtensionServer} from './ExtensionServer.js';
33
+ import {type ExtensionServer} from './ExtensionServer.js';
34
34
 
35
35
  export class ExtensionView extends UI.Widget.Widget {
36
36
  private readonly server: ExtensionServer;
@@ -4,7 +4,7 @@
4
4
 
5
5
  import type * as SDK from '../../core/sdk/sdk.js';
6
6
  import * as Bindings from '../bindings/bindings.js';
7
- import type {Chrome} from '../../../extension-api/ExtensionAPI.js'; // eslint-disable-line rulesdir/es_modules_import
7
+ import {type Chrome} from '../../../extension-api/ExtensionAPI.js'; // eslint-disable-line rulesdir/es_modules_import
8
8
  import {ExtensionEndpoint} from './ExtensionEndpoint.js';
9
9
 
10
10
  import {PrivateAPI} from './ExtensionAPI.js';
@@ -2,7 +2,7 @@
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 {RecorderExtensionEndpoint} from './RecorderExtensionEndpoint.js';
5
+ import {type RecorderExtensionEndpoint} from './RecorderExtensionEndpoint.js';
6
6
 
7
7
  let instance: RecorderPluginManager|null = null;
8
8
 
@@ -8,8 +8,7 @@ import * as Bindings from '../bindings/bindings.js';
8
8
  import * as TextUtils from '../text_utils/text_utils.js';
9
9
  import * as Workspace from '../workspace/workspace.js';
10
10
 
11
- import type {FormatterSourceMapping} from './ScriptFormatter.js';
12
- import {format} from './ScriptFormatter.js';
11
+ import {format, type FormatterSourceMapping} from './ScriptFormatter.js';
13
12
 
14
13
  const objectToFormattingResult = new WeakMap<Object, SourceFormatData>();
15
14
 
@@ -6,7 +6,7 @@ import * as Common from '../../core/common/common.js';
6
6
  import * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
- import type {HAREntry, HARLog, HARPage, HARTimings} from './HARFormat.js';
9
+ import {type HAREntry, type HARLog, type HARPage, type HARTimings} from './HARFormat.js';
10
10
 
11
11
  export class Importer {
12
12
  static requestsFromHARLog(log: HARLog): SDK.NetworkRequest.NetworkRequest[] {
@@ -36,8 +36,8 @@ import * as Common from '../../core/common/common.js';
36
36
  import * as i18n from '../../core/i18n/i18n.js';
37
37
  import * as Platform from '../../core/platform/platform.js';
38
38
  import type * as SDK from '../../core/sdk/sdk.js';
39
- import type {EntryDTO} from './Log.js';
40
- import {Log} from './Log.js';
39
+
40
+ import {Log, type EntryDTO} from './Log.js';
41
41
 
42
42
  const UIStrings = {
43
43
  /**
@@ -6,7 +6,7 @@ import type * as SDK from '../../core/sdk/sdk.js';
6
6
  import * as Protocol from '../../generated/protocol.js';
7
7
 
8
8
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
9
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
9
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
10
10
 
11
11
  export const enum IssueCode {
12
12
  PermissionPolicyDisabled = 'AttributionReportingIssue::PermissionPolicyDisabled',
@@ -7,8 +7,12 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription, LazyMarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
- import {resolveLazyDescription} from './MarkdownIssueDescription.js';
10
+
11
+ import {
12
+ resolveLazyDescription,
13
+ type MarkdownIssueDescription,
14
+ type LazyMarkdownIssueDescription,
15
+ } from './MarkdownIssueDescription.js';
12
16
 
13
17
  const UIStrings = {
14
18
  /**
@@ -7,8 +7,12 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {LazyMarkdownIssueDescription, MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
- import {resolveLazyDescription} from './MarkdownIssueDescription.js';
10
+
11
+ import {
12
+ resolveLazyDescription,
13
+ type LazyMarkdownIssueDescription,
14
+ type MarkdownIssueDescription,
15
+ } from './MarkdownIssueDescription.js';
12
16
 
13
17
  const UIStrings = {
14
18
  /**
@@ -9,8 +9,12 @@ import * as SDK from '../../core/sdk/sdk.js';
9
9
  import * as Protocol from '../../generated/protocol.js';
10
10
 
11
11
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
12
- import type {LazyMarkdownIssueDescription, MarkdownIssueDescription} from './MarkdownIssueDescription.js';
13
- import {resolveLazyDescription} from './MarkdownIssueDescription.js';
12
+
13
+ import {
14
+ resolveLazyDescription,
15
+ type LazyMarkdownIssueDescription,
16
+ type MarkdownIssueDescription,
17
+ } from './MarkdownIssueDescription.js';
14
18
 
15
19
  const UIStrings = {
16
20
  /**
@@ -7,7 +7,7 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
10
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
11
 
12
12
  const UIStrings = {
13
13
  /**
@@ -7,8 +7,12 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {LazyMarkdownIssueDescription, MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
- import {resolveLazyDescription} from './MarkdownIssueDescription.js';
10
+
11
+ import {
12
+ resolveLazyDescription,
13
+ type LazyMarkdownIssueDescription,
14
+ type MarkdownIssueDescription,
15
+ } from './MarkdownIssueDescription.js';
12
16
 
13
17
  const UIStrings = {
14
18
  /**
@@ -7,8 +7,8 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
- import {resolveLazyDescription} from './MarkdownIssueDescription.js';
10
+
11
+ import {resolveLazyDescription, type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
12
12
 
13
13
  // clang-format off
14
14
  const UIStrings = {
@@ -348,7 +348,7 @@ export class DeprecationIssue extends Issue {
348
348
  break;
349
349
  case Protocol.Audits.DeprecationIssueType.CrossOriginAccessBasedOnDocumentDomain:
350
350
  messageFunction = i18nLazyString(UIStrings.crossOriginAccessBasedOnDocumentDomain);
351
- milestone = 106;
351
+ milestone = 109;
352
352
  break;
353
353
  case Protocol.Audits.DeprecationIssueType.CrossOriginWindowAlert:
354
354
  messageFunction = i18nLazyString(UIStrings.crossOriginWindowApi, {PH1: 'window.alert'});
@@ -367,7 +367,7 @@ export class DeprecationIssue extends Issue {
367
367
  break;
368
368
  case Protocol.Audits.DeprecationIssueType.DocumentDomainSettingWithoutOriginAgentClusterHeader:
369
369
  messageFunction = i18nLazyString(UIStrings.documentDomainSettingWithoutOriginAgentClusterHeader);
370
- milestone = 106;
370
+ milestone = 109;
371
371
  break;
372
372
  case Protocol.Audits.DeprecationIssueType.EventPath:
373
373
  messageFunction = i18nLazyString(UIStrings.eventPath);
@@ -7,8 +7,12 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription, LazyMarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
- import {resolveLazyDescription} from './MarkdownIssueDescription.js';
10
+
11
+ import {
12
+ resolveLazyDescription,
13
+ type MarkdownIssueDescription,
14
+ type LazyMarkdownIssueDescription,
15
+ } from './MarkdownIssueDescription.js';
12
16
 
13
17
  const UIStrings = {
14
18
  /**
@@ -7,8 +7,12 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {LazyMarkdownIssueDescription, MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
- import {resolveLazyDescription} from './MarkdownIssueDescription.js';
10
+
11
+ import {
12
+ resolveLazyDescription,
13
+ type LazyMarkdownIssueDescription,
14
+ type MarkdownIssueDescription,
15
+ } from './MarkdownIssueDescription.js';
12
16
 
13
17
  const UIStrings = {
14
18
  /**
@@ -7,7 +7,7 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
10
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
11
 
12
12
  const UIStrings = {
13
13
  /**
@@ -9,7 +9,7 @@ import type * as Platform from '../../core/platform/platform.js';
9
9
  import type * as SDK from '../../core/sdk/sdk.js';
10
10
  import type * as Protocol from '../../generated/protocol.js';
11
11
 
12
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
12
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
13
13
 
14
14
  const UIStrings = {
15
15
  /**
@@ -5,9 +5,8 @@
5
5
  import * as Common from '../../core/common/common.js';
6
6
  import type * as Protocol from '../../generated/protocol.js';
7
7
 
8
- import type {Issue} from './Issue.js';
9
- import {IssuesManager, Events as IssueManagerEvents} from './IssuesManager.js';
10
- import type {IssueAddedEvent} from './IssuesManager.js';
8
+ import {type Issue} from './Issue.js';
9
+ import {IssuesManager, Events as IssueManagerEvents, type IssueAddedEvent} from './IssuesManager.js';
11
10
 
12
11
  /**
13
12
  * A class that facilitates resolving an issueId to an issue. See `ResolverBase` for more info.
@@ -16,7 +16,7 @@ import {DeprecationIssue} from './DeprecationIssue.js';
16
16
  import {FederatedAuthRequestIssue} from './FederatedAuthRequestIssue.js';
17
17
  import {GenericIssue} from './GenericIssue.js';
18
18
  import {HeavyAdIssue} from './HeavyAdIssue.js';
19
- import type {Issue, IssueKind} from './Issue.js';
19
+ import {type Issue, type IssueKind} from './Issue.js';
20
20
  import {Events} from './IssuesManagerEvents.js';
21
21
  import {LowTextContrastIssue} from './LowTextContrastIssue.js';
22
22
  import {MixedContentIssue} from './MixedContentIssue.js';
@@ -7,7 +7,7 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import type * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
10
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
11
 
12
12
  const UIStrings = {
13
13
  /**
@@ -7,7 +7,7 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
10
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
11
 
12
12
  const UIStrings = {
13
13
  /**
@@ -7,7 +7,7 @@ import * as SDK from '../../core/sdk/sdk.js';
7
7
  import type * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
10
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
11
  import {isCausedByThirdParty} from './CookieIssue.js';
12
12
 
13
13
  const UIStrings = {
@@ -7,7 +7,7 @@ import type * as SDK from '../../core/sdk/sdk.js';
7
7
  import * as Protocol from '../../generated/protocol.js';
8
8
 
9
9
  import {Issue, IssueCategory, IssueKind} from './Issue.js';
10
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
10
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
11
11
 
12
12
  const UIStrings = {
13
13
  /**
@@ -4,7 +4,7 @@
4
4
 
5
5
  import * as Common from '../../core/common/common.js';
6
6
  import * as SDK from '../../core/sdk/sdk.js';
7
- import type {Issue, IssueCategory} from './Issue.js';
7
+ import {type Issue, type IssueCategory} from './Issue.js';
8
8
  import {IssuesManager} from './IssuesManager.js';
9
9
 
10
10
  export type IssuesAssociatable = Readonly<SDK.NetworkRequest.NetworkRequest>|SDK.Cookie.Cookie|string;
@@ -5,7 +5,7 @@
5
5
  import * as i18n from '../../core/i18n/i18n.js';
6
6
  import * as Protocol from '../../generated/protocol.js';
7
7
 
8
- import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
8
+ import {type MarkdownIssueDescription} from './MarkdownIssueDescription.js';
9
9
  import {Issue, IssueKind, IssueCategory} from './Issue.js';
10
10
  import type * as SDK from '../../core/sdk/sdk.js';
11
11
 
@@ -13,9 +13,9 @@ import {
13
13
  trustedTypesPolicyViolationCode,
14
14
  trustedTypesSinkViolationCode,
15
15
  } from './ContentSecurityPolicyIssue.js';
16
- import type {Issue, IssueKind} from './Issue.js';
17
- import {toZeroBasedLocation} from './Issue.js';
18
- import type {IssueAddedEvent, IssuesManager} from './IssuesManager.js';
16
+
17
+ import {toZeroBasedLocation, type Issue, type IssueKind} from './Issue.js';
18
+ import {type IssueAddedEvent, type IssuesManager} from './IssuesManager.js';
19
19
  import {Events} from './IssuesManagerEvents.js';
20
20
  import {getIssueTitleFromMarkdownDescription} from './MarkdownIssueDescription.js';
21
21