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
@@ -17,163 +17,163 @@ import type * as Main from './main.js';
17
17
 
18
18
  const UIStrings = {
19
19
  /**
20
- * @description Text in Main
20
+ * @description Action title to focus the page being debugged.
21
21
  */
22
22
  focusDebuggee: 'Focus page',
23
23
  /**
24
- * @description Text in the Shortcuts page in settings to explain a keyboard shortcut
24
+ * @description Action title and shortcut description to toggle the Console drawer.
25
25
  */
26
26
  toggleDrawer: 'Toggle drawer',
27
27
  /**
28
- * @description Title of an action that navigates to the next panel
28
+ * @description Title of an action that navigates to the next panel.
29
29
  */
30
30
  nextPanel: 'Next panel',
31
31
  /**
32
- * @description Title of an action that navigates to the previous panel
32
+ * @description Title of an action that navigates to the previous panel.
33
33
  */
34
34
  previousPanel: 'Previous panel',
35
35
  /**
36
- * @description Title of an action that reloads the DevTools
36
+ * @description Title of an action that reloads DevTools.
37
37
  */
38
38
  reloadDevtools: 'Reload DevTools',
39
39
  /**
40
- * @description Title of an action in the main tool to toggle dock
40
+ * @description Title of an action in the main toolbar to restore the last dock position.
41
41
  */
42
42
  restoreLastDockPosition: 'Restore last dock position',
43
43
  /**
44
- * @description Text in the Shortcuts page to explain a keyboard shortcut (zoom in)
44
+ * @description Shortcut description and action title to zoom in.
45
45
  */
46
46
  zoomIn: 'Zoom in',
47
47
  /**
48
- * @description Text in the Shortcuts page to explain a keyboard shortcut (zoom out)
48
+ * @description Shortcut description and action title to zoom out.
49
49
  */
50
50
  zoomOut: 'Zoom out',
51
51
  /**
52
- * @description Title of an action that reset the zoom level to its default
52
+ * @description Title of an action that resets the zoom level to default.
53
53
  */
54
54
  resetZoomLevel: 'Reset zoom level',
55
55
  /**
56
- * @description Title of an action to search in panel
56
+ * @description Title of an action to search within the current panel.
57
57
  */
58
58
  searchInPanel: 'Search in panel',
59
59
  /**
60
- * @description Title of an action that cancels the current search
60
+ * @description Title of an action that cancels the current search.
61
61
  */
62
62
  cancelSearch: 'Cancel search',
63
63
  /**
64
- * @description Title of an action that finds the next search result
64
+ * @description Title of an action that finds the next search result.
65
65
  */
66
66
  findNextResult: 'Find next result',
67
67
  /**
68
- * @description Title of an action to find the previous search result
68
+ * @description Title of an action to find the previous search result.
69
69
  */
70
70
  findPreviousResult: 'Find previous result',
71
71
  /**
72
- * @description Title of a setting under the Appearance category in Settings
72
+ * @description Title of the theme setting under the Appearance category in Settings.
73
73
  */
74
74
  theme: 'Theme:',
75
75
  /**
76
- * @description Title of a setting under the Appearance category that can be invoked through the Command Menu
76
+ * @description Command menu option to switch to the browser's preferred color theme.
77
77
  */
78
- switchToBrowserPreferredTheme: 'Switch to browser\'s preferred theme',
78
+ switchToBrowserPreferredTheme: 'Switch to browsers preferred theme',
79
79
  /**
80
- * @description A drop-down menu option to switch to the same (light or dark) theme as the browser
80
+ * @description Drop-down menu option to match the browser's color theme.
81
81
  */
82
82
  autoTheme: 'Auto',
83
83
  /**
84
- * @description Title of a setting under the Appearance category that can be invoked through the Command Menu
84
+ * @description Command menu option to switch to the light color theme.
85
85
  */
86
86
  switchToLightTheme: 'Switch to light theme',
87
87
  /**
88
- * @description A drop-down menu option to switch to light theme
88
+ * @description Drop-down menu option to select the light color theme.
89
89
  */
90
90
  lightCapital: 'Light',
91
91
  /**
92
- * @description Title of a setting under the Appearance category that can be invoked through the Command Menu
92
+ * @description Command menu option to switch to the dark color theme.
93
93
  */
94
94
  switchToDarkTheme: 'Switch to dark theme',
95
95
  /**
96
- * @description A drop-down menu option to switch to dark theme
96
+ * @description Drop-down menu option to select the dark color theme.
97
97
  */
98
98
  darkCapital: 'Dark',
99
99
  /**
100
- * @description A tag of theme preference settings that can be searched in the command menu
100
+ * @description Tag for theme preference settings when searched in the command menu.
101
101
  */
102
102
  darkLower: 'dark',
103
103
  /**
104
- * @description A tag of theme preference settings that can be searched in the command menu
104
+ * @description Tag for theme preference settings when searched in the command menu.
105
105
  */
106
106
  lightLower: 'light',
107
107
  /**
108
- * @description Title of a setting under the Appearance category in Settings
108
+ * @description Title of the panel layout setting under the Appearance category in Settings.
109
109
  */
110
110
  panelLayout: 'Panel layout:',
111
111
  /**
112
- * @description Title of a setting under the Appearance category that can be invoked through the Command Menu
112
+ * @description Command menu option to use a horizontal panel layout.
113
113
  */
114
114
  useHorizontalPanelLayout: 'Use horizontal panel layout',
115
115
  /**
116
- * @description A drop-down menu option to use horizontal panel layout
116
+ * @description Drop-down menu option for horizontal panel layout.
117
117
  */
118
118
  horizontal: 'horizontal',
119
119
  /**
120
- * @description Title of a setting under the Appearance category that can be invoked through the Command Menu
120
+ * @description Command menu option to use a vertical panel layout.
121
121
  */
122
122
  useVerticalPanelLayout: 'Use vertical panel layout',
123
123
  /**
124
- * @description A drop-down menu option to use vertical panel layout
124
+ * @description Drop-down menu option for vertical panel layout.
125
125
  */
126
126
  vertical: 'vertical',
127
127
  /**
128
- * @description Title of a setting under the Appearance category that can be invoked through the Command Menu
128
+ * @description Command menu option to use automatic panel layout.
129
129
  */
130
130
  useAutomaticPanelLayout: 'Use automatic panel layout',
131
131
  /**
132
- * @description Text short for automatic
132
+ * @description Drop-down menu option for automatic panel layout.
133
133
  */
134
134
  auto: 'auto',
135
135
  /**
136
- * @description Title of a setting under the Appearance category in Settings
136
+ * @description Checkbox label for the setting to use Ctrl plus number keys to switch panels.
137
137
  */
138
138
  enableCtrlShortcutToSwitchPanels: 'Use Ctrl + 1-9 to switch panels',
139
139
  /**
140
- * @description (Mac only) Title of a setting under the Appearance category in Settings
140
+ * @description Checkbox label for the setting to use Command plus number keys to switch panels on Mac.
141
141
  */
142
142
  enableShortcutToSwitchPanels: 'Use ⌘ + 1-9 to switch panels',
143
143
  /**
144
- * @description A drop-down menu option to dock to right
144
+ * @description Drop-down menu option to dock DevTools to the right.
145
145
  */
146
146
  right: 'Right',
147
147
  /**
148
- * @description Text to dock the DevTools to the right of the browser tab
148
+ * @description Title of the action and setting option to dock DevTools to the right of the browser window.
149
149
  */
150
150
  dockToRight: 'Dock to right',
151
151
  /**
152
- * @description A drop-down menu option to dock to bottom
152
+ * @description Drop-down menu option to dock DevTools to the bottom.
153
153
  */
154
154
  bottom: 'Bottom',
155
155
  /**
156
- * @description Text to dock the DevTools to the bottom of the browser tab
156
+ * @description Title of the action and setting option to dock DevTools to the bottom of the browser window.
157
157
  */
158
158
  dockToBottom: 'Dock to bottom',
159
159
  /**
160
- * @description A drop-down menu option to dock to left
160
+ * @description Drop-down menu option to dock DevTools to the left.
161
161
  */
162
162
  left: 'Left',
163
163
  /**
164
- * @description Text to dock the DevTools to the left of the browser tab
164
+ * @description Title of the action and setting option to dock DevTools to the left of the browser window.
165
165
  */
166
166
  dockToLeft: 'Dock to left',
167
167
  /**
168
- * @description A drop-down menu option to undock into separate window
168
+ * @description Drop-down menu option for undocked DevTools in a separate window.
169
169
  */
170
170
  undocked: 'Undocked',
171
171
  /**
172
- * @description Text to undock the DevTools
172
+ * @description Title of the action and setting option to undock DevTools into a separate window.
173
173
  */
174
174
  undockIntoSeparateWindow: 'Undock into separate window',
175
175
  /**
176
- * @description Name of the default set of DevTools keyboard shortcuts
176
+ * @description Option label for the default set of DevTools keyboard shortcuts.
177
177
  */
178
178
  devtoolsDefault: 'DevTools (Default)',
179
179
  /**
@@ -228,7 +228,7 @@ const UIStrings = {
228
228
  /**
229
229
  * @description Command to turn the browser color scheme matching off through the command menu.
230
230
  */
231
- dontMatchChromeColorSchemeCommand: 'Don\'t match Chrome color scheme',
231
+ dontMatchChromeColorSchemeCommand: 'Dont match Chrome color scheme',
232
232
  /**
233
233
  * @description Command to toggle the drawer orientation.
234
234
  */
@@ -81,9 +81,10 @@ UI.ViewManager.registerViewExtension({
81
81
  commandPrompt: i18nLazyString(UIStrings.showNode),
82
82
  order: 2,
83
83
  persistence: UI.ViewManager.ViewPersistence.PERMANENT,
84
- async loadView() {
84
+ async loadView(universe) {
85
85
  const Sources = await loadSourcesModule();
86
- return Sources.SourcesNavigator.NetworkNavigatorView.instance();
86
+ return Sources.SourcesNavigator.NetworkNavigatorView.instance(
87
+ {forceNew: null, networkProjectManager: universe.networkProjectManager});
87
88
  },
88
89
  });
89
90
 
@@ -10,7 +10,7 @@ import * as Components from '../../ui/legacy/components/utils/utils.js';
10
10
 
11
11
  const UIStrings = {
12
12
  /**
13
- * @description Text that refers to the main target.
13
+ * @description Name of the primary target connection when debugging a service worker or dedicated worker.
14
14
  */
15
15
  main: 'Main',
16
16
  } as const;
@@ -3,7 +3,7 @@
3
3
  // found in the LICENSE file.
4
4
 
5
5
  import * as Common from '../core/common/common.js';
6
- import type * as Host from '../core/host/host.js';
6
+ import * as Host from '../core/host/host.js';
7
7
  import * as Root from '../core/root/root.js';
8
8
  import * as SDK from '../core/sdk/sdk.js';
9
9
  import * as AutofillManager from '../models/autofill_manager/autofill_manager.js';
@@ -34,6 +34,7 @@ export class Universe {
34
34
  readonly context: Root.DevToolsContext.DevToolsContext;
35
35
  readonly autofillManager: AutofillManager.AutofillManager.AutofillManager;
36
36
  readonly supportsEmulation: boolean;
37
+ readonly fileSystemWorkspaceBinding: Persistence.FileSystemWorkspaceBinding.FileSystemWorkspaceBinding;
37
38
 
38
39
  constructor(options: CreationOptions) {
39
40
  const context = new Root.DevToolsContext.WritableDevToolsContext();
@@ -42,6 +43,12 @@ export class Universe {
42
43
  const console = new Common.Console.Console();
43
44
  context.set(Common.Console.Console, console);
44
45
 
46
+ const hostConfigTracker = new Host.AidaClient.HostConfigTracker();
47
+ context.set(Host.AidaClient.HostConfigTracker, hostConfigTracker);
48
+
49
+ const gdpClient = new Host.GdpClient.GdpClient();
50
+ context.set(Host.GdpClient.GdpClient, gdpClient);
51
+
45
52
  // TODO(crbug.com/458180550): Store instance only on this.context instead.
46
53
  // For now the global is required as not everything in foundation cleanly
47
54
  // reads from the scoped `Settings` instance.
@@ -52,6 +59,9 @@ export class Universe {
52
59
  });
53
60
  context.set(Common.Settings.Settings, settings);
54
61
 
62
+ const emulatedDevicesList = new Emulation.EmulatedDevices.EmulatedDevicesList(settings);
63
+ context.set(Emulation.EmulatedDevices.EmulatedDevicesList, emulatedDevicesList);
64
+
55
65
  const isolatedFileSystemManager =
56
66
  new Persistence.IsolatedFileSystemManager.IsolatedFileSystemManager(settings, console);
57
67
  context.set(Persistence.IsolatedFileSystemManager.IsolatedFileSystemManager, isolatedFileSystemManager);
@@ -108,6 +118,9 @@ export class Universe {
108
118
  const workspace = new Workspace.Workspace.WorkspaceImpl();
109
119
  context.set(Workspace.Workspace.WorkspaceImpl, workspace);
110
120
 
121
+ const fileManager = new Workspace.FileManager.FileManager();
122
+ context.set(Workspace.FileManager.FileManager, fileManager);
123
+
111
124
  const automaticFileSystemWorkspaceBinding =
112
125
  new Persistence.AutomaticFileSystemWorkspaceBinding.AutomaticFileSystemWorkspaceBinding(
113
126
  automaticFileSystemManager,
@@ -119,6 +132,9 @@ export class Universe {
119
132
  automaticFileSystemWorkspaceBinding,
120
133
  );
121
134
 
135
+ this.fileSystemWorkspaceBinding =
136
+ new Persistence.FileSystemWorkspaceBinding.FileSystemWorkspaceBinding(isolatedFileSystemManager, workspace);
137
+
122
138
  const ignoreListManager = new Workspace.IgnoreListManager.IgnoreListManager(settings, targetManager);
123
139
  context.set(Workspace.IgnoreListManager.IgnoreListManager, ignoreListManager);
124
140
 
@@ -130,6 +146,9 @@ export class Universe {
130
146
  resourceMapping, targetManager, ignoreListManager, workspace);
131
147
  context.set(Bindings.DebuggerWorkspaceBinding.DebuggerWorkspaceBinding, debuggerWorkspaceBinding);
132
148
 
149
+ const networkProjectManager = new Bindings.NetworkProject.NetworkProjectManager();
150
+ context.set(Bindings.NetworkProject.NetworkProjectManager, networkProjectManager);
151
+
133
152
  const breakpointManager = new Breakpoints.BreakpointManager.BreakpointManager(targetManager, workspace,
134
153
  debuggerWorkspaceBinding, settings);
135
154
  context.set(Breakpoints.BreakpointManager.BreakpointManager, breakpointManager);
@@ -203,10 +222,26 @@ export class Universe {
203
222
  return this.context.get(SDK.DOMModel.DOMModelUndoStack);
204
223
  }
205
224
 
225
+ get emulatedDevicesList(): Emulation.EmulatedDevices.EmulatedDevicesList {
226
+ return this.context.get(Emulation.EmulatedDevices.EmulatedDevicesList);
227
+ }
228
+
206
229
  get eventBreakpointsManager(): SDK.EventBreakpointsModel.EventBreakpointsManager {
207
230
  return this.context.get(SDK.EventBreakpointsModel.EventBreakpointsManager);
208
231
  }
209
232
 
233
+ get fileManager(): Workspace.FileManager.FileManager {
234
+ return this.context.get(Workspace.FileManager.FileManager);
235
+ }
236
+
237
+ get gdpClient(): Host.GdpClient.GdpClient {
238
+ return this.context.get(Host.GdpClient.GdpClient);
239
+ }
240
+
241
+ get hostConfigTracker(): Host.AidaClient.HostConfigTracker {
242
+ return this.context.get(Host.AidaClient.HostConfigTracker);
243
+ }
244
+
210
245
  get isolatedFileSystemManager(): Persistence.IsolatedFileSystemManager.IsolatedFileSystemManager {
211
246
  return this.context.get(Persistence.IsolatedFileSystemManager.IsolatedFileSystemManager);
212
247
  }
@@ -219,10 +254,18 @@ export class Universe {
219
254
  return this.context.get(Persistence.NetworkPersistenceManager.NetworkPersistenceManager);
220
255
  }
221
256
 
257
+ get networkProjectManager(): Bindings.NetworkProject.NetworkProjectManager {
258
+ return this.context.get(Bindings.NetworkProject.NetworkProjectManager);
259
+ }
260
+
222
261
  get liveMetrics(): LiveMetrics.LiveMetrics {
223
262
  return this.context.get(LiveMetrics.LiveMetrics);
224
263
  }
225
264
 
265
+ get frameManager(): SDK.FrameManager.FrameManager {
266
+ return this.context.get(SDK.FrameManager.FrameManager);
267
+ }
268
+
226
269
  get pageResourceLoader(): SDK.PageResourceLoader.PageResourceLoader {
227
270
  return this.context.get(SDK.PageResourceLoader.PageResourceLoader);
228
271
  }
@@ -819,8 +819,8 @@ inspectorBackend.registerEnum("Network.ContentSecurityPolicySource", {HTTP: "HTT
819
819
  inspectorBackend.registerEnum("Network.ReportStatus", {Queued: "Queued", Pending: "Pending", MarkedForRemoval: "MarkedForRemoval", Success: "Success"});
820
820
  inspectorBackend.registerEnum("Network.DeviceBoundSessionWithUsageUsage", {NotInScope: "NotInScope", InScopeRefreshNotYetNeeded: "InScopeRefreshNotYetNeeded", InScopeRefreshNotAllowed: "InScopeRefreshNotAllowed", ProactiveRefreshNotPossible: "ProactiveRefreshNotPossible", ProactiveRefreshAttempted: "ProactiveRefreshAttempted", Deferred: "Deferred"});
821
821
  inspectorBackend.registerEnum("Network.DeviceBoundSessionUrlRuleRuleType", {Exclude: "Exclude", Include: "Include"});
822
- inspectorBackend.registerEnum("Network.DeviceBoundSessionFetchResult", {Success: "Success", SigningKeyGenerationError: "SigningKeyGenerationError", AttestationKeyGenerationError: "AttestationKeyGenerationError", SigningError: "SigningError", TransientSigningError: "TransientSigningError", ServerRequestedTermination: "ServerRequestedTermination", InvalidSessionId: "InvalidSessionId", InvalidChallenge: "InvalidChallenge", TooManyChallenges: "TooManyChallenges", InvalidFetcherUrl: "InvalidFetcherUrl", InvalidRefreshUrl: "InvalidRefreshUrl", TransientHttpError: "TransientHttpError", ScopeOriginSameSiteMismatch: "ScopeOriginSameSiteMismatch", RefreshUrlSameSiteMismatch: "RefreshUrlSameSiteMismatch", MismatchedSessionId: "MismatchedSessionId", MissingScope: "MissingScope", NoCredentials: "NoCredentials", SubdomainRegistrationWellKnownUnavailable: "SubdomainRegistrationWellKnownUnavailable", SubdomainRegistrationUnauthorized: "SubdomainRegistrationUnauthorized", SubdomainRegistrationWellKnownMalformed: "SubdomainRegistrationWellKnownMalformed", SessionProviderWellKnownUnavailable: "SessionProviderWellKnownUnavailable", RelyingPartyWellKnownUnavailable: "RelyingPartyWellKnownUnavailable", FederatedKeyThumbprintMismatch: "FederatedKeyThumbprintMismatch", InvalidFederatedSessionUrl: "InvalidFederatedSessionUrl", InvalidFederatedKey: "InvalidFederatedKey", TooManyRelyingOriginLabels: "TooManyRelyingOriginLabels", BoundCookieSetForbidden: "BoundCookieSetForbidden", NetError: "NetError", ProxyError: "ProxyError", EmptySessionConfig: "EmptySessionConfig", InvalidCredentialsConfig: "InvalidCredentialsConfig", InvalidCredentialsType: "InvalidCredentialsType", InvalidCredentialsEmptyName: "InvalidCredentialsEmptyName", InvalidCredentialsCookie: "InvalidCredentialsCookie", PersistentHttpError: "PersistentHttpError", RegistrationAttemptedChallenge: "RegistrationAttemptedChallenge", InvalidScopeOrigin: "InvalidScopeOrigin", ScopeOriginContainsPath: "ScopeOriginContainsPath", RefreshInitiatorNotString: "RefreshInitiatorNotString", RefreshInitiatorInvalidHostPattern: "RefreshInitiatorInvalidHostPattern", InvalidScopeSpecification: "InvalidScopeSpecification", MissingScopeSpecificationType: "MissingScopeSpecificationType", EmptyScopeSpecificationDomain: "EmptyScopeSpecificationDomain", EmptyScopeSpecificationPath: "EmptyScopeSpecificationPath", InvalidScopeSpecificationType: "InvalidScopeSpecificationType", InvalidScopeIncludeSite: "InvalidScopeIncludeSite", MissingScopeIncludeSite: "MissingScopeIncludeSite", FederatedNotAuthorizedByProvider: "FederatedNotAuthorizedByProvider", FederatedNotAuthorizedByRelyingParty: "FederatedNotAuthorizedByRelyingParty", SessionProviderWellKnownMalformed: "SessionProviderWellKnownMalformed", SessionProviderWellKnownHasProviderOrigin: "SessionProviderWellKnownHasProviderOrigin", RelyingPartyWellKnownMalformed: "RelyingPartyWellKnownMalformed", RelyingPartyWellKnownHasRelyingOrigins: "RelyingPartyWellKnownHasRelyingOrigins", InvalidFederatedSessionProviderSessionMissing: "InvalidFederatedSessionProviderSessionMissing", InvalidFederatedSessionWrongProviderOrigin: "InvalidFederatedSessionWrongProviderOrigin", InvalidCredentialsCookieCreationTime: "InvalidCredentialsCookieCreationTime", InvalidCredentialsCookieName: "InvalidCredentialsCookieName", InvalidCredentialsCookieParsing: "InvalidCredentialsCookieParsing", InvalidCredentialsCookieUnpermittedAttribute: "InvalidCredentialsCookieUnpermittedAttribute", InvalidCredentialsCookieInvalidDomain: "InvalidCredentialsCookieInvalidDomain", InvalidCredentialsCookiePrefix: "InvalidCredentialsCookiePrefix", InvalidScopeRulePath: "InvalidScopeRulePath", InvalidScopeRuleHostPattern: "InvalidScopeRuleHostPattern", ScopeRuleOriginScopedHostPatternMismatch: "ScopeRuleOriginScopedHostPatternMismatch", ScopeRuleSiteScopedHostPatternMismatch: "ScopeRuleSiteScopedHostPatternMismatch", SigningQuotaExceeded: "SigningQuotaExceeded", InvalidConfigJson: "InvalidConfigJson", InvalidFederatedSessionProviderFailedToRestoreKey: "InvalidFederatedSessionProviderFailedToRestoreKey", FailedToUnwrapKey: "FailedToUnwrapKey", SessionDeletedDuringRefresh: "SessionDeletedDuringRefresh", CrossOriginRegistrationSiteNotIncluded: "CrossOriginRegistrationSiteNotIncluded"});
823
- inspectorBackend.registerEnum("Network.RefreshEventDetailsRefreshResult", {Refreshed: "Refreshed", InitializedService: "InitializedService", Unreachable: "Unreachable", ServerError: "ServerError", RefreshQuotaExceeded: "RefreshQuotaExceeded", FatalError: "FatalError", SigningQuotaExceeded: "SigningQuotaExceeded", RefreshedAsWaiter: "RefreshedAsWaiter", TransientSigningError: "TransientSigningError"});
822
+ inspectorBackend.registerEnum("Network.DeviceBoundSessionFetchResult", {Success: "Success", SigningKeyGenerationError: "SigningKeyGenerationError", AttestationKeyGenerationError: "AttestationKeyGenerationError", SigningError: "SigningError", TransientSigningError: "TransientSigningError", ServerRequestedTermination: "ServerRequestedTermination", InvalidSessionId: "InvalidSessionId", InvalidChallenge: "InvalidChallenge", TooManyChallenges: "TooManyChallenges", InvalidFetcherUrl: "InvalidFetcherUrl", InvalidRefreshUrl: "InvalidRefreshUrl", TransientHttpError: "TransientHttpError", ScopeOriginSameSiteMismatch: "ScopeOriginSameSiteMismatch", RefreshUrlSameSiteMismatch: "RefreshUrlSameSiteMismatch", MismatchedSessionId: "MismatchedSessionId", MissingScope: "MissingScope", NoCredentials: "NoCredentials", SubdomainRegistrationWellKnownUnavailable: "SubdomainRegistrationWellKnownUnavailable", SubdomainRegistrationUnauthorized: "SubdomainRegistrationUnauthorized", SubdomainRegistrationWellKnownMalformed: "SubdomainRegistrationWellKnownMalformed", SessionProviderWellKnownUnavailable: "SessionProviderWellKnownUnavailable", RelyingPartyWellKnownUnavailable: "RelyingPartyWellKnownUnavailable", FederatedKeyThumbprintMismatch: "FederatedKeyThumbprintMismatch", InvalidFederatedSessionUrl: "InvalidFederatedSessionUrl", InvalidFederatedKey: "InvalidFederatedKey", TooManyRelyingOriginLabels: "TooManyRelyingOriginLabels", BoundCookieSetForbidden: "BoundCookieSetForbidden", NetError: "NetError", ProxyError: "ProxyError", EmptySessionConfig: "EmptySessionConfig", InvalidCredentialsConfig: "InvalidCredentialsConfig", InvalidCredentialsType: "InvalidCredentialsType", InvalidCredentialsEmptyName: "InvalidCredentialsEmptyName", InvalidCredentialsCookie: "InvalidCredentialsCookie", PersistentHttpError: "PersistentHttpError", RegistrationAttemptedChallenge: "RegistrationAttemptedChallenge", InvalidScopeOrigin: "InvalidScopeOrigin", ScopeOriginContainsPath: "ScopeOriginContainsPath", RefreshInitiatorNotString: "RefreshInitiatorNotString", RefreshInitiatorInvalidHostPattern: "RefreshInitiatorInvalidHostPattern", InvalidScopeSpecification: "InvalidScopeSpecification", MissingScopeSpecificationType: "MissingScopeSpecificationType", EmptyScopeSpecificationDomain: "EmptyScopeSpecificationDomain", EmptyScopeSpecificationPath: "EmptyScopeSpecificationPath", InvalidScopeSpecificationType: "InvalidScopeSpecificationType", InvalidScopeIncludeSite: "InvalidScopeIncludeSite", MissingScopeIncludeSite: "MissingScopeIncludeSite", FederatedNotAuthorizedByProvider: "FederatedNotAuthorizedByProvider", FederatedNotAuthorizedByRelyingParty: "FederatedNotAuthorizedByRelyingParty", SessionProviderWellKnownMalformed: "SessionProviderWellKnownMalformed", SessionProviderWellKnownHasProviderOrigin: "SessionProviderWellKnownHasProviderOrigin", RelyingPartyWellKnownMalformed: "RelyingPartyWellKnownMalformed", RelyingPartyWellKnownHasRelyingOrigins: "RelyingPartyWellKnownHasRelyingOrigins", InvalidFederatedSessionProviderSessionMissing: "InvalidFederatedSessionProviderSessionMissing", InvalidFederatedSessionWrongProviderOrigin: "InvalidFederatedSessionWrongProviderOrigin", InvalidCredentialsCookieCreationTime: "InvalidCredentialsCookieCreationTime", InvalidCredentialsCookieName: "InvalidCredentialsCookieName", InvalidCredentialsCookieParsing: "InvalidCredentialsCookieParsing", InvalidCredentialsCookieUnpermittedAttribute: "InvalidCredentialsCookieUnpermittedAttribute", InvalidCredentialsCookieInvalidDomain: "InvalidCredentialsCookieInvalidDomain", InvalidCredentialsCookiePrefix: "InvalidCredentialsCookiePrefix", InvalidScopeRulePath: "InvalidScopeRulePath", InvalidScopeRuleHostPattern: "InvalidScopeRuleHostPattern", ScopeRuleOriginScopedHostPatternMismatch: "ScopeRuleOriginScopedHostPatternMismatch", ScopeRuleSiteScopedHostPatternMismatch: "ScopeRuleSiteScopedHostPatternMismatch", SigningQuotaExceeded: "SigningQuotaExceeded", InvalidConfigJson: "InvalidConfigJson", InvalidFederatedSessionProviderFailedToRestoreKey: "InvalidFederatedSessionProviderFailedToRestoreKey", FailedToUnwrapKey: "FailedToUnwrapKey", SessionDeletedDuringRefresh: "SessionDeletedDuringRefresh", CrossOriginRegistrationSiteNotIncluded: "CrossOriginRegistrationSiteNotIncluded", InvalidPreProvisionedKeyInitiatorMissing: "InvalidPreProvisionedKeyInitiatorMissing", PreProvisionedKeyAccessNotGranted: "PreProvisionedKeyAccessNotGranted", PreProvisionedKeyNotFound: "PreProvisionedKeyNotFound"});
823
+ inspectorBackend.registerEnum("Network.RefreshEventDetailsRefreshResult", {Refreshed: "Refreshed", InitializedService: "InitializedService", Unreachable: "Unreachable", ServerError: "ServerError", FatalError: "FatalError", SigningQuotaExceeded: "SigningQuotaExceeded", RefreshedAsWaiter: "RefreshedAsWaiter", TransientSigningError: "TransientSigningError"});
824
824
  inspectorBackend.registerEnum("Network.TerminationEventDetailsDeletionReason", {Expired: "Expired", FailedToRestoreKey: "FailedToRestoreKey", FailedToUnwrapKey: "FailedToUnwrapKey", StoragePartitionCleared: "StoragePartitionCleared", ClearBrowsingData: "ClearBrowsingData", ServerRequested: "ServerRequested", InvalidSessionParams: "InvalidSessionParams", RefreshFatalError: "RefreshFatalError", DevTools: "DevTools"});
825
825
  inspectorBackend.registerEnum("Network.ChallengeEventDetailsChallengeResult", {Success: "Success", NoSessionId: "NoSessionId", NoSessionMatch: "NoSessionMatch", CantSetBoundCookie: "CantSetBoundCookie"});
826
826
  inspectorBackend.registerEvent("Network.dataReceived", ["requestId", "timestamp", "dataLength", "encodedDataLength", "data"]);
@@ -885,6 +885,7 @@ export const generatedProperties = [
885
885
  "widows",
886
886
  "width",
887
887
  "will-change",
888
+ "window-drag",
888
889
  "word-break",
889
890
  "word-spacing",
890
891
  "writing-mode",
@@ -1023,11 +1024,6 @@ export const generatedProperties = [
1023
1024
  "runtime_flag_status": "stable"
1024
1025
  },
1025
1026
  {
1026
- "keywords": [
1027
- "none",
1028
- "drag",
1029
- "no-drag"
1030
- ],
1031
1027
  "name": "app-region"
1032
1028
  },
1033
1029
  {
@@ -6061,6 +6057,17 @@ export const generatedProperties = [
6061
6057
  ],
6062
6058
  "name": "will-change"
6063
6059
  },
6060
+ {
6061
+ "inherited": true,
6062
+ "keywords": [
6063
+ "none",
6064
+ "move",
6065
+ "no-drag"
6066
+ ],
6067
+ "name": "window-drag",
6068
+ "runtime_flag": "CSSWindowDrag",
6069
+ "runtime_flag_status": "stable"
6070
+ },
6064
6071
  {
6065
6072
  "inherited": true,
6066
6073
  "keywords": [
@@ -6388,13 +6395,6 @@ export const generatedPropertyValues = {
6388
6395
  "none"
6389
6396
  ]
6390
6397
  },
6391
- "app-region": {
6392
- "values": [
6393
- "none",
6394
- "drag",
6395
- "no-drag"
6396
- ]
6397
- },
6398
6398
  "appearance": {
6399
6399
  "values": [
6400
6400
  "auto",
@@ -9174,6 +9174,13 @@ export const generatedPropertyValues = {
9174
9174
  "auto"
9175
9175
  ]
9176
9176
  },
9177
+ "window-drag": {
9178
+ "values": [
9179
+ "none",
9180
+ "move",
9181
+ "no-drag"
9182
+ ]
9183
+ },
9177
9184
  "word-break": {
9178
9185
  "values": [
9179
9186
  "normal",
@@ -12120,6 +12120,9 @@ export namespace Network {
12120
12120
  FailedToUnwrapKey = 'FailedToUnwrapKey',
12121
12121
  SessionDeletedDuringRefresh = 'SessionDeletedDuringRefresh',
12122
12122
  CrossOriginRegistrationSiteNotIncluded = 'CrossOriginRegistrationSiteNotIncluded',
12123
+ InvalidPreProvisionedKeyInitiatorMissing = 'InvalidPreProvisionedKeyInitiatorMissing',
12124
+ PreProvisionedKeyAccessNotGranted = 'PreProvisionedKeyAccessNotGranted',
12125
+ PreProvisionedKeyNotFound = 'PreProvisionedKeyNotFound',
12123
12126
  }
12124
12127
 
12125
12128
  /**
@@ -12171,7 +12174,6 @@ export namespace Network {
12171
12174
  InitializedService = 'InitializedService',
12172
12175
  Unreachable = 'Unreachable',
12173
12176
  ServerError = 'ServerError',
12174
- RefreshQuotaExceeded = 'RefreshQuotaExceeded',
12175
12177
  FatalError = 'FatalError',
12176
12178
  SigningQuotaExceeded = 'SigningQuotaExceeded',
12177
12179
  RefreshedAsWaiter = 'RefreshedAsWaiter',
@@ -68,7 +68,6 @@ export interface AiConversationOptions {
68
68
  isReadOnly?: boolean;
69
69
  aidaClient?: Host.AidaClient.AidaClient;
70
70
  changeManager?: ChangeManager;
71
- isExternal?: boolean;
72
71
  performanceRecordAndReload?: () => Promise<Trace.TraceModel.ParsedTrace>;
73
72
  onInspectElement?: () => Promise<SDK.DOMModel.DOMNode|null>;
74
73
  networkTimeCalculator?: NetworkTimeCalculator.NetworkTransferTimeCalculator;
@@ -88,7 +87,6 @@ export class AiConversation {
88
87
  data: history,
89
88
  id: serializedConversation.id,
90
89
  isReadOnly: true,
91
- isExternal: serializedConversation.isExternal,
92
90
  });
93
91
  }
94
92
 
@@ -100,7 +98,6 @@ export class AiConversation {
100
98
 
101
99
  #isReadOnly: boolean;
102
100
  readonly history: ResponseData[];
103
- #isExternal: boolean;
104
101
 
105
102
  #aidaClient: Host.AidaClient.AidaClient;
106
103
  #changeManager: ChangeManager|undefined;
@@ -122,7 +119,6 @@ export class AiConversation {
122
119
  isReadOnly = true,
123
120
  aidaClient = new Host.AidaClient.AidaClient(),
124
121
  changeManager,
125
- isExternal = false,
126
122
  performanceRecordAndReload,
127
123
  onInspectElement,
128
124
  networkTimeCalculator,
@@ -137,7 +133,6 @@ export class AiConversation {
137
133
 
138
134
  this.id = id;
139
135
  this.#isReadOnly = isReadOnly;
140
- this.#isExternal = isExternal;
141
136
  this.history = this.#reconstructHistory(data);
142
137
  // Needs to be last
143
138
  this.#updateAgent(type);
@@ -147,6 +142,18 @@ export class AiConversation {
147
142
  return this.#isReadOnly;
148
143
  }
149
144
 
145
+ static titleForSerialized(serialized: SerializedConversation): string|undefined {
146
+ const query = serialized.history.find(item => item.type === ResponseType.USER_QUERY)?.query;
147
+ if (!query) {
148
+ return undefined;
149
+ }
150
+ return AiConversation.title(query);
151
+ }
152
+
153
+ static title(query: string): string {
154
+ return `${query.substring(0, MAX_TITLE_LENGTH)}${query.length > MAX_TITLE_LENGTH ? '…' : ''}`;
155
+ }
156
+
150
157
  get title(): string|undefined {
151
158
  const query = this.history.find(response => response.type === ResponseType.USER_QUERY)?.query;
152
159
 
@@ -154,11 +161,7 @@ export class AiConversation {
154
161
  return;
155
162
  }
156
163
 
157
- if (this.#isExternal) {
158
- return `[External] ${query.substring(0, MAX_TITLE_LENGTH - 11)}${
159
- query.length > MAX_TITLE_LENGTH - 11 ? '…' : ''}`;
160
- }
161
- return `${query.substring(0, MAX_TITLE_LENGTH)}${query.length > MAX_TITLE_LENGTH ? '…' : ''}`;
164
+ return AiConversation.title(query);
162
165
  }
163
166
 
164
167
  get isEmpty(): boolean {
@@ -322,7 +325,6 @@ export class AiConversation {
322
325
  })
323
326
  .filter(history => !!history),
324
327
  type: this.#type,
325
- isExternal: this.#isExternal,
326
328
  };
327
329
  }
328
330
 
@@ -407,8 +409,8 @@ export class AiConversation {
407
409
  }
408
410
  };
409
411
  const targetManager = SDK.TargetManager.TargetManager.instance();
410
- targetManager.addModelListener(
411
- SDK.ResourceTreeModel.ResourceTreeModel, SDK.ResourceTreeModel.Events.PrimaryPageChanged, listener, this);
412
+ targetManager.addModelListener(SDK.ResourceTreeModel.ResourceTreeModel,
413
+ SDK.ResourceTreeModel.Events.PrimaryPageChanged, listener, this);
412
414
 
413
415
  try {
414
416
  if (this.isBlockedByOrigin) {
@@ -419,8 +421,8 @@ export class AiConversation {
419
421
 
420
422
  yield* this.#runAgent(initialQuery, options, {isInitialCall: true});
421
423
  } finally {
422
- targetManager.removeModelListener(
423
- SDK.ResourceTreeModel.ResourceTreeModel, SDK.ResourceTreeModel.Events.PrimaryPageChanged, listener, this);
424
+ targetManager.removeModelListener(SDK.ResourceTreeModel.ResourceTreeModel,
425
+ SDK.ResourceTreeModel.Events.PrimaryPageChanged, listener, this);
424
426
  }
425
427
  }
426
428
 
@@ -491,8 +493,8 @@ export class AiConversation {
491
493
  if (data.type === ResponseType.CONTEXT_CHANGE) {
492
494
  this.setContext(data.context);
493
495
  yield*
494
- this.#runAgent(
495
- this.#getQueryAfterSelection(initialQuery, data.description), options, {isInitialCall: false});
496
+ this.#runAgent(this.#getQueryAfterSelection(initialQuery, data.description), options,
497
+ {isInitialCall: false});
496
498
  return;
497
499
  }
498
500
  }