chrome-devtools-frontend 1.0.1657855 → 1.0.1661063

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 (370) hide show
  1. package/.agents/skills/evaluate-ai-css-completion/SKILL.md +133 -0
  2. package/.agents/skills/evaluate-ai-css-completion/scripts/evaluate.js +76 -0
  3. package/.agents/skills/migrate-chromium-test/SKILL.md +15 -70
  4. package/.agents/skills/ui-eng-vision-orchestrator/SKILL.md +37 -18
  5. package/.agents/skills/version-control/SKILL.md +8 -1
  6. package/AUTHORS +1 -0
  7. package/SECURITY.md +3 -0
  8. package/docs/get_the_code.md +6 -0
  9. package/eslint.config.mjs +7 -0
  10. package/extension-api/ExtensionAPI.d.ts +88 -0
  11. package/front_end/Tests.js +6 -6
  12. package/front_end/core/common/Gzip.ts +12 -5
  13. package/front_end/core/host/AidaClient.ts +35 -9
  14. package/front_end/core/host/GdpClient.ts +10 -7
  15. package/front_end/core/host/InspectorFrontendHost.ts +1 -0
  16. package/front_end/core/host/InspectorFrontendHostStub.ts +2 -0
  17. package/front_end/core/platform/StringUtilities.ts +55 -4
  18. package/front_end/core/sdk/AccessibilityModel.snapshot.txt +17 -0
  19. package/front_end/core/sdk/AccessibilityModel.ts +132 -2
  20. package/front_end/core/sdk/CPUThrottlingManager.ts +10 -5
  21. package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +2 -5
  22. package/front_end/core/sdk/ConsoleModel.ts +5 -5
  23. package/front_end/core/sdk/DOMDebuggerModel.ts +7 -1
  24. package/front_end/core/sdk/DOMModel.ts +33 -18
  25. package/front_end/core/sdk/DebuggerModel.ts +4 -4
  26. package/front_end/core/sdk/EventBreakpointsModel.ts +2 -0
  27. package/front_end/core/sdk/FrameManager.ts +1 -0
  28. package/front_end/core/sdk/IsolateManager.ts +1 -0
  29. package/front_end/core/sdk/NetworkManager.ts +59 -11
  30. package/front_end/core/sdk/NetworkRequest.ts +38 -1
  31. package/front_end/core/sdk/OverlayModel.ts +45 -6
  32. package/front_end/core/sdk/PageResourceLoader.ts +2 -0
  33. package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
  34. package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
  35. package/front_end/core/sdk/ServerTiming.ts +17 -13
  36. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +4 -2
  37. package/front_end/core/sdk/ServiceWorkerManager.ts +19 -5
  38. package/front_end/core/sdk/SourceMap.ts +5 -5
  39. package/front_end/core/sdk/SourceMapManager.ts +3 -2
  40. package/front_end/core/sdk/TargetManager.ts +14 -1
  41. package/front_end/core/sdk/TraceObject.ts +4 -2
  42. package/front_end/core/sdk/sdk-meta.ts +170 -0
  43. package/front_end/design_system_tokens.css +0 -5
  44. package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.ts +5 -2
  45. package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +26 -4
  46. package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +8 -3
  47. package/front_end/entrypoints/inspector_main/InspectorMain.ts +4 -4
  48. package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +2 -2
  49. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +36 -37
  50. package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +15 -33
  51. package/front_end/entrypoints/js_app/js_app.ts +6 -5
  52. package/front_end/entrypoints/main/GlobalAiButton.ts +4 -4
  53. package/front_end/entrypoints/main/MainImpl.ts +20 -22
  54. package/front_end/entrypoints/main/main-meta.ts +42 -42
  55. package/front_end/entrypoints/node_app/node_app.ts +3 -2
  56. package/front_end/entrypoints/worker_app/WorkerMain.ts +1 -1
  57. package/front_end/foundation/Universe.ts +44 -1
  58. package/front_end/generated/InspectorBackendCommands.ts +2 -2
  59. package/front_end/generated/SupportedCSSProperties.js +19 -12
  60. package/front_end/generated/protocol.ts +3 -1
  61. package/front_end/models/ai_assistance/AiConversation.ts +19 -17
  62. package/front_end/models/ai_assistance/AiHistoryStorage.ts +37 -14
  63. package/front_end/models/ai_assistance/AiUtils.ts +38 -42
  64. package/front_end/models/ai_assistance/agents/AiAgent.ts +5 -1
  65. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +3 -2
  66. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +2 -1
  67. package/front_end/models/ai_assistance/agents/StorageAgent.ts +7 -5
  68. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +270 -286
  69. package/front_end/models/ai_assistance/data_formatters/UnitFormatters.ts +20 -0
  70. package/front_end/models/ai_assistance/performance/AICallTree.ts +3 -1
  71. package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +3 -2
  72. package/front_end/models/autofill_manager/AutofillManager.ts +3 -1
  73. package/front_end/models/bindings/CompilerScriptMapping.ts +7 -7
  74. package/front_end/models/bindings/ContentProviderBasedProject.ts +4 -4
  75. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +5 -5
  76. package/front_end/models/bindings/DefaultScriptMapping.ts +3 -3
  77. package/front_end/models/bindings/NetworkProject.ts +5 -10
  78. package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -1
  79. package/front_end/models/bindings/ResourceMapping.ts +3 -4
  80. package/front_end/models/bindings/ResourceScriptMapping.ts +2 -3
  81. package/front_end/models/bindings/ResourceUtils.ts +1 -1
  82. package/front_end/models/bindings/SASSSourceMapping.ts +11 -9
  83. package/front_end/models/bindings/StylesSourceMapping.ts +3 -3
  84. package/front_end/models/bindings/TempFile.ts +8 -3
  85. package/front_end/models/emulation/EmulatedDevices.ts +389 -8
  86. package/front_end/models/extensions/ExtensionAPI.ts +116 -52
  87. package/front_end/models/extensions/LanguageExtensionEndpoint.ts +13 -12
  88. package/front_end/models/formatter/ScriptFormatter.ts +8 -11
  89. package/front_end/models/issues_manager/BounceTrackingIssue.ts +1 -1
  90. package/front_end/models/issues_manager/ClientHintIssue.ts +1 -1
  91. package/front_end/models/issues_manager/ConnectionAllowlistIssue.ts +1 -1
  92. package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +7 -7
  93. package/front_end/models/issues_manager/CookieDeprecationMetadataIssue.ts +2 -2
  94. package/front_end/models/issues_manager/CookieIssue.ts +27 -16
  95. package/front_end/models/issues_manager/CorsIssue.ts +3 -3
  96. package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +2 -2
  97. package/front_end/models/issues_manager/DeprecationIssue.ts +3 -3
  98. package/front_end/models/issues_manager/EmailVerificationRequestIssue.ts +1 -1
  99. package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +1 -1
  100. package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.ts +1 -1
  101. package/front_end/models/issues_manager/GenericIssue.ts +7 -7
  102. package/front_end/models/issues_manager/HeavyAdIssue.ts +3 -3
  103. package/front_end/models/issues_manager/Issue.ts +11 -12
  104. package/front_end/models/issues_manager/IssueAggregator.ts +0 -9
  105. package/front_end/models/issues_manager/IssueResolver.ts +2 -2
  106. package/front_end/models/issues_manager/IssuesManager.ts +136 -137
  107. package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
  108. package/front_end/models/issues_manager/PartitioningBlobURLIssue.ts +3 -3
  109. package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
  110. package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +2 -2
  111. package/front_end/models/issues_manager/SelectivePermissionsInterventionIssue.ts +2 -2
  112. package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +2 -2
  113. package/front_end/models/issues_manager/SharedDictionaryIssue.ts +1 -1
  114. package/front_end/models/issues_manager/UnencodedDigestIssue.ts +3 -3
  115. package/front_end/models/issues_manager/issues_manager.ts +0 -2
  116. package/front_end/models/javascript_metadata/NativeFunctions.js +5 -1
  117. package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +5 -0
  118. package/front_end/models/source_map_scopes/FunctionCodeResolver.ts +13 -10
  119. package/front_end/models/stack_trace/StackTraceModel.ts +3 -3
  120. package/front_end/models/text_utils/ContentData.ts +27 -0
  121. package/front_end/models/trace/helpers/SamplesIntegrator.ts +21 -5
  122. package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +29 -14
  123. package/front_end/models/web_mcp/WebMCPModel.ts +24 -6
  124. package/front_end/models/workspace/IgnoreListManager.ts +6 -6
  125. package/front_end/models/workspace/UISourceCode.ts +3 -3
  126. package/front_end/models/workspace/WorkspaceImpl.ts +10 -1
  127. package/front_end/models/workspace_diff/WorkspaceDiff.ts +10 -4
  128. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +25 -22
  129. package/front_end/panels/ai_assistance/ExportConversation.ts +3 -4
  130. package/front_end/panels/ai_assistance/ai_assistance-meta.ts +3 -3
  131. package/front_end/panels/ai_assistance/components/ChatInput.ts +2 -2
  132. package/front_end/panels/ai_assistance/components/ChatMessage.ts +9 -1
  133. package/front_end/panels/ai_assistance/components/DisabledWidget.ts +2 -2
  134. package/front_end/panels/animation/AnimationTimeline.ts +17 -19
  135. package/front_end/panels/animation/AnimationUI.ts +5 -5
  136. package/front_end/panels/animation/animation-meta.ts +2 -2
  137. package/front_end/panels/application/ApplicationPanelSidebar.ts +4 -3
  138. package/front_end/panels/application/DeviceBoundSessionsView.ts +2 -6
  139. package/front_end/panels/application/FrameDetailsView.ts +1 -1
  140. package/front_end/panels/application/IndexedDBViews.ts +220 -266
  141. package/front_end/panels/application/OpenedWindowDetailsView.ts +1 -1
  142. package/front_end/panels/application/ResourcesPanel.ts +9 -2
  143. package/front_end/panels/application/ServiceWorkersView.ts +252 -211
  144. package/front_end/panels/application/StorageView.ts +97 -33
  145. package/front_end/panels/application/WebMCPView.ts +53 -44
  146. package/front_end/panels/application/components/AdsView.ts +201 -30
  147. package/front_end/panels/application/components/adsView.css +25 -0
  148. package/front_end/panels/application/indexedDBViews.css +38 -9
  149. package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -2
  150. package/front_end/panels/application/preloading/helper/PreloadingForward.ts +2 -1
  151. package/front_end/panels/application/storageView.css +26 -9
  152. package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +5 -1
  153. package/front_end/panels/browser_debugger/browser_debugger-meta.ts +8 -6
  154. package/front_end/panels/common/DOMLinkifier.ts +1 -1
  155. package/front_end/panels/common/ExtensionServer.ts +119 -14
  156. package/front_end/panels/console/ConsoleContextSelector.ts +1 -1
  157. package/front_end/panels/console/ConsolePinPane.ts +2 -2
  158. package/front_end/panels/console/ConsolePrompt.ts +2 -2
  159. package/front_end/panels/console/ConsoleView.ts +3 -2
  160. package/front_end/panels/console/PromptBuilder.ts +2 -1
  161. package/front_end/panels/console/SymbolizedErrorWidget.ts +2 -1
  162. package/front_end/panels/console_counters/WarningErrorCounter.ts +2 -2
  163. package/front_end/panels/coverage/CoverageListView.ts +28 -28
  164. package/front_end/panels/coverage/CoverageModel.ts +2 -1
  165. package/front_end/panels/coverage/CoverageView.ts +22 -22
  166. package/front_end/panels/coverage/coverage-meta.ts +5 -5
  167. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +36 -36
  168. package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -1
  169. package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +2 -2
  170. package/front_end/panels/css_overview/CSSOverviewStartView.ts +6 -6
  171. package/front_end/panels/css_overview/CSSOverviewUnusedDeclarations.ts +6 -6
  172. package/front_end/panels/css_overview/css_overview-meta.ts +2 -2
  173. package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +1 -1
  174. package/front_end/panels/elements/AccessibilityTreeUtils.ts +8 -102
  175. package/front_end/panels/elements/AccessibilityTreeView.ts +163 -70
  176. package/front_end/panels/elements/ElementsPanel.ts +17 -11
  177. package/front_end/panels/elements/ElementsTreeElement.ts +4 -1
  178. package/front_end/panels/elements/ElementsTreeOutline.ts +4 -4
  179. package/front_end/panels/elements/LayoutPane.ts +1 -1
  180. package/front_end/panels/elements/MetricsSidebarPane.ts +100 -34
  181. package/front_end/panels/elements/StylePropertiesSection.ts +2 -2
  182. package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -2
  183. package/front_end/panels/elements/StylesSidebarPane.ts +1 -1
  184. package/front_end/panels/elements/components/AccessibilityTreeNode.ts +7 -18
  185. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -2
  186. package/front_end/panels/elements/components/QueryContainer.ts +1 -1
  187. package/front_end/panels/emulation/DeviceModeView.ts +52 -70
  188. package/front_end/panels/issues/AffectedDirectivesView.ts +1 -1
  189. package/front_end/panels/issues/AffectedResourcesView.ts +2 -1
  190. package/front_end/panels/issues/IssueView.ts +0 -2
  191. package/front_end/panels/issues/IssuesPane.ts +1 -8
  192. package/front_end/panels/js_timeline/js_timeline-meta.ts +3 -2
  193. package/front_end/panels/layer_viewer/LayerViewHost.ts +1 -1
  194. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +3 -3
  195. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +5 -5
  196. package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +4 -4
  197. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +2 -2
  198. package/front_end/panels/linear_memory_inspector/components/LinearMemoryNavigator.ts +6 -6
  199. package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +3 -3
  200. package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +8 -9
  201. package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts +2 -2
  202. package/front_end/panels/linear_memory_inspector/components/ValueInterpreterSettings.ts +1 -1
  203. package/front_end/panels/linear_memory_inspector/linear_memory_inspector-meta.ts +2 -2
  204. package/front_end/panels/network/NetworkDataGridNode.ts +124 -36
  205. package/front_end/panels/network/NetworkLogView.ts +9 -1
  206. package/front_end/panels/network/NetworkLogViewColumns.ts +18 -0
  207. package/front_end/panels/network/NetworkPanel.ts +2 -1
  208. package/front_end/panels/network/RequestPayloadView.ts +68 -20
  209. package/front_end/panels/network/RequestPreviewView.ts +7 -1
  210. package/front_end/panels/network/RequestTimingView.ts +95 -127
  211. package/front_end/panels/network/components/ResponseHeaderSection.ts +1 -1
  212. package/front_end/panels/network/forward/UIFilter.ts +1 -0
  213. package/front_end/panels/network/requestPayloadView.css +10 -0
  214. package/front_end/panels/performance_monitor/PerformanceMonitor.ts +12 -12
  215. package/front_end/panels/performance_monitor/performance_monitor-meta.ts +7 -7
  216. package/front_end/panels/profiler/HeapDetachedElementsView.ts +2 -2
  217. package/front_end/panels/profiler/HeapProfileView.ts +563 -51
  218. package/front_end/panels/profiler/HeapSnapshotView.ts +14 -9
  219. package/front_end/panels/profiler/ProfilesPanel.ts +13 -7
  220. package/front_end/panels/profiler/WritableProfileHeader.ts +152 -0
  221. package/front_end/panels/profiler/profiler.ts +2 -2
  222. package/front_end/panels/recorder/{components/ControlButton.ts → ControlButton.ts} +9 -10
  223. package/front_end/panels/recorder/{components/CreateRecordingView.ts → CreateRecordingView.ts} +59 -58
  224. package/front_end/panels/recorder/ExtensionView.ts +123 -0
  225. package/front_end/panels/recorder/RecorderController.ts +102 -92
  226. package/front_end/panels/recorder/{components/RecordingListView.ts → RecordingListView.ts} +22 -23
  227. package/front_end/panels/recorder/{components/RecordingView.ts → RecordingView.ts} +99 -96
  228. package/front_end/panels/recorder/{components/ReplaySection.ts → ReplaySection.ts} +20 -20
  229. package/front_end/panels/recorder/{components/SelectorPicker.ts → SelectorPicker.ts} +13 -13
  230. package/front_end/panels/recorder/{components/StepEditor.ts → StepEditor.ts} +367 -336
  231. package/front_end/panels/recorder/{components/StepView.ts → StepView.ts} +48 -49
  232. package/front_end/panels/recorder/{components/TimelineSection.ts → TimelineSection.ts} +2 -2
  233. package/front_end/panels/recorder/models/RecorderSettings.ts +2 -2
  234. package/front_end/panels/recorder/recorder-meta.ts +7 -7
  235. package/front_end/panels/recorder/recorder.ts +23 -1
  236. package/front_end/panels/recorder/{components/recordingView.css → recordingView.css} +1 -1
  237. package/front_end/panels/recorder/util/util.ts +113 -0
  238. package/front_end/panels/screencast/ScreencastApp.ts +1 -1
  239. package/front_end/panels/screencast/ScreencastView.ts +12 -12
  240. package/front_end/panels/search/SearchResultsPane.ts +4 -4
  241. package/front_end/panels/search/SearchView.ts +20 -20
  242. package/front_end/panels/security/SecurityModel.ts +7 -7
  243. package/front_end/panels/security/SecurityPanel.ts +99 -107
  244. package/front_end/panels/security/SecurityPanelSidebar.ts +7 -7
  245. package/front_end/panels/security/security-meta.ts +2 -2
  246. package/front_end/panels/sensors/LocationsSettingsTab.ts +19 -19
  247. package/front_end/panels/sensors/SensorsView.ts +27 -27
  248. package/front_end/panels/sensors/sensors-meta.ts +13 -167
  249. package/front_end/panels/settings/AISettingsTab.ts +98 -56
  250. package/front_end/panels/settings/EditFileSystemView.ts +2 -2
  251. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +20 -20
  252. package/front_end/panels/settings/KeybindsSettingsTab.ts +20 -21
  253. package/front_end/panels/settings/SettingsScreen.ts +11 -11
  254. package/front_end/panels/settings/WorkspaceSettingsTab.ts +5 -5
  255. package/front_end/panels/settings/components/SyncSection.ts +12 -12
  256. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +13 -13
  257. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +31 -31
  258. package/front_end/panels/settings/emulation/emulation-meta.ts +1 -1
  259. package/front_end/panels/settings/settings-meta.ts +14 -14
  260. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +2 -2
  261. package/front_end/panels/sources/NavigatorView.ts +7 -6
  262. package/front_end/panels/sources/ScopeChainSidebarPane.ts +83 -37
  263. package/front_end/panels/sources/SourcesNavigator.ts +22 -21
  264. package/front_end/panels/sources/SourcesView.ts +10 -1
  265. package/front_end/panels/sources/TabbedEditorContainer.ts +1 -1
  266. package/front_end/panels/sources/scopeChainSidebarPane.css +12 -4
  267. package/front_end/panels/sources/sources-meta.ts +4 -4
  268. package/front_end/panels/timeline/CompatibilityTracksAppender.ts +5 -2
  269. package/front_end/panels/timeline/IsolateSelector.ts +10 -8
  270. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +2 -1
  271. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +2 -1
  272. package/front_end/panels/timeline/TimelineFlameChartView.ts +1 -1
  273. package/front_end/panels/timeline/TimelinePanel.ts +20 -8
  274. package/front_end/panels/timeline/TimelineUIUtils.ts +149 -131
  275. package/front_end/panels/timeline/components/NetworkRequestDetails.ts +4 -2
  276. package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +4 -2
  277. package/front_end/panels/timeline/components/insights/ImageRef.ts +2 -1
  278. package/front_end/panels/timeline/timeline-meta.ts +3 -2
  279. package/front_end/panels/utils/utils.ts +7 -3
  280. package/front_end/panels/web_audio/WebAudioView.ts +17 -18
  281. package/front_end/panels/web_audio/web_audio-meta.ts +3 -3
  282. package/front_end/panels/whats_new/ReleaseNoteView.ts +1 -1
  283. package/front_end/panels/whats_new/whats_new-meta.ts +11 -11
  284. package/front_end/third_party/chromium/README.chromium +1 -1
  285. package/front_end/third_party/lit/lib/async-directive.d.ts +2 -1
  286. package/front_end/third_party/lit/lib/async-directive.js +1 -1
  287. package/front_end/third_party/lit/lib/async-directive.js.map +1 -1
  288. package/front_end/third_party/lit/lib/decorators.d.ts +2 -1
  289. package/front_end/third_party/lit/lib/decorators.js.map +1 -1
  290. package/front_end/third_party/lit/lib/directive.d.ts +2 -1
  291. package/front_end/third_party/lit/lib/directive.js.map +1 -1
  292. package/front_end/third_party/lit/lib/directives.d.ts +2 -1
  293. package/front_end/third_party/lit/lib/directives.js +8 -8
  294. package/front_end/third_party/lit/lib/directives.js.map +1 -1
  295. package/front_end/third_party/lit/lib/lit.d.ts +2 -1
  296. package/front_end/third_party/lit/lib/lit.js +1 -1
  297. package/front_end/third_party/lit/lib/lit.js.map +1 -1
  298. package/front_end/third_party/lit/lib/static-html.d.ts +2 -1
  299. package/front_end/third_party/lit/lib/static-html.js +1 -1
  300. package/front_end/third_party/lit/lib/static-html.js.map +1 -1
  301. package/front_end/third_party/lit/package.json +2 -2
  302. package/front_end/third_party/lit/rebuild.sh +1 -1
  303. package/front_end/third_party/lit/src/async-directive.ts +5 -0
  304. package/front_end/ui/components/dialogs/Dialog.ts +1 -1
  305. package/front_end/ui/components/dialogs/ShortcutDialog.ts +1 -1
  306. package/front_end/ui/components/diff_view/DiffView.ts +2 -2
  307. package/front_end/ui/components/issue_counter/IssueCounter.ts +3 -3
  308. package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +5 -5
  309. package/front_end/ui/components/lists/List.ts +2 -2
  310. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -1
  311. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +5 -5
  312. package/front_end/ui/components/settings/SettingCheckbox.ts +1 -1
  313. package/front_end/ui/components/snackbars/Snackbar.ts +1 -1
  314. package/front_end/ui/components/survey_link/SurveyLink.ts +3 -3
  315. package/front_end/ui/components/text_editor/config.ts +2 -2
  316. package/front_end/ui/components/tree_outline/TreeOutline.ts +34 -1
  317. package/front_end/ui/legacy/ReportView.ts +5 -0
  318. package/front_end/ui/legacy/Treeoutline.ts +6 -0
  319. package/front_end/ui/legacy/View.ts +1 -1
  320. package/front_end/ui/legacy/Widget.ts +14 -15
  321. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +2 -0
  322. package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +8 -3
  323. package/front_end/ui/legacy/components/data_grid/data_grid.ts +1 -0
  324. package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
  325. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +106 -38
  326. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +7 -1
  327. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +2 -1
  328. package/front_end/ui/legacy/components/utils/ImagePreview.ts +4 -2
  329. package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +10 -1
  330. package/front_end/ui/legacy/inspectorCommon.css +5 -0
  331. package/front_end/ui/visual_logging/KnownContextValues.ts +3 -0
  332. package/mcp/mcp.ts +2 -0
  333. package/package.json +4 -4
  334. package/front_end/models/issues_manager/AttributionReportingIssue.ts +0 -247
  335. package/front_end/models/issues_manager/descriptions/arInsecureContext.md +0 -7
  336. package/front_end/models/issues_manager/descriptions/arInvalidInfoHeader.md +0 -5
  337. package/front_end/models/issues_manager/descriptions/arInvalidRegisterOsSourceHeader.md +0 -5
  338. package/front_end/models/issues_manager/descriptions/arInvalidRegisterOsTriggerHeader.md +0 -5
  339. package/front_end/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +0 -5
  340. package/front_end/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +0 -5
  341. package/front_end/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +0 -5
  342. package/front_end/models/issues_manager/descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +0 -6
  343. package/front_end/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +0 -5
  344. package/front_end/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +0 -5
  345. package/front_end/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +0 -5
  346. package/front_end/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +0 -5
  347. package/front_end/models/issues_manager/descriptions/arNoWebOrOsSupport.md +0 -4
  348. package/front_end/models/issues_manager/descriptions/arOsSourceIgnored.md +0 -18
  349. package/front_end/models/issues_manager/descriptions/arOsTriggerIgnored.md +0 -19
  350. package/front_end/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +0 -8
  351. package/front_end/models/issues_manager/descriptions/arSourceAndTriggerHeaders.md +0 -9
  352. package/front_end/models/issues_manager/descriptions/arSourceIgnored.md +0 -13
  353. package/front_end/models/issues_manager/descriptions/arTriggerIgnored.md +0 -12
  354. package/front_end/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +0 -10
  355. package/front_end/models/issues_manager/descriptions/arWebAndOsHeaders.md +0 -11
  356. package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +0 -182
  357. package/front_end/panels/profiler/ProfileView.ts +0 -611
  358. package/front_end/panels/recorder/components/ExtensionView.ts +0 -132
  359. package/front_end/panels/recorder/components/components.ts +0 -25
  360. package/front_end/panels/recorder/components/util.ts +0 -116
  361. /package/front_end/panels/recorder/{components/controlButton.css → controlButton.css} +0 -0
  362. /package/front_end/panels/recorder/{components/createRecordingView.css → createRecordingView.css} +0 -0
  363. /package/front_end/panels/recorder/{components/extensionView.css → extensionView.css} +0 -0
  364. /package/front_end/panels/recorder/{components/recordingListView.css → recordingListView.css} +0 -0
  365. /package/front_end/panels/recorder/{components/replaySection.css → replaySection.css} +0 -0
  366. /package/front_end/panels/recorder/{components/selectorPicker.css → selectorPicker.css} +0 -0
  367. /package/front_end/panels/recorder/{components/startView.css → startView.css} +0 -0
  368. /package/front_end/panels/recorder/{components/stepEditor.css → stepEditor.css} +0 -0
  369. /package/front_end/panels/recorder/{components/stepView.css → stepView.css} +0 -0
  370. /package/front_end/panels/recorder/{components/timelineSection.css → timelineSection.css} +0 -0
@@ -15,11 +15,11 @@ import outermostTargetSelectorStyles from './outermostTargetSelector.css.js';
15
15
 
16
16
  const UIStrings = {
17
17
  /**
18
- * @description Title of toolbar item in outermost target selector in the main toolbar
18
+ * @description Title of toolbar item in outermost target selector in the main toolbar.
19
19
  */
20
20
  targetNotSelected: 'Page: Not selected',
21
21
  /**
22
- * @description Title of toolbar item in outermost target selector in the main toolbar
22
+ * @description Title of toolbar item in outermost target selector in the main toolbar.
23
23
  * @example {top} PH1
24
24
  */
25
25
  targetS: 'Page: {PH1}',
@@ -16,153 +16,152 @@ import renderingOptionsStyles from './renderingOptions.css.js';
16
16
 
17
17
  const UIStrings = {
18
18
  /**
19
- * @description The name of a checkbox setting in the Rendering tool. This setting highlights areas
19
+ * @description The name of a checkbox setting in the Rendering panel. This setting highlights areas
20
20
  * of the webpage that need to be repainted (re-drawn by the browser).
21
21
  */
22
22
  paintFlashing: 'Paint flashing',
23
23
  /**
24
- * @description Explanation text for the 'Paint flashing' setting in the Rendering tool.
24
+ * @description Explanation text for the 'Paint flashing' setting in the Rendering panel.
25
25
  */
26
26
  highlightsAreasOfThePageGreen:
27
27
  'Highlights areas of the page (green) that need to be repainted. May not be suitable for people prone to photosensitive epilepsy.',
28
28
  /**
29
- * @description The name of a checkbox setting in the Rendering tool. This setting highlights areas
29
+ * @description The name of a checkbox setting in the Rendering panel. This setting highlights areas
30
30
  * (regions) of the page that were shifted (where a 'layout shift' occurred). A layout shift is
31
31
  * where elements on the webpage move around and cause other nearby elements to move as well.
32
32
  */
33
33
  layoutShiftRegions: 'Layout shift regions',
34
34
  /**
35
- * @description Explanation text for the 'Layout Shift Regions' setting in the Rendering tool.
35
+ * @description Explanation text for the 'Layout shift regions' setting in the Rendering panel.
36
36
  */
37
37
  highlightsAreasOfThePageBlueThat:
38
38
  'Highlights areas of the page (blue) that were shifted. May not be suitable for people prone to photosensitive epilepsy.',
39
39
  /**
40
- * @description The name of a checkbox setting in the Rendering tool. This setting shows the
40
+ * @description The name of a checkbox setting in the Rendering panel. This setting shows the
41
41
  * borders of layers on the page. Layer is a noun.
42
42
  */
43
43
  layerBorders: 'Layer borders',
44
44
  /**
45
- * @description Explanation text for the 'Layer borders' setting in the Rendering tool.
45
+ * @description Explanation text for the 'Layer borders' setting in the Rendering panel.
46
46
  */
47
47
  showsLayerBordersOrangeoliveAnd: 'Shows layer borders (orange/olive) and tiles (cyan).',
48
48
  /**
49
- * @description The name of a checkbox setting in the Rendering tool. This setting shows the
49
+ * @description The name of a checkbox setting in the Rendering panel. This setting shows the
50
50
  * rendering statistics for frames e.g. frames per second. Frame is a noun.
51
51
  */
52
- frameRenderingStats: 'Frame Rendering Stats',
52
+ frameRenderingStats: 'Frame rendering stats',
53
53
  /**
54
- * @description Explanation text for the 'Frame Rendering Stats' setting in the Rendering tool.
54
+ * @description Explanation text for the 'Frame rendering stats' setting in the Rendering panel.
55
55
  * Plots is a verb. GPU = Graphics Processing Unit.
56
56
  */
57
57
  plotsFrameThroughputDropped: 'Plots frame throughput, dropped frames distribution, and GPU memory.',
58
58
  /**
59
- * @description The name of a checkbox setting in the Rendering tool. This setting highlights
59
+ * @description The name of a checkbox setting in the Rendering panel. This setting highlights
60
60
  * elements that can slow down scrolling on the page.
61
61
  */
62
62
  scrollingPerformanceIssues: 'Scrolling performance issues',
63
63
  /**
64
- * @description Explanation text for the 'Scrolling performance issues' setting in the Rendering tool.
64
+ * @description Explanation text for the 'Scrolling performance issues' setting in the Rendering panel.
65
65
  */
66
66
  highlightsElementsTealThatCan:
67
67
  'Highlights elements (teal) that can slow down scrolling, including touch & wheel event handlers and other main-thread scrolling situations.',
68
68
  /**
69
- * @description The name of a checkbox setting in the Rendering tool. This setting highlights the
69
+ * @description The name of a checkbox setting in the Rendering panel. This setting highlights the
70
70
  * rendering elements for ads that are found on the page.
71
71
  */
72
72
  highlightAds: 'Highlight ads',
73
73
  /**
74
- * @description Explanation text for the 'Highlight ads' setting in the Rendering tool.
74
+ * @description Explanation text for the 'Highlight ads' setting in the Rendering panel.
75
75
  */
76
76
  highlightsElementsRedDetectedToBe: 'Highlights elements (red) detected to be ads.',
77
77
  /**
78
- * @description The name of a checkbox setting in the Rendering tool. This setting prevents the
78
+ * @description The name of a checkbox setting in the Rendering panel. This setting prevents the
79
79
  * webpage from loading 'local' fonts. Local fonts are fonts that are installed on the user's
80
80
  * computer, and not loaded over the network.
81
81
  */
82
82
  disableLocalFonts: 'Disable local fonts',
83
83
  /**
84
- * @description Explanation text for the 'Disable local fonts' setting in the Rendering tool.
84
+ * @description Explanation text for the 'Disable local fonts' setting in the Rendering panel.
85
85
  */
86
86
  disablesLocalSourcesInFontface: 'Disables `local()` sources in `@font-face` rules. Requires a page reload to apply.',
87
87
  /**
88
- * @description The name of a checkbox setting in the Rendering tool. This setting
88
+ * @description The name of a checkbox setting in the Rendering panel. This setting
89
89
  * emulates/pretends that the webpage is focused i.e. that the user interacted with it most
90
90
  * recently.
91
91
  */
92
92
  emulateAFocusedPage: 'Emulate a focused page',
93
93
  /**
94
- * @description Explanation text for the 'Emulate a focused page' setting in the Rendering tool.
94
+ * @description Explanation text for the 'Emulate a focused page' setting in the Rendering panel.
95
95
  */
96
96
  emulatesAFocusedPage: 'Keep page focused. Commonly used for debugging disappearing elements.',
97
97
  /**
98
- * @description The name of a checkbox setting in the Rendering tool. This setting enables auto dark mode emulation.
98
+ * @description The name of a checkbox setting in the Rendering panel. This setting enables auto dark mode emulation.
99
99
  */
100
100
  emulateAutoDarkMode: 'Enable automatic dark mode',
101
101
  /**
102
- * @description Explanation text for the 'Emulate automatic dark mode' setting in the Rendering tool.
102
+ * @description Explanation text for the 'Emulate automatic dark mode' setting in the Rendering panel.
103
103
  */
104
104
  emulatesAutoDarkMode: 'Enables automatic dark mode and sets `prefers-color-scheme` to `dark`.',
105
105
  /**
106
- * @description Explanation text for the 'Emulate CSS media type' setting in the Rendering tool.
107
- * This setting overrides the CSS media type on the page:
108
- * https://developer.mozilla.org/en-US/docs/Web/CSS/@media#media_types
106
+ * @description Explanation text for the 'Emulate CSS media type' setting in the Rendering panel.
107
+ * This setting overrides the CSS media type on the page (https://developer.mozilla.org/en-US/docs/Web/CSS/@media#media_types).
109
108
  */
110
- forcesMediaTypeForTestingPrint: 'Forces media type for testing print and screen styles',
109
+ forcesMediaTypeForTestingPrint: 'Forces media type for testing `print` and `screen` styles',
111
110
  /**
112
- * @description Explanation text for the 'Forces CSS prefers-color-scheme media' setting in the Rendering tool.
111
+ * @description Explanation text for the 'Forces CSS prefers-color-scheme media' setting in the Rendering panel.
113
112
  */
114
113
  forcesCssPreferscolorschemeMedia: 'Forces CSS `prefers-color-scheme` media feature',
115
114
  /**
116
- * @description Explanation text for the 'Forces CSS prefers-reduced-motion media' setting in the Rendering tool.
115
+ * @description Explanation text for the 'Forces CSS prefers-reduced-motion media' setting in the Rendering panel.
117
116
  */
118
117
  forcesCssPrefersreducedmotion: 'Forces CSS `prefers-reduced-motion` media feature',
119
118
  /**
120
- * @description Explanation text for the 'Forces CSS prefers-contrast media' setting in the Rendering tool.
119
+ * @description Explanation text for the 'Forces CSS prefers-contrast media' setting in the Rendering panel.
121
120
  */
122
121
  forcesCssPreferscontrastMedia: 'Forces CSS `prefers-contrast` media feature',
123
122
  /**
124
- * @description Explanation text for the 'Forces CSS prefers-reduced-data media' setting in the Rendering tool.
123
+ * @description Explanation text for the 'Forces CSS prefers-reduced-data media' setting in the Rendering panel.
125
124
  */
126
125
  forcesCssPrefersreduceddataMedia: 'Forces CSS `prefers-reduced-data` media feature',
127
126
  /**
128
- * @description Explanation text for the 'Forces CSS prefers-reduced-transparency media' setting in the Rendering tool.
127
+ * @description Explanation text for the 'Forces CSS prefers-reduced-transparency media' setting in the Rendering panel.
129
128
  */
130
129
  forcesCssPrefersreducedtransparencyMedia: 'Forces CSS `prefers-reduced-transparency` media feature',
131
130
  /**
132
- * @description Explanation text for the 'Forces CSS color-gamut media' setting in the Rendering tool.
131
+ * @description Explanation text for the 'Forces CSS color-gamut media' setting in the Rendering panel.
133
132
  */
134
133
  forcesCssColorgamutMediaFeature: 'Forces CSS `color-gamut` media feature',
135
134
  /**
136
- * @description Explanation text for the 'Emulate vision deficiencies' setting in the Rendering tool.
135
+ * @description Explanation text for the 'Emulate vision deficiencies' setting in the Rendering panel.
137
136
  */
138
137
  forcesVisionDeficiencyEmulation: 'Forces vision deficiency emulation',
139
138
  /**
140
- * @description Explanation text for the 'Emulate OS text scale' setting in the Rendering tool.
139
+ * @description Explanation text for the 'Emulate OS text scale' setting in the Rendering panel.
141
140
  */
142
141
  forcesOsTextScaleEmulation: 'Forces OS text scale emulation',
143
142
  /**
144
- * @description The name of a checkbox setting in the Rendering tool. This setting disables the
143
+ * @description The name of a checkbox setting in the Rendering panel. This setting disables the
145
144
  * page from loading images with the AVIF format.
146
145
  */
147
146
  disableAvifImageFormat: 'Disable `AVIF` image format',
148
147
  /**
149
- * @description Explanation text for the image format disabling settings in the Rendering tool.
148
+ * @description Explanation text for the image format disabling settings in the Rendering panel.
150
149
  */
151
150
  requiresAPageReloadToApplyAnd: 'Requires a page reload to apply and disables caching for image requests.',
152
151
  /**
153
- * @description The name of a checkbox setting in the Rendering tool. This setting disables the
152
+ * @description The name of a checkbox setting in the Rendering panel. This setting disables the
154
153
  * page from loading images with the JPEG XL format.
155
154
  */
156
155
  disableJpegXlImageFormat: 'Disable `JPEG XL` image format',
157
156
  /**
158
- * @description The name of a checkbox setting in the Rendering tool. This setting disables the
157
+ * @description The name of a checkbox setting in the Rendering panel. This setting disables the
159
158
  * page from loading images with the WebP format.
160
159
  */
161
160
  disableWebpImageFormat: 'Disable `WebP` image format',
162
161
  /**
163
- * @description Explanation text for the 'Forces CSS forced-colors' setting in the Rendering tool.
162
+ * @description Explanation text for the 'Forces CSS forced-colors' setting in the Rendering panel.
164
163
  */
165
- forcesCssForcedColors: 'Forces CSS forced-colors media feature',
164
+ forcesCssForcedColors: 'Forces CSS `forced-colors` media feature',
166
165
  } as const;
167
166
  const str_ = i18n.i18n.registerUIStrings('entrypoints/inspector_main/RenderingOptions.ts', UIStrings);
168
167
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
@@ -10,53 +10,52 @@ import type * as InspectorMain from './inspector_main.js';
10
10
 
11
11
  const UIStrings = {
12
12
  /**
13
- * @description Title of the Rendering tool. The rendering tool is a collection of settings that
13
+ * @description Title of the Rendering panel. The Rendering panel is a collection of settings that
14
14
  * lets the user debug the rendering (i.e. how the website is drawn onto the screen) of the
15
- * website.
16
- * https://developer.chrome.com/docs/devtools/evaluate-performance/reference#rendering
15
+ * website (https://developer.chrome.com/docs/devtools/evaluate-performance/reference#rendering).
17
16
  */
18
17
  rendering: 'Rendering',
19
18
  /**
20
- * @description Command for showing the 'Rendering' tool
19
+ * @description Command for showing the Rendering panel.
21
20
  */
22
21
  showRendering: 'Show Rendering',
23
22
  /**
24
- * @description Command Menu search query that points to the Rendering tool. This refers to the
23
+ * @description Command Menu search query that points to the Rendering panel. This refers to the
25
24
  * process of drawing pixels onto the screen (called painting).
26
25
  */
27
26
  paint: 'paint',
28
27
  /**
29
- * @description Command Menu search query that points to the Rendering tool. Layout is a phase of
28
+ * @description Command Menu search query that points to the Rendering panel. Layout is a phase of
30
29
  * rendering a website where the browser calculates where different elements in the website will go
31
30
  * on the screen.
32
31
  */
33
32
  layout: 'layout',
34
33
  /**
35
- * @description Command Menu search query that points to the Rendering tool. 'fps' is an acronym
34
+ * @description Command Menu search query that points to the Rendering panel. 'fps' is an acronym
36
35
  * for 'Frames per second'. It is in lowercase here because the search box the user will type this
37
36
  * into is case-insensitive. If there is an equivalent acronym/shortening in the target language
38
37
  * then a translation would be appropriate, otherwise it can be left in English.
39
38
  */
40
39
  fps: 'fps',
41
40
  /**
42
- * @description Command Menu search query that points to the Rendering tool.
43
- * https://developer.mozilla.org/en-US/docs/Web/CSS/@media#media_types. This is something the user
41
+ * @description Command Menu search query that points to the Rendering panel
42
+ * (https://developer.mozilla.org/en-US/docs/Web/CSS/@media#media_types). This is something the user
44
43
  * might type in to search for the setting to change the CSS media type.
45
44
  */
46
45
  cssMediaType: 'CSS media type',
47
46
  /**
48
- * @description Command Menu search query that points to the Rendering tool.
49
- * https://developer.mozilla.org/en-US/docs/Web/CSS/@media#media_features This is something the
47
+ * @description Command Menu search query that points to the Rendering panel
48
+ * (https://developer.mozilla.org/en-US/docs/Web/CSS/@media#media_features). This is something the
50
49
  * user might type in to search for the setting to change the value of various CSS media features.
51
50
  */
52
51
  cssMediaFeature: 'CSS media feature',
53
52
  /**
54
- * @description Command Menu search query that points to the Rendering tool. Possible search term
53
+ * @description Command Menu search query that points to the Rendering panel. Possible search term
55
54
  * when the user wants to find settings related to visual impairment e.g. blurry vision, blindness.
56
55
  */
57
56
  visionDeficiency: 'vision deficiency',
58
57
  /**
59
- * @description Command Menu search query that points to the Rendering tool. Possible search term
58
+ * @description Command Menu search query that points to the Rendering panel. Possible search term
60
59
  * when the user wants to find settings related to color vision deficiency/color blindness.
61
60
  */
62
61
  colorVisionDeficiency: 'color vision deficiency',
@@ -65,7 +64,7 @@ const UIStrings = {
65
64
  */
66
65
  reloadPage: 'Reload page',
67
66
  /**
68
- * @description Title of an action that 'hard' reloads the inspected page. A hard reload also
67
+ * @description Title of an action that hard reloads the inspected page. A hard reload also
69
68
  * clears the browser's cache, forcing it to reload the most recent version of the page.
70
69
  */
71
70
  hardReloadPage: 'Hard reload page',
@@ -93,17 +92,9 @@ const UIStrings = {
93
92
  */
94
93
  doNotAutoOpen: 'Do not auto-open DevTools for popups',
95
94
  /**
96
- * @description Title of a setting under the Appearance category in Settings. When the webpage is
97
- * paused by devtools, an overlay is shown on top of the page to indicate that it is paused. The
98
- * overlay is a pause/unpause button and some text, which appears on top of the paused page. This
99
- * setting turns off this overlay.
95
+ * @description Title of an action that toggles the "forces CSS prefers-color-scheme" media feature.
100
96
  */
101
- disablePaused: 'Disable paused state overlay',
102
- /**
103
- * @description Title of an action that toggle
104
- * "forces CSS prefers-color-scheme" color
105
- */
106
- toggleCssPrefersColorSchemeMedia: 'Toggle CSS media feature prefers-color-scheme',
97
+ toggleCssPrefersColorSchemeMedia: 'Toggle CSS media feature `prefers-color-scheme`',
107
98
  } as const;
108
99
  const str_ = i18n.i18n.registerUIStrings('entrypoints/inspector_main/inspector_main-meta.ts', UIStrings);
109
100
  const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
@@ -245,15 +236,6 @@ Common.Settings.registerSettingExtension({
245
236
  ],
246
237
  });
247
238
 
248
- Common.Settings.registerSettingExtension({
249
- category: Common.Settings.SettingCategory.APPEARANCE,
250
- storageType: Common.Settings.SettingStorageType.SYNCED,
251
- title: i18nLazyString(UIStrings.disablePaused),
252
- settingName: 'disable-paused-state-overlay',
253
- settingType: Common.Settings.SettingType.BOOLEAN,
254
- defaultValue: false,
255
- });
256
-
257
239
  UI.Toolbar.registerToolbarItem({
258
240
  async loadItem() {
259
241
  const InspectorMain = await loadInspectorMainModule();
@@ -18,15 +18,15 @@ import * as Main from '../main/main.js';
18
18
 
19
19
  const UIStrings = {
20
20
  /**
21
- * @description Text that refers to the main target.
21
+ * @description Name of the primary target connection when debugging Node.js.
22
22
  */
23
23
  main: 'Main',
24
24
  /**
25
- * @description Title of the 'Scripts' tool in the Network Navigator View, which is part of the Sources tool
25
+ * @description Title of the 'Scripts' tab in the navigation tree inside the Sources panel.
26
26
  */
27
27
  networkTitle: 'Scripts',
28
28
  /**
29
- * @description Command for showing the 'Scripts' tool in the Network Navigator View, which is part of the Sources tool
29
+ * @description Command in the command menu for showing the 'Scripts' tab in the navigation tree inside the Sources panel.
30
30
  */
31
31
  showNode: 'Show Scripts',
32
32
  } as const;
@@ -71,9 +71,10 @@ UI.ViewManager.registerViewExtension({
71
71
  commandPrompt: i18nLazyString(UIStrings.showNode),
72
72
  order: 2,
73
73
  persistence: UI.ViewManager.ViewPersistence.PERMANENT,
74
- async loadView() {
74
+ async loadView(universe) {
75
75
  const Sources = await loadSourcesModule();
76
- return Sources.SourcesNavigator.NetworkNavigatorView.instance();
76
+ return Sources.SourcesNavigator.NetworkNavigatorView.instance(
77
+ {forceNew: null, networkProjectManager: universe.networkProjectManager});
77
78
  },
78
79
  });
79
80
 
@@ -16,19 +16,19 @@ const {render, html, Directives: {classMap}} = Lit;
16
16
 
17
17
  const UIStrings = {
18
18
  /**
19
- * @description Button's string in promotion state.
19
+ * @description Text label for the AI assistance button in the main DevTools toolbar when expanded.
20
20
  */
21
21
  aiAssistance: 'AI assistance',
22
22
  /**
23
- * @description Button's tooltip text.
23
+ * @description Tooltip for the AI assistance button in the main DevTools toolbar.
24
24
  */
25
25
  openAiAssistance: 'Open AI assistance panel',
26
26
  /**
27
- * @description Button's string in promotion state.
27
+ * @description Text label for the Gemini button in the main DevTools toolbar when expanded.
28
28
  */
29
29
  gemini: 'Gemini',
30
30
  /**
31
- * @description Button's tooltip text.
31
+ * @description Tooltip for the Gemini button in the main DevTools toolbar.
32
32
  */
33
33
  openGemini: 'Open Gemini panel',
34
34
  } as const;
@@ -64,56 +64,56 @@ import {ExecutionContextSelector} from './ExecutionContextSelector.js';
64
64
 
65
65
  const UIStrings = {
66
66
  /**
67
- * @description Title of item in main
67
+ * @description Title of the menu item in the main toolbar to customize and control DevTools.
68
68
  */
69
69
  customizeAndControlDevtools: 'Customize and control DevTools',
70
70
  /**
71
- * @description Title element text content in Main
71
+ * @description Label for the dock side menu options in the customize and control menu.
72
72
  */
73
73
  dockSide: 'Dock side',
74
74
  /**
75
- * @description Title element title in Main
75
+ * @description Tooltip for the dock side menu options explaining how to restore the last dock position.
76
76
  * @example {Ctrl+Shift+D} PH1
77
77
  */
78
78
  placementOfDevtoolsRelativeToThe: 'Placement of DevTools relative to the page. ({PH1} to restore last position)',
79
79
  /**
80
- * @description Text to undock the DevTools
80
+ * @description Tooltip and label for the button to undock DevTools into a separate window.
81
81
  */
82
82
  undockIntoSeparateWindow: 'Undock into separate window',
83
83
  /**
84
- * @description Text to dock the DevTools to the bottom of the browser tab
84
+ * @description Tooltip and label for the button to dock DevTools to the bottom of the browser window.
85
85
  */
86
86
  dockToBottom: 'Dock to bottom',
87
87
  /**
88
- * @description Text to dock the DevTools to the right of the browser tab
88
+ * @description Tooltip and label for the button to dock DevTools to the right of the browser window.
89
89
  */
90
90
  dockToRight: 'Dock to right',
91
91
  /**
92
- * @description Text to dock the DevTools to the left of the browser tab
92
+ * @description Tooltip and label for the button to dock DevTools to the left of the browser window.
93
93
  */
94
94
  dockToLeft: 'Dock to left',
95
95
  /**
96
- * @description Text in Main
96
+ * @description Action item in the customize and control menu to focus the page being debugged.
97
97
  */
98
98
  focusDebuggee: 'Focus page',
99
99
  /**
100
- * @description Text in Main
100
+ * @description Action item in the customize and control menu to hide the Console drawer.
101
101
  */
102
- hideConsoleDrawer: 'Hide console drawer',
102
+ hideConsoleDrawer: 'Hide Console drawer',
103
103
  /**
104
- * @description Text in Main
104
+ * @description Action item in the customize and control menu to show the Console drawer.
105
105
  */
106
- showConsoleDrawer: 'Show console drawer',
106
+ showConsoleDrawer: 'Show Console drawer',
107
107
  /**
108
- * @description A context menu item in the Main
108
+ * @description Submenu item in the customize and control menu to open additional tools and panels.
109
109
  */
110
110
  moreTools: 'More tools',
111
111
  /**
112
- * @description Text for the viewing the help options
112
+ * @description Submenu item in the customize and control menu to view help and documentation options.
113
113
  */
114
114
  help: 'Help',
115
115
  /**
116
- * @description Text describing how to navigate the dock side menu
116
+ * @description Screen reader announcement explaining how to navigate the dock side options using arrow keys.
117
117
  */
118
118
  dockSideNavigation: 'Use left and right arrow keys to navigate the options',
119
119
  /**
@@ -121,7 +121,7 @@ const UIStrings = {
121
121
  */
122
122
  aiModelDownloaded: 'AI model downloaded',
123
123
  /**
124
- * @description A title of the menu item in the main menu leading to https://github.com/ChromeDevTools/chrome-devtools-mcp.
124
+ * @description Title of the menu item in the customize and control menu leading to the DevTools MCP repository.
125
125
  */
126
126
  getDevToolsMcp: 'Get `DevTools MCP`'
127
127
  } as const;
@@ -445,7 +445,8 @@ export class MainImpl {
445
445
  IssuesManager.IssuesManager.IssuesManager.instance({
446
446
  forceNew: true,
447
447
  ensureFirst: true,
448
- showThirdPartyIssuesSetting: IssuesManager.Issue.getShowThirdPartyIssuesSetting(),
448
+ showThirdPartyIssuesSetting:
449
+ IssuesManager.Issue.getShowThirdPartyIssuesSetting(Common.Settings.Settings.instance()),
449
450
  hideIssueSetting: IssuesManager.IssuesManager.getHideIssueByCodeSetting(),
450
451
  });
451
452
 
@@ -454,9 +455,6 @@ export class MainImpl {
454
455
  targetManager.addEventListener(
455
456
  SDK.TargetManager.Events.SUSPEND_STATE_CHANGED, this.#onSuspendStateChanged.bind(this));
456
457
 
457
- Workspace.FileManager.FileManager.instance({forceNew: true});
458
-
459
- Bindings.NetworkProject.NetworkProjectManager.instance();
460
458
  new Bindings.PresentationConsoleMessageHelper.PresentationConsoleMessageManager();
461
459
  targetManager.setScopeTarget(targetManager.primaryPageTarget());
462
460
  UI.Context.Context.instance().addFlavorChangeListener(SDK.Target.Target, ({data}) => {
@@ -466,8 +464,6 @@ export class MainImpl {
466
464
  // @ts-expect-error e2e test global
467
465
  self.Extensions.extensionServer = PanelCommon.ExtensionServer.ExtensionServer.instance({forceNew: true});
468
466
 
469
- new Persistence.FileSystemWorkspaceBinding.FileSystemWorkspaceBinding(
470
- isolatedFileSystemManager, Workspace.Workspace.WorkspaceImpl.instance());
471
467
  isolatedFileSystemManager.addPlatformFileSystem(
472
468
  'snippet://' as Platform.DevToolsPath.UrlString, new Snippets.ScriptSnippetFileSystem.SnippetFileSystem());
473
469
 
@@ -476,6 +472,8 @@ export class MainImpl {
476
472
 
477
473
  new ExecutionContextSelector(targetManager, UI.Context.Context.instance());
478
474
 
475
+ this.#universe.domDebuggerManager.initialize();
476
+ this.#universe.cpuThrottlingManager.initialize();
479
477
  void this.#universe.liveMetrics.enable();
480
478
  CrUXManager.CrUXManager.instance();
481
479