chrome-devtools-frontend 1.0.1664496 → 1.0.1665921

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 (407) hide show
  1. package/.agents/skills/devtools-testing-guidance/SKILL.md +48 -0
  2. package/.agents/skills/devtools-ux-writing-refactor/SKILL.md +3 -3
  3. package/.agents/skills/repro-flaky-tests/SKILL.md +2 -2
  4. package/.agents/skills/ui-eng-vision-local-lit-renderer/SKILL.md +7 -1
  5. package/.agents/skills/ui-eng-vision-widget-promoter/SKILL.md +2 -0
  6. package/.agents/skills/version-control/SKILL.md +4 -3
  7. package/docs/ui_engineering.md +89 -0
  8. package/eslint.config.mjs +9 -2
  9. package/front_end/Images/rollup.config.mjs +1 -1
  10. package/front_end/Tests.js +15 -16
  11. package/front_end/core/common/Gzip.ts +2 -2
  12. package/front_end/core/common/Settings.ts +4 -20
  13. package/front_end/core/common/Srcset.ts +1 -1
  14. package/front_end/core/common/VersionController.ts +1 -1
  15. package/front_end/core/host/AidaClient.ts +19 -4
  16. package/front_end/core/host/AidaGcaTranslation.ts +2 -2
  17. package/front_end/core/host/GcaClient.ts +2 -2
  18. package/front_end/core/host/GdpClient.ts +3 -3
  19. package/front_end/core/host/InspectorFrontendHostStub.ts +1 -1
  20. package/front_end/core/host/ResourceLoader.ts +15 -15
  21. package/front_end/core/protocol_client/DevToolsCDPConnection.ts +2 -2
  22. package/front_end/core/protocol_client/InspectorBackend.ts +1 -1
  23. package/front_end/core/root/Runtime.ts +0 -1
  24. package/front_end/core/sdk/CSSMatchedStyles.ts +78 -3
  25. package/front_end/core/sdk/CSSMetadata.ts +17 -12
  26. package/front_end/core/sdk/CSSProperty.ts +1 -1
  27. package/front_end/core/sdk/CSSPropertyParserMatchers.ts +2 -2
  28. package/front_end/core/sdk/CSSRule.ts +3 -3
  29. package/front_end/core/sdk/CSSStyleSheetHeader.ts +3 -3
  30. package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +1 -1
  31. package/front_end/core/sdk/Connections.ts +1 -1
  32. package/front_end/core/sdk/DebuggerModel.ts +13 -13
  33. package/front_end/core/sdk/NetworkManager.ts +19 -19
  34. package/front_end/core/sdk/NetworkRequest.ts +57 -57
  35. package/front_end/core/sdk/OverlayModel.ts +1 -1
  36. package/front_end/core/sdk/PageResourceLoader.ts +2 -2
  37. package/front_end/core/sdk/RehydratingConnection.ts +5 -5
  38. package/front_end/core/sdk/ScreenCaptureModel.ts +1 -1
  39. package/front_end/core/sdk/Script.ts +2 -2
  40. package/front_end/core/sdk/ServerTiming.ts +7 -7
  41. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +1 -1
  42. package/front_end/core/sdk/ServiceWorkerManager.ts +11 -11
  43. package/front_end/core/sdk/SourceMapScopeChainEntry.ts +2 -2
  44. package/front_end/core/sdk/SourceMapScopesInfo.ts +1 -1
  45. package/front_end/core/sdk/StorageKeyManager.ts +1 -1
  46. package/front_end/core/sdk/sdk-meta.ts +98 -98
  47. package/front_end/devtools_compatibility.js +15 -13
  48. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +4 -8
  49. package/front_end/entrypoints/main/MainImpl.ts +2 -3
  50. package/front_end/entrypoints/main/main-meta.ts +1 -16
  51. package/front_end/entrypoints/shell/shell.ts +1 -0
  52. package/front_end/entrypoints/trace_app/trace_app.ts +1 -0
  53. package/front_end/foundation/README.md +1 -1
  54. package/front_end/foundation/Universe.test.api.ts +73 -0
  55. package/front_end/foundation/Universe.ts +22 -0
  56. package/front_end/generated/InspectorBackendCommands.ts +2 -2
  57. package/front_end/generated/SupportedCSSProperties.js +1 -1
  58. package/front_end/generated/protocol.ts +19 -0
  59. package/front_end/models/ai_assistance/AiAgent2.ts +1 -1
  60. package/front_end/models/ai_assistance/AiConversation.ts +1 -1
  61. package/front_end/models/ai_assistance/BuiltInAi.ts +1 -1
  62. package/front_end/models/ai_assistance/ChangeManager.ts +0 -70
  63. package/front_end/models/ai_assistance/ExtensionScope.ts +2 -36
  64. package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +9 -9
  65. package/front_end/models/ai_assistance/agents/AiAgent.ts +10 -2
  66. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +4 -4
  67. package/front_end/models/ai_assistance/agents/ExecuteJavascript.ts +1 -1
  68. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +21 -21
  69. package/front_end/models/ai_assistance/agents/StorageAgent.ts +4 -4
  70. package/front_end/models/ai_assistance/agents/StylingAgent.ts +1 -1
  71. package/front_end/models/ai_assistance/ai_assistance.ts +0 -5
  72. package/front_end/models/ai_assistance/data_formatters/FileFormatter.ts +11 -4
  73. package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +8 -2
  74. package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +14 -11
  75. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +2 -2
  76. package/front_end/models/ai_assistance/performance/AICallTree.ts +2 -2
  77. package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +1 -1
  78. package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +9 -2
  79. package/front_end/models/ai_assistance/tools/GetStyles.ts +4 -4
  80. package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +2 -5
  81. package/front_end/models/ai_code_completion/AiCodeCompletion.ts +2 -2
  82. package/front_end/models/ai_code_generation/AiCodeGeneration.ts +2 -2
  83. package/front_end/models/badges/badges-meta.ts +27 -0
  84. package/front_end/models/bindings/CSSWorkspaceBinding.ts +4 -3
  85. package/front_end/models/bindings/ContentProviderBasedProject.ts +1 -1
  86. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +6 -7
  87. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +5 -4
  88. package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +72 -29
  89. package/front_end/models/bindings/ResourceMapping.ts +38 -32
  90. package/front_end/models/bindings/ResourceScriptMapping.ts +5 -7
  91. package/front_end/models/breakpoints/BreakpointManager.ts +2 -1
  92. package/front_end/models/har/Writer.ts +2 -2
  93. package/front_end/models/issues_manager/ElementAccessibilityIssue.ts +1 -1
  94. package/front_end/models/issues_manager/GenericIssue.ts +1 -1
  95. package/front_end/models/issues_manager/IssuesManager.ts +14 -5
  96. package/front_end/models/issues_manager/PartitioningBlobURLIssue.ts +1 -1
  97. package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +2 -2
  98. package/front_end/models/issues_manager/SourceFrameIssuesManager.ts +13 -2
  99. package/front_end/models/issues_manager/issues_manager.ts +0 -2
  100. package/front_end/models/live-metrics/LiveMetrics.ts +22 -5
  101. package/front_end/models/live-metrics/web-vitals-injected/rollup.config.mjs +1 -1
  102. package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +10 -4
  103. package/front_end/models/logs/logs-meta.ts +23 -16
  104. package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +2 -2
  105. package/front_end/models/persistence/IsolatedFileSystem.ts +1 -1
  106. package/front_end/models/persistence/IsolatedFileSystemManager.ts +1 -1
  107. package/front_end/models/source_map_scopes/NamesResolver.ts +104 -86
  108. package/front_end/models/source_map_scopes/ScopeChainModel.ts +6 -2
  109. package/front_end/models/stack_trace/StackTraceModel.ts +1 -1
  110. package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +1 -1
  111. package/front_end/models/trace/handlers/UserTimingsHandler.ts +17 -6
  112. package/front_end/models/trace/helpers/SamplesIntegrator.ts +1 -1
  113. package/front_end/models/trace/helpers/Timing.ts +1 -1
  114. package/front_end/models/trace/insights/Common.ts +1 -1
  115. package/front_end/models/trace/insights/DocumentLatency.ts +3 -3
  116. package/front_end/models/trace/insights/LCPDiscovery.ts +1 -1
  117. package/front_end/models/trace/insights/ModernHTTP.ts +1 -1
  118. package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +2 -2
  119. package/front_end/models/workspace_diff/WorkspaceDiff.ts +14 -9
  120. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +2 -15
  121. package/front_end/panels/ai_assistance/ai_assistance.ts +1 -2
  122. package/front_end/panels/ai_assistance/components/ChatInput.ts +23 -19
  123. package/front_end/panels/ai_assistance/components/ChatMessage.ts +9 -18
  124. package/front_end/panels/ai_assistance/components/ChatView.ts +2 -35
  125. package/front_end/panels/ai_assistance/components/DisabledWidget.ts +1 -1
  126. package/front_end/panels/ai_assistance/components/ExploreWidget.ts +4 -4
  127. package/front_end/panels/ai_assistance/components/ImageResize.ts +74 -0
  128. package/front_end/panels/ai_assistance/components/WalkthroughView.ts +2 -2
  129. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +28 -29
  130. package/front_end/panels/animation/AnimationTimeline.ts +3 -3
  131. package/front_end/panels/animation/animationTimeline.css +0 -2
  132. package/front_end/panels/application/AppManifestView.ts +1 -1
  133. package/front_end/panels/application/ApplicationPanelSidebar.ts +1 -1
  134. package/front_end/panels/application/CookieItemsView.ts +1 -1
  135. package/front_end/panels/application/CrashReportContextView.ts +3 -3
  136. package/front_end/panels/application/DeviceBoundSessionsModel.ts +1 -1
  137. package/front_end/panels/application/DeviceBoundSessionsTreeElement.ts +1 -1
  138. package/front_end/panels/application/DeviceBoundSessionsView.ts +1 -1
  139. package/front_end/panels/application/IndexedDBViews.ts +1 -1
  140. package/front_end/panels/application/KeyValueStorageItemsView.ts +1 -1
  141. package/front_end/panels/application/OriginTrialTreeView.ts +1 -1
  142. package/front_end/panels/application/ServiceWorkersView.ts +6 -6
  143. package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
  144. package/front_end/panels/application/StorageItemsToolbar.ts +3 -3
  145. package/front_end/panels/application/WebMCPView.ts +7 -5
  146. package/front_end/panels/application/components/AdsView.ts +21 -6
  147. package/front_end/panels/application/components/BackForwardCacheView.ts +2 -2
  148. package/front_end/panels/application/components/ProtocolHandlersView.ts +1 -1
  149. package/front_end/panels/application/components/StorageMetadataView.ts +1 -1
  150. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +2 -2
  151. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -1
  152. package/front_end/panels/application/preloading/components/PreloadingString.ts +3 -3
  153. package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +2 -1
  154. package/front_end/panels/autofill/AutofillView.ts +1 -1
  155. package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
  156. package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +2 -2
  157. package/front_end/panels/changes/ChangesSidebar.ts +2 -2
  158. package/front_end/panels/changes/ChangesView.ts +4 -5
  159. package/front_end/panels/changes/CombinedDiffView.ts +3 -3
  160. package/front_end/panels/changes/changes-meta.ts +2 -2
  161. package/front_end/panels/common/AiCodeCompletionTeaser.ts +1 -1
  162. package/front_end/panels/common/AiCodeGenerationTeaser.ts +3 -3
  163. package/front_end/panels/common/BadgeNotification.ts +8 -8
  164. package/front_end/panels/common/DOMLinkifier.ts +1 -1
  165. package/front_end/panels/common/GdpSignUpDialog.ts +2 -2
  166. package/front_end/panels/common/GeminiRebrandPromoDialog.ts +1 -1
  167. package/front_end/panels/common/aiCodeCompletionDisclaimer.css +0 -1
  168. package/front_end/panels/console/ConsoleInsightTeaser.ts +1 -1
  169. package/front_end/panels/console/ConsolePinPane.ts +3 -3
  170. package/front_end/panels/console/ConsolePrompt.ts +6 -4
  171. package/front_end/panels/console/ConsoleSidebar.ts +8 -10
  172. package/front_end/panels/console_counters/WarningErrorCounter.ts +10 -11
  173. package/front_end/panels/coverage/CoverageView.ts +2 -2
  174. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +3 -3
  175. package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +1 -1
  176. package/front_end/panels/developer_resources/DeveloperResourcesView.ts +1 -1
  177. package/front_end/panels/elements/CSSRuleValidator.ts +1 -1
  178. package/front_end/panels/elements/ComputedStyleWidget.ts +3 -2
  179. package/front_end/panels/elements/ElementsTreeElement.ts +3 -3
  180. package/front_end/panels/elements/EventListenersWidget.ts +1 -3
  181. package/front_end/panels/elements/LayoutPane.ts +23 -13
  182. package/front_end/panels/elements/StandaloneStylesContainer.ts +7 -7
  183. package/front_end/panels/elements/StylePropertiesSection.ts +33 -5
  184. package/front_end/panels/elements/StylePropertyTreeElement.ts +5 -5
  185. package/front_end/panels/elements/StylesAiCodeCompletionProvider.ts +6 -6
  186. package/front_end/panels/elements/StylesSidebarPane.ts +4 -3
  187. package/front_end/panels/elements/elements-meta.ts +18 -2
  188. package/front_end/panels/emulation/DeviceModeToolbar.ts +100 -40
  189. package/front_end/panels/emulation/DeviceModeView.ts +5 -4
  190. package/front_end/panels/emulation/MediaQueryInspector.ts +35 -19
  191. package/front_end/panels/event_listeners/EventListenersView.ts +4 -4
  192. package/front_end/panels/explain/components/ConsoleInsight.ts +8 -9
  193. package/front_end/panels/explain/explain-meta.ts +3 -3
  194. package/front_end/panels/layer_viewer/LayerTreeOutline.ts +135 -167
  195. package/front_end/panels/layer_viewer/Layers3DView.ts +10 -23
  196. package/front_end/panels/layer_viewer/layer_viewer-meta.ts +27 -0
  197. package/front_end/panels/lighthouse/LighthouseController.ts +44 -55
  198. package/front_end/panels/lighthouse/LighthousePanel.ts +9 -9
  199. package/front_end/panels/lighthouse/LighthouseReportSelector.ts +2 -2
  200. package/front_end/panels/lighthouse/LighthouseStartView.ts +9 -12
  201. package/front_end/panels/lighthouse/LighthouseStatusView.ts +33 -33
  202. package/front_end/panels/lighthouse/RadioSetting.ts +1 -1
  203. package/front_end/panels/lighthouse/lighthouse-meta.ts +131 -1
  204. package/front_end/panels/media/EventDisplayTable.ts +67 -94
  205. package/front_end/panels/media/PlayerListView.ts +1 -1
  206. package/front_end/panels/media/eventDisplayTable.css +9 -4
  207. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +5 -5
  208. package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +1 -1
  209. package/front_end/panels/network/EventSourceMessagesView.ts +98 -107
  210. package/front_end/panels/network/NetworkLogViewColumns.ts +1 -1
  211. package/front_end/panels/network/NetworkWaterfallColumn.ts +1 -1
  212. package/front_end/panels/network/RequestConditionsDrawer.ts +2 -2
  213. package/front_end/panels/network/RequestCookiesView.ts +2 -2
  214. package/front_end/panels/network/RequestHeadersView.ts +5 -5
  215. package/front_end/panels/network/RequestPayloadView.ts +4 -4
  216. package/front_end/panels/network/RequestTimingView.ts +2 -2
  217. package/front_end/panels/network/components/DirectSocketConnectionView.ts +1 -1
  218. package/front_end/panels/network/eventSourceMessagesView.css +12 -3
  219. package/front_end/panels/network/networkTimingTable.css +2 -2
  220. package/front_end/panels/performance_monitor/PerformanceMonitor.ts +1 -1
  221. package/front_end/panels/profiler/BottomUpProfileDataGrid.ts +25 -29
  222. package/front_end/panels/profiler/HeapProfileView.ts +308 -247
  223. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +13 -3
  224. package/front_end/panels/profiler/HeapSnapshotView.ts +30 -10
  225. package/front_end/panels/profiler/HeapTimelineOverview.ts +5 -2
  226. package/front_end/panels/profiler/ProfileDataGrid.ts +128 -157
  227. package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +17 -5
  228. package/front_end/panels/profiler/ProfilesPanel.ts +2 -2
  229. package/front_end/panels/profiler/TopDownProfileDataGrid.ts +17 -21
  230. package/front_end/panels/profiler/profilesPanel.css +9 -13
  231. package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +2 -2
  232. package/front_end/panels/recorder/CreateRecordingView.ts +4 -4
  233. package/front_end/panels/recorder/RecorderPanel.ts +6 -6
  234. package/front_end/panels/recorder/RecordingView.ts +1 -1
  235. package/front_end/panels/recorder/ReplaySection.ts +1 -1
  236. package/front_end/panels/recorder/StepView.ts +1 -1
  237. package/front_end/panels/recorder/injected/rollup.config.mjs +1 -1
  238. package/front_end/panels/search/SearchView.ts +1 -1
  239. package/front_end/panels/security/SecurityPanel.ts +54 -41
  240. package/front_end/panels/sensors/LocationsSettingsTab.ts +246 -233
  241. package/front_end/panels/sensors/SensorsView.ts +1 -1
  242. package/front_end/panels/settings/AISettingsTab.ts +11 -10
  243. package/front_end/panels/settings/SettingsScreen.ts +29 -24
  244. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +2 -2
  245. package/front_end/panels/sources/AiCodeCompletionPlugin.ts +5 -5
  246. package/front_end/panels/sources/BreakpointEditDialog.ts +2 -2
  247. package/front_end/panels/sources/BreakpointsView.ts +1 -1
  248. package/front_end/panels/sources/CallStackSidebarPane.ts +2 -2
  249. package/front_end/panels/sources/DebuggerPausedMessage.ts +2 -2
  250. package/front_end/panels/sources/DebuggerPlugin.ts +25 -22
  251. package/front_end/panels/sources/ScopeChainSidebarPane.ts +3 -1
  252. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +7 -5
  253. package/front_end/panels/sources/sources-meta.ts +1 -1
  254. package/front_end/panels/timeline/CountersGraph.ts +1 -2
  255. package/front_end/panels/timeline/ExtensionTrackAppender.ts +1 -1
  256. package/front_end/panels/timeline/TimelineDetailsView.ts +2 -2
  257. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +2 -2
  258. package/front_end/panels/timeline/TimelineFlameChartView.ts +4 -4
  259. package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
  260. package/front_end/panels/timeline/TimelinePanel.ts +53 -81
  261. package/front_end/panels/timeline/TimelineSelectorStatsView.ts +10 -3
  262. package/front_end/panels/timeline/TimelineUIUtils.ts +18 -4
  263. package/front_end/panels/timeline/TrackConfigBanner.ts +1 -1
  264. package/front_end/panels/timeline/components/ExportTraceOptions.ts +1 -1
  265. package/front_end/panels/timeline/components/LayoutShiftDetails.ts +8 -9
  266. package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +1 -1
  267. package/front_end/panels/timeline/components/TimelineRangeSummaryView.ts +1 -1
  268. package/front_end/panels/timeline/components/insights/DuplicatedJavaScript.ts +2 -2
  269. package/front_end/panels/timeline/components/insights/LCPBreakdown.ts +1 -1
  270. package/front_end/panels/timeline/components/insights/LegacyJavaScript.ts +1 -1
  271. package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +2 -2
  272. package/front_end/panels/timeline/overlays/OverlaysImpl.ts +5 -0
  273. package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.ts +13 -8
  274. package/front_end/panels/timeline/overlays/components/timespanBreakdownOverlay.css +1 -0
  275. package/front_end/panels/timeline/timeline-meta.ts +169 -0
  276. package/front_end/panels/timeline/timelineFlameChartView.css +5 -0
  277. package/front_end/panels/webauthn/WebauthnPane.ts +1 -1
  278. package/front_end/panels/whats_new/ReleaseNoteText.ts +9 -9
  279. package/front_end/panels/whats_new/resources/WNDT.md +7 -8
  280. package/front_end/third_party/chromium/README.chromium +1 -1
  281. package/front_end/third_party/web-vitals/README.chromium +2 -2
  282. package/front_end/third_party/web-vitals/package/README.md +120 -19
  283. package/front_end/third_party/web-vitals/package/attribution.d.ts +16 -0
  284. package/front_end/third_party/web-vitals/package/attribution.js +18 -0
  285. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onCLS.d.ts +1 -1
  286. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onFCP.d.ts +1 -7
  287. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onFCP.js +53 -32
  288. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.d.ts +2 -2
  289. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +43 -12
  290. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.d.ts +1 -1
  291. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.js +21 -3
  292. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onTTFB.d.ts +1 -1
  293. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onTTFB.js +30 -24
  294. package/front_end/third_party/web-vitals/package/dist/modules/lib/FCPEntryManager.d.ts +3 -0
  295. package/front_end/third_party/web-vitals/package/dist/modules/lib/FCPEntryManager.js +18 -0
  296. package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.d.ts +2 -1
  297. package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.js +18 -2
  298. package/front_end/third_party/web-vitals/package/dist/modules/lib/LCPEntryManager.d.ts +1 -0
  299. package/front_end/third_party/web-vitals/package/dist/modules/lib/LCPEntryManager.js +1 -0
  300. package/front_end/third_party/web-vitals/package/dist/modules/lib/bindReporter.d.ts +1 -1
  301. package/front_end/third_party/web-vitals/package/dist/modules/lib/generateUniqueID.js +1 -1
  302. package/front_end/third_party/web-vitals/package/dist/modules/lib/getLoadState.d.ts +1 -1
  303. package/front_end/third_party/web-vitals/package/dist/modules/lib/getLoadState.js +7 -7
  304. package/front_end/third_party/web-vitals/package/dist/modules/lib/getSelector.js +1 -1
  305. package/front_end/third_party/web-vitals/package/dist/modules/lib/getVisibilityWatcher.d.ts +1 -1
  306. package/front_end/third_party/web-vitals/package/dist/modules/lib/getVisibilityWatcher.js +4 -1
  307. package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +7 -3
  308. package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.js +20 -11
  309. package/front_end/third_party/web-vitals/package/dist/modules/lib/initUnique.js +8 -3
  310. package/front_end/third_party/web-vitals/package/dist/modules/lib/observe.d.ts +3 -1
  311. package/front_end/third_party/web-vitals/package/dist/modules/lib/observe.js +19 -4
  312. package/front_end/third_party/web-vitals/package/dist/modules/lib/polyfills/interactionCountPolyfill.js +1 -1
  313. package/front_end/third_party/web-vitals/package/dist/modules/lib/softNavs.d.ts +3 -0
  314. package/front_end/third_party/web-vitals/package/dist/modules/lib/softNavs.js +38 -0
  315. package/front_end/third_party/web-vitals/package/dist/modules/lib/whenIdleOrHidden.js +5 -1
  316. package/front_end/third_party/web-vitals/package/dist/modules/onCLS.d.ts +1 -1
  317. package/front_end/third_party/web-vitals/package/dist/modules/onCLS.js +30 -11
  318. package/front_end/third_party/web-vitals/package/dist/modules/onFCP.d.ts +1 -1
  319. package/front_end/third_party/web-vitals/package/dist/modules/onFCP.js +36 -4
  320. package/front_end/third_party/web-vitals/package/dist/modules/onINP.d.ts +1 -1
  321. package/front_end/third_party/web-vitals/package/dist/modules/onINP.js +42 -22
  322. package/front_end/third_party/web-vitals/package/dist/modules/onLCP.d.ts +1 -1
  323. package/front_end/third_party/web-vitals/package/dist/modules/onLCP.js +109 -30
  324. package/front_end/third_party/web-vitals/package/dist/modules/onTTFB.d.ts +1 -1
  325. package/front_end/third_party/web-vitals/package/dist/modules/onTTFB.js +25 -7
  326. package/front_end/third_party/web-vitals/package/dist/modules/types/base.d.ts +24 -1
  327. package/front_end/third_party/web-vitals/package/dist/modules/types/fcp.d.ts +1 -1
  328. package/front_end/third_party/web-vitals/package/dist/modules/types/inp.d.ts +14 -6
  329. package/front_end/third_party/web-vitals/package/dist/modules/types/lcp.d.ts +1 -1
  330. package/front_end/third_party/web-vitals/package/dist/modules/types/ttfb.d.ts +2 -2
  331. package/front_end/third_party/web-vitals/package/dist/modules/types.d.ts +26 -4
  332. package/front_end/third_party/web-vitals/package/package.json +21 -22
  333. package/front_end/third_party/web-vitals/package/src/attribution/onCLS.ts +1 -1
  334. package/front_end/third_party/web-vitals/package/src/attribution/onFCP.ts +62 -39
  335. package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +52 -15
  336. package/front_end/third_party/web-vitals/package/src/attribution/onLCP.ts +25 -7
  337. package/front_end/third_party/web-vitals/package/src/attribution/onTTFB.ts +43 -37
  338. package/front_end/third_party/web-vitals/package/src/lib/{polyfills/getFirstHiddenTimePolyfill.ts → FCPEntryManager.ts} +4 -14
  339. package/front_end/third_party/web-vitals/package/src/lib/InteractionManager.ts +22 -2
  340. package/front_end/third_party/web-vitals/package/src/lib/LCPEntryManager.ts +1 -0
  341. package/front_end/third_party/web-vitals/package/src/lib/bindReporter.ts +1 -1
  342. package/front_end/third_party/web-vitals/package/src/lib/generateUniqueID.ts +1 -1
  343. package/front_end/third_party/web-vitals/package/src/lib/getLoadState.ts +11 -12
  344. package/front_end/third_party/web-vitals/package/src/lib/getSelector.ts +1 -1
  345. package/front_end/third_party/web-vitals/package/src/lib/getVisibilityWatcher.ts +4 -1
  346. package/front_end/third_party/web-vitals/package/src/lib/initMetric.ts +24 -11
  347. package/front_end/third_party/web-vitals/package/src/lib/initUnique.ts +12 -4
  348. package/front_end/third_party/web-vitals/package/src/lib/observe.ts +26 -5
  349. package/front_end/third_party/web-vitals/package/src/lib/polyfills/interactionCountPolyfill.ts +1 -1
  350. package/front_end/third_party/web-vitals/package/src/lib/softNavs.ts +48 -0
  351. package/front_end/third_party/web-vitals/package/src/lib/whenIdleOrHidden.ts +12 -4
  352. package/front_end/third_party/web-vitals/package/src/onCLS.ts +75 -18
  353. package/front_end/third_party/web-vitals/package/src/onFCP.ts +66 -7
  354. package/front_end/third_party/web-vitals/package/src/onINP.ts +100 -39
  355. package/front_end/third_party/web-vitals/package/src/onLCP.ts +169 -34
  356. package/front_end/third_party/web-vitals/package/src/onTTFB.ts +50 -13
  357. package/front_end/third_party/web-vitals/package/src/types/base.ts +31 -10
  358. package/front_end/third_party/web-vitals/package/src/types/fcp.ts +1 -1
  359. package/front_end/third_party/web-vitals/package/src/types/inp.ts +14 -6
  360. package/front_end/third_party/web-vitals/package/src/types/lcp.ts +1 -1
  361. package/front_end/third_party/web-vitals/package/src/types/ttfb.ts +2 -2
  362. package/front_end/third_party/web-vitals/package/src/types.ts +32 -9
  363. package/front_end/third_party/web-vitals/patches/0001-Add-onEachInteraction-to-onINP-options.patch +11 -11
  364. package/front_end/third_party/web-vitals/rebuild.sh +2 -2
  365. package/front_end/third_party/web-vitals/web-vitals-tsconfig.json +2 -0
  366. package/front_end/ui/components/buttons/Button.ts +16 -0
  367. package/front_end/ui/components/dialogs/Dialog.ts +1 -1
  368. package/front_end/ui/components/highlighting/HighlightManager.ts +6 -1
  369. package/front_end/ui/components/highlighting/highlighting.ts +1 -1
  370. package/front_end/ui/components/icon_button/FileSourceIcon.ts +1 -1
  371. package/front_end/ui/components/linkifier/LinkifierImpl.ts +1 -1
  372. package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +2 -2
  373. package/front_end/ui/components/settings/SettingCheckbox.ts +12 -7
  374. package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +2 -2
  375. package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +6 -6
  376. package/front_end/ui/components/text_editor/javascript.ts +3 -1
  377. package/front_end/ui/components/tooltips/Tooltip.ts +1 -1
  378. package/front_end/ui/legacy/ContextMenu.ts +12 -2
  379. package/front_end/ui/legacy/ListControl.ts +1 -1
  380. package/front_end/ui/legacy/SelectMenu.docs.ts +17 -19
  381. package/front_end/ui/legacy/Toolbar.ts +4 -1
  382. package/front_end/ui/legacy/Treeoutline.ts +1 -1
  383. package/front_end/ui/legacy/components/color_picker/spectrum.css +1 -2
  384. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -1
  385. package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +50 -4
  386. package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts +3 -1
  387. package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +4 -4
  388. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +8 -7
  389. package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +14 -11
  390. package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +1 -1
  391. package/front_end/ui/legacy/components/settings_ui/SettingsUI.ts +15 -5
  392. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +4 -4
  393. package/front_end/ui/legacy/components/utils/Linkifier.ts +5 -1
  394. package/front_end/ui/lit/render.ts +1 -1
  395. package/front_end/ui/settings/SettingUIRegistration.ts +8 -3
  396. package/front_end/ui/visual_logging/KnownContextValues.ts +8 -0
  397. package/front_end/ui/visual_logging/LoggingEvents.ts +1 -1
  398. package/inspector_overlay/main.ts +1 -1
  399. package/mcp/mcp.ts +5 -4
  400. package/package.json +13 -13
  401. package/front_end/models/ai_assistance/AgentProject.ts +0 -261
  402. package/front_end/models/ai_assistance/agents/PatchAgent.ts +0 -306
  403. package/front_end/models/issues_manager/CheckFormsIssuesTrigger.ts +0 -45
  404. package/front_end/models/text_utils/text_utils.ts +0 -5
  405. package/front_end/panels/ai_assistance/PatchWidget.ts +0 -867
  406. package/front_end/panels/ai_assistance/SelectWorkspaceDialog.ts +0 -368
  407. package/front_end/panels/ai_assistance/selectWorkspaceDialog.css +0 -92
@@ -7,163 +7,163 @@ import * as i18n from '../i18n/i18n.js';
7
7
 
8
8
  const UIStrings = {
9
9
  /**
10
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
10
+ * @description Title of a setting under the Console category that can be invoked through the Command Menu.
11
11
  */
12
12
  preserveLogUponNavigation: 'Keep log on navigation',
13
13
  /**
14
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
14
+ * @description Title of a setting under the Console category that can be invoked through the Command Menu.
15
15
  */
16
16
  doNotPreserveLogUponNavigation: 'Don’t keep log on navigation',
17
17
  /**
18
- * @description Text for pausing the debugger on exceptions
18
+ * @description Text for pausing the debugger on exceptions.
19
19
  */
20
20
  pauseOnExceptions: 'Pause on exceptions',
21
21
  /**
22
- * @description Title of a setting under the Debugger category that can be invoked through the Command Menu
22
+ * @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
23
23
  */
24
24
  doNotPauseOnExceptions: 'Do not pause on exceptions',
25
25
  /**
26
- * @description Title of a setting under the Debugger category that can be invoked through the Command Menu
26
+ * @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
27
27
  */
28
28
  disableJavascript: 'Disable JavaScript',
29
29
  /**
30
- * @description Title of a setting under the Debugger category that can be invoked through the Command Menu
30
+ * @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
31
31
  */
32
32
  enableJavascript: 'Enable JavaScript',
33
33
  /**
34
- * @description Title of a setting under the Debugger category in Settings
34
+ * @description Title of a setting under the Debugger category in Settings.
35
35
  */
36
36
  disableAsyncStackTraces: 'Disable async stack traces',
37
37
  /**
38
- * @description Title of a setting under the Debugger category that can be invoked through the Command Menu
38
+ * @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
39
39
  */
40
40
  doNotCaptureAsyncStackTraces: 'Do not capture async stack traces',
41
41
  /**
42
- * @description Title of a setting under the Debugger category that can be invoked through the Command Menu
42
+ * @description Title of a setting under the Debugger category that can be invoked through the Command Menu.
43
43
  */
44
44
  captureAsyncStackTraces: 'Capture async stack traces',
45
45
  /**
46
- * @description Text of a setting that turn on the measuring rulers when hover over a target
46
+ * @description Text of a setting that turn on the measuring rulers when hover over a target.
47
47
  */
48
48
  rulersOnHover: 'Rulers on hover',
49
49
  /**
50
- * @description Text of an option that turn on the measuring rulers when hover over a target through the Command Menu
50
+ * @description Text of an option that turn on the measuring rulers when hover over a target through the Command Menu.
51
51
  */
52
52
  showRulersOnHover: 'Show rulers on hover',
53
53
  /**
54
- * @description Text of a setting that do turn off the measuring rulers when hover over a target
54
+ * @description Text of a setting that do turn off the measuring rulers when hover over a target.
55
55
  */
56
56
  doNotShowRulersOnHover: 'Don’t show rulers on hover',
57
57
  /**
58
- * @description Title of a setting that turns on grid area name labels
58
+ * @description Title of a setting that turns on grid area name labels.
59
59
  */
60
60
  showAreaNames: 'Show area names',
61
61
  /**
62
- * @description Title of a setting under the Grid category that turns CSS Grid Area highlighting on
62
+ * @description Title of a setting under the Grid category that turns CSS Grid Area highlighting on.
63
63
  */
64
64
  showGridNamedAreas: 'Show grid named areas',
65
65
  /**
66
- * @description Title of a setting under the Grid category that turns CSS Grid Area highlighting off
66
+ * @description Title of a setting under the Grid category that turns CSS Grid Area highlighting off.
67
67
  */
68
68
  doNotShowGridNamedAreas: 'Do not show grid named areas',
69
69
  /**
70
- * @description Title of a setting that turns on grid track size labels
70
+ * @description Title of a setting that turns on grid track size labels.
71
71
  */
72
72
  showTrackSizes: 'Show track sizes',
73
73
  /**
74
- * @description Title for CSS Grid tooling option
74
+ * @description Title for CSS Grid tooling option.
75
75
  */
76
76
  showGridTrackSizes: 'Show grid track sizes',
77
77
  /**
78
- * @description Title for CSS Grid tooling option
78
+ * @description Title for CSS Grid tooling option.
79
79
  */
80
80
  doNotShowGridTrackSizes: 'Do not show grid track sizes',
81
81
  /**
82
- * @description Title of a setting that turns on grid extension lines
82
+ * @description Title of a setting that turns on grid extension lines.
83
83
  */
84
84
  extendGridLines: 'Extend grid lines',
85
85
  /**
86
- * @description Title of a setting that turns off the grid extension lines
86
+ * @description Title of a setting that turns off the grid extension lines.
87
87
  */
88
88
  doNotExtendGridLines: 'Do not extend grid lines',
89
89
  /**
90
- * @description Title of a setting that turns on grid line labels
90
+ * @description Title of a setting that turns on grid line labels.
91
91
  */
92
92
  showLineLabels: 'Show line labels',
93
93
  /**
94
- * @description Title of a setting that turns off the grid line labels
94
+ * @description Title of a setting that turns off the grid line labels.
95
95
  */
96
96
  hideLineLabels: 'Hide line labels',
97
97
  /**
98
- * @description Title of a setting that turns on grid line number labels
98
+ * @description Title of a setting that turns on grid line number labels.
99
99
  */
100
100
  showLineNumbers: 'Show line numbers',
101
101
  /**
102
- * @description Title of a setting that turns on grid line name labels
102
+ * @description Title of a setting that turns on grid line name labels.
103
103
  */
104
104
  showLineNames: 'Show line names',
105
105
  /**
106
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
106
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
107
107
  */
108
108
  showPaintFlashingRectangles: 'Show paint flashing rectangles',
109
109
  /**
110
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
110
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
111
111
  */
112
112
  hidePaintFlashingRectangles: 'Hide paint flashing rectangles',
113
113
  /**
114
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
114
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
115
115
  */
116
116
  showLayoutShiftRegions: 'Show layout shift regions',
117
117
  /**
118
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
118
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
119
119
  */
120
120
  hideLayoutShiftRegions: 'Hide layout shift regions',
121
121
  /**
122
- * @description Text to highlight the rendering frames for ads
122
+ * @description Text to highlight the rendering frames for ads.
123
123
  */
124
124
  highlightAdFrames: 'Highlight ad frames',
125
125
  /**
126
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
126
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
127
127
  */
128
128
  doNotHighlightAdFrames: 'Do not highlight ad frames',
129
129
  /**
130
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
130
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
131
131
  */
132
132
  showLayerBorders: 'Show layer borders',
133
133
  /**
134
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
134
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
135
135
  */
136
136
  hideLayerBorders: 'Hide layer borders',
137
137
  /**
138
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
138
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
139
139
  */
140
140
  showFramesPerSecondFpsMeter: 'Show frames per second (FPS) meter',
141
141
  /**
142
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
142
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
143
143
  */
144
144
  hideFramesPerSecondFpsMeter: 'Hide frames per second (FPS) meter',
145
145
  /**
146
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
146
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
147
147
  */
148
148
  showScrollPerformanceBottlenecks: 'Show scroll performance bottlenecks',
149
149
  /**
150
- * @description Title of an option under the Rendering category that can be invoked through the Command Menu
150
+ * @description Title of an option under the Rendering category that can be invoked through the Command Menu.
151
151
  */
152
152
  hideScrollPerformanceBottlenecks: 'Hide scroll performance bottlenecks',
153
153
  /**
154
- * @description Title of a Rendering setting that can be invoked through the Command Menu
154
+ * @description Title of a Rendering setting that can be invoked through the Command Menu.
155
155
  */
156
156
  emulateAFocusedPage: 'Emulate a focused page',
157
157
  /**
158
- * @description Title of a Rendering setting that can be invoked through the Command Menu
158
+ * @description Title of a Rendering setting that can be invoked through the Command Menu.
159
159
  */
160
160
  doNotEmulateAFocusedPage: 'Do not emulate a focused page',
161
161
  /**
162
- * @description Title of a setting under the Rendering category that can be invoked through the Command Menu
162
+ * @description Title of a setting under the Rendering category that can be invoked through the Command Menu.
163
163
  */
164
164
  doNotEmulateCssMediaType: 'Do not emulate CSS media type',
165
165
  /**
166
- * @description A drop-down menu option to do not emulate css media type
166
+ * @description A drop-down menu option to do not emulate css media type.
167
167
  */
168
168
  noEmulation: 'No emulation',
169
169
  /**
@@ -232,206 +232,206 @@ const UIStrings = {
232
232
  */
233
233
  userIdleScreenLocked: 'User idle, screen locked',
234
234
  /**
235
- * @description Title of a setting under the Rendering category that can be invoked through the Command Menu
235
+ * @description Title of a setting under the Rendering category that can be invoked through the Command Menu.
236
236
  */
237
237
  emulateCssPrintMediaType: 'Emulate CSS print media type',
238
238
  /**
239
- * @description A drop-down menu option to emulate css print media type
239
+ * @description A drop-down menu option to emulate css print media type.
240
240
  */
241
241
  print: 'print',
242
242
  /**
243
- * @description Title of a setting under the Rendering category that can be invoked through the Command Menu
243
+ * @description Title of a setting under the Rendering category that can be invoked through the Command Menu.
244
244
  */
245
245
  emulateCssScreenMediaType: 'Emulate CSS screen media type',
246
246
  /**
247
- * @description A drop-down menu option to emulate css screen media type
247
+ * @description A drop-down menu option to emulate css screen media type.
248
248
  */
249
249
  screen: 'screen',
250
250
  /**
251
- * @description A tag of Emulate CSS screen media type setting that can be searched in the command menu
251
+ * @description A tag of Emulate CSS screen media type setting that can be searched in the command menu.
252
252
  */
253
253
  query: 'query',
254
254
  /**
255
- * @description Title of a setting under the Rendering drawer
255
+ * @description Title of a setting under the Rendering drawer.
256
256
  */
257
257
  emulateCssMediaType: 'Emulate CSS media type',
258
258
  /**
259
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
259
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
260
260
  * @example {prefers-color-scheme} PH1
261
261
  */
262
262
  doNotEmulateCss: 'Do not emulate CSS {PH1}',
263
263
  /**
264
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
264
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
265
265
  * @example {prefers-color-scheme: light} PH1
266
266
  */
267
267
  emulateCss: 'Emulate CSS {PH1}',
268
268
  /**
269
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
269
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
270
270
  * @example {prefers-color-scheme} PH1
271
271
  */
272
272
  emulateCssMediaFeature: 'Emulate CSS media feature {PH1}',
273
273
  /**
274
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
274
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
275
275
  */
276
276
  doNotEmulateAnyVisionDeficiency: 'Do not emulate any vision deficiency',
277
277
  /**
278
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
278
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
279
279
  */
280
280
  emulateBlurredVision: 'Emulate blurred vision',
281
281
  /**
282
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
282
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
283
283
  */
284
284
  emulateReducedContrast: 'Emulate reduced contrast',
285
285
  /**
286
- * @description Name of a vision deficiency that can be emulated via the Rendering drawer
286
+ * @description Name of a vision deficiency that can be emulated via the Rendering drawer.
287
287
  */
288
288
  blurredVision: 'Blurred vision',
289
289
  /**
290
- * @description Name of a vision deficiency that can be emulated via the Rendering drawer
290
+ * @description Name of a vision deficiency that can be emulated via the Rendering drawer.
291
291
  */
292
292
  reducedContrast: 'Reduced contrast',
293
293
  /**
294
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
294
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
295
295
  */
296
296
  emulateProtanopia: 'Emulate protanopia (no red)',
297
297
  /**
298
- * @description Name of a color vision deficiency that can be emulated via the Rendering drawer
298
+ * @description Name of a color vision deficiency that can be emulated via the Rendering drawer.
299
299
  */
300
300
  protanopia: 'Protanopia (no red)',
301
301
  /**
302
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
302
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
303
303
  */
304
304
  emulateDeuteranopia: 'Emulate deuteranopia (no green)',
305
305
  /**
306
- * @description Name of a color vision deficiency that can be emulated via the Rendering drawer
306
+ * @description Name of a color vision deficiency that can be emulated via the Rendering drawer.
307
307
  */
308
308
  deuteranopia: 'Deuteranopia (no green)',
309
309
  /**
310
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
310
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
311
311
  */
312
312
  emulateTritanopia: 'Emulate tritanopia (no blue)',
313
313
  /**
314
- * @description Name of a color vision deficiency that can be emulated via the Rendering drawer
314
+ * @description Name of a color vision deficiency that can be emulated via the Rendering drawer.
315
315
  */
316
316
  tritanopia: 'Tritanopia (no blue)',
317
317
  /**
318
- * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu
318
+ * @description Title of a setting under the Rendering drawer that can be invoked through the Command Menu.
319
319
  */
320
320
  emulateAchromatopsia: 'Emulate achromatopsia (no color)',
321
321
  /**
322
- * @description Name of a color vision deficiency that can be emulated via the Rendering drawer
322
+ * @description Name of a color vision deficiency that can be emulated via the Rendering drawer.
323
323
  */
324
324
  achromatopsia: 'Achromatopsia (no color)',
325
325
  /**
326
- * @description Title of a setting under the Rendering drawer
326
+ * @description Title of a setting under the Rendering drawer.
327
327
  */
328
328
  emulateVisionDeficiencies: 'Emulate vision deficiencies',
329
329
  /**
330
- * @description Title of a setting under the Rendering drawer
330
+ * @description Title of a setting under the Rendering drawer.
331
331
  */
332
332
  emulateOsTextScale: 'Emulate OS text scale',
333
333
  /**
334
- * @description Title of a setting under the Rendering category that can be invoked through the Command Menu
334
+ * @description Title of a setting under the Rendering category that can be invoked through the Command Menu.
335
335
  */
336
336
  doNotEmulateOsTextScale: 'Do not emulate OS text scale',
337
337
  /**
338
- * @description A drop-down menu option to not emulate OS text scale
338
+ * @description A drop-down menu option to not emulate OS text scale.
339
339
  */
340
340
  osTextScaleEmulationNone: 'No emulation',
341
341
  /**
342
- * @description A drop-down menu option to emulate an OS text scale 85%
342
+ * @description A drop-down menu option to emulate an OS text scale 85%.
343
343
  */
344
344
  osTextScaleEmulation85: '85%',
345
345
  /**
346
- * @description A drop-down menu option to emulate an OS text scale of 100%
346
+ * @description A drop-down menu option to emulate an OS text scale of 100%.
347
347
  */
348
348
  osTextScaleEmulation100: '100% (default)',
349
349
  /**
350
- * @description A drop-down menu option to emulate an OS text scale of 115%
350
+ * @description A drop-down menu option to emulate an OS text scale of 115%.
351
351
  */
352
352
  osTextScaleEmulation115: '115%',
353
353
  /**
354
- * @description A drop-down menu option to emulate an OS text scale of 130%
354
+ * @description A drop-down menu option to emulate an OS text scale of 130%.
355
355
  */
356
356
  osTextScaleEmulation130: '130%',
357
357
  /**
358
- * @description A drop-down menu option to emulate an OS text scale of 150%
358
+ * @description A drop-down menu option to emulate an OS text scale of 150%.
359
359
  */
360
360
  osTextScaleEmulation150: '150%',
361
361
  /**
362
- * @description A drop-down menu option to emulate an OS text scale of 180%
362
+ * @description A drop-down menu option to emulate an OS text scale of 180%.
363
363
  */
364
364
  osTextScaleEmulation180: '180%',
365
365
  /**
366
- * @description A drop-down menu option to emulate an OS text scale of 200%
366
+ * @description A drop-down menu option to emulate an OS text scale of 200%.
367
367
  */
368
368
  osTextScaleEmulation200: '200%',
369
369
  /**
370
- * @description A drop-down menu option to emulate an OS text scale of 250%
370
+ * @description A drop-down menu option to emulate an OS text scale of 250%.
371
371
  */
372
372
  osTextScaleEmulation250: '250%',
373
373
  /**
374
- * @description A drop-down menu option to emulate an OS text scale of 300%
374
+ * @description A drop-down menu option to emulate an OS text scale of 300%.
375
375
  */
376
376
  osTextScaleEmulation300: '300%',
377
377
  /**
378
- * @description A drop-down menu option to emulate an OS text scale of 350%
378
+ * @description A drop-down menu option to emulate an OS text scale of 350%.
379
379
  */
380
380
  osTextScaleEmulation350: '350%',
381
381
  /**
382
- * @description Text that refers to disabling local fonts
382
+ * @description Text that refers to disabling local fonts.
383
383
  */
384
384
  disableLocalFonts: 'Disable local fonts',
385
385
  /**
386
- * @description Text that refers to enabling local fonts
386
+ * @description Text that refers to enabling local fonts.
387
387
  */
388
388
  enableLocalFonts: 'Enable local fonts',
389
389
  /**
390
- * @description Title of a setting that disables AVIF format
390
+ * @description Title of a setting that disables AVIF format.
391
391
  */
392
392
  disableAvifFormat: 'Disable `AVIF` format',
393
393
  /**
394
- * @description Title of a setting that enables AVIF format
394
+ * @description Title of a setting that enables AVIF format.
395
395
  */
396
396
  enableAvifFormat: 'Enable `AVIF` format',
397
397
  /**
398
- * @description Title of a setting that disables JPEG XL format
398
+ * @description Title of a setting that disables JPEG XL format.
399
399
  */
400
400
  disableJpegXlFormat: 'Disable `JPEG XL` format',
401
401
  /**
402
- * @description Title of a setting that enables JPEG XL format
402
+ * @description Title of a setting that enables JPEG XL format.
403
403
  */
404
404
  enableJpegXlFormat: 'Enable `JPEG XL` format',
405
405
  /**
406
- * @description Title of a setting that disables WebP format
406
+ * @description Title of a setting that disables WebP format.
407
407
  */
408
408
  disableWebpFormat: 'Disable `WebP` format',
409
409
  /**
410
- * @description Title of a setting that enables WebP format
410
+ * @description Title of a setting that enables WebP format.
411
411
  */
412
412
  enableWebpFormat: 'Enable `WebP` format',
413
413
  /**
414
- * @description Title of a setting under the Console category in Settings
414
+ * @description Title of a setting under the Console category in Settings.
415
415
  */
416
416
  customFormatters: 'Custom formatters',
417
417
  /**
418
- * @description Title of a setting under the Network category
418
+ * @description Title of a setting under the Network category.
419
419
  */
420
420
  networkRequestBlocking: 'Network request blocking',
421
421
  /**
422
- * @description Title of a setting under the Network category that can be invoked through the Command Menu
422
+ * @description Title of a setting under the Network category that can be invoked through the Command Menu.
423
423
  */
424
424
  enableNetworkRequestBlocking: 'Enable network request blocking',
425
425
  /**
426
- * @description Title of a setting under the Network category that can be invoked through the Command Menu
426
+ * @description Title of a setting under the Network category that can be invoked through the Command Menu.
427
427
  */
428
428
  disableNetworkRequestBlocking: 'Disable network request blocking',
429
429
  /**
430
- * @description Title of a setting under the Network category that can be invoked through the Command Menu
430
+ * @description Title of a setting under the Network category that can be invoked through the Command Menu.
431
431
  */
432
432
  enableCache: 'Enable cache',
433
433
  /**
434
- * @description Title of a setting under the Network category that can be invoked through the Command Menu
434
+ * @description Title of a setting under the Network category that can be invoked through the Command Menu.
435
435
  */
436
436
  disableCache: 'Disable cache while DevTools is open',
437
437
  /**
@@ -446,7 +446,7 @@ const UIStrings = {
446
446
  /**
447
447
  * @description Tooltip text for a setting that controls whether external resource can be loaded in DevTools.
448
448
  */
449
- remoteFileLoadingInfo: 'Example resource are source maps. Disabled by default for security reasons.',
449
+ remoteFileLoadingInfo: 'Example resources are source maps. Disabled by default for security reasons.',
450
450
  /**
451
451
  * @description Tooltip text for a setting that controls the network cache. Disabling the network cache can simulate the network connections of users that are visiting a page for the first time.
452
452
  */
@@ -457,27 +457,27 @@ const UIStrings = {
457
457
  */
458
458
  javaScriptSourceMaps: 'JavaScript source maps',
459
459
  /**
460
- * @description Title of an option under the Sources category that can be invoked through the Command Menu
460
+ * @description Title of an option under the Sources category that can be invoked through the Command Menu.
461
461
  */
462
462
  enableJavaScriptSourceMaps: 'Enable JavaScript source maps',
463
463
  /**
464
- * @description Title of an option under the Sources category that can be invoked through the Command Menu
464
+ * @description Title of an option under the Sources category that can be invoked through the Command Menu.
465
465
  */
466
466
  disableJavaScriptSourceMaps: 'Disable JavaScript source maps',
467
467
  /**
468
- * @description Title of a setting under the Sources category
468
+ * @description Title of a setting under the Sources category.
469
469
  */
470
470
  cssSourceMaps: 'CSS source maps',
471
471
  /**
472
- * @description Title of an option under the Sources category that can be invoked through the Command Menu
472
+ * @description Title of an option under the Sources category that can be invoked through the Command Menu.
473
473
  */
474
474
  enableCssSourceMaps: 'Enable CSS source maps',
475
475
  /**
476
- * @description Title of an option under the Sources category that can be invoked through the Command Menu
476
+ * @description Title of an option under the Sources category that can be invoked through the Command Menu.
477
477
  */
478
478
  disableCssSourceMaps: 'Disable CSS source maps',
479
479
  /**
480
- * @description Title of a setting under the Console category in Settings
480
+ * @description Title of a setting under the Console category in Settings.
481
481
  */
482
482
  logXmlhttprequests: 'Log XMLHttpRequests',
483
483
  /**
@@ -1388,7 +1388,7 @@ Common.Settings.registerSettingExtension({
1388
1388
  defaultValue: false,
1389
1389
  learnMore: {
1390
1390
  tooltip: i18nLazyString(UIStrings.remoteFileLoadingInfo),
1391
- }
1391
+ },
1392
1392
  });
1393
1393
 
1394
1394
  Common.Settings.registerSettingExtension({
@@ -444,7 +444,7 @@
444
444
  TimelineNavigationSettingState: 'DevTools.TimelineNavigationSettingState',
445
445
  SyncSetting: 'DevTools.SyncSetting',
446
446
  SwatchActivated: 'DevTools.SwatchActivated',
447
- BuiltInAiAvailability: 'DevTools.BuiltInAiAvailability'
447
+ BuiltInAiAvailability: 'DevTools.BuiltInAiAvailability',
448
448
  // LINT.ThenChange(/front_end/core/host/InspectorFrontendHostAPI.ts:EnumeratedHistogram)
449
449
  };
450
450
 
@@ -629,7 +629,7 @@
629
629
  blockedByGeo: newConfig.aidaAvailability?.blockedByGeo ?? true,
630
630
  blockedByRollout: false,
631
631
  disallowLogging: newConfig.aidaAvailability?.disallowLogging ?? true,
632
- optIn: false
632
+ optIn: false,
633
633
  };
634
634
  const devToolsFreestylerDogfood = {
635
635
  enabled: (newConfig.devToolsFreestyler?.enabled && newConfig.aidaAvailability?.enabled) ?? false,
@@ -637,13 +637,13 @@
637
637
  aidaTemperature: newConfig.devToolsFreestyler?.temperature ?? 0,
638
638
  blockedByAge: newConfig.aidaAvailability?.blockedByAge ?? true,
639
639
  blockedByEnterprisePolicy: newConfig.aidaAvailability?.blockedByEnterprisePolicy ?? true,
640
- blockedByGeo: newConfig.aidaAvailability?.blockedByGeo ?? true
640
+ blockedByGeo: newConfig.aidaAvailability?.blockedByGeo ?? true,
641
641
  };
642
642
  return {
643
643
  devToolsConsoleInsights,
644
644
  devToolsFreestylerDogfood,
645
645
  devToolsVeLogging: newConfig.devToolsVeLogging,
646
- isOffTheRecord: newConfig.isOffTheRecord
646
+ isOffTheRecord: newConfig.isOffTheRecord,
647
647
  };
648
648
  }
649
649
 
@@ -914,13 +914,15 @@
914
914
  * @param config
915
915
  */
916
916
  setDevicesDiscoveryConfig(config) {
917
- DevToolsAPI.sendMessageToEmbedder(
918
- 'setDevicesDiscoveryConfig',
919
- [
920
- config.discoverUsbDevices, config.portForwardingEnabled, JSON.stringify(config.portForwardingConfig),
921
- config.networkDiscoveryEnabled, JSON.stringify(config.networkDiscoveryConfig)
922
- ],
923
- null);
917
+ DevToolsAPI.sendMessageToEmbedder('setDevicesDiscoveryConfig',
918
+ [
919
+ config.discoverUsbDevices,
920
+ config.portForwardingEnabled,
921
+ JSON.stringify(config.portForwardingConfig),
922
+ config.networkDiscoveryEnabled,
923
+ JSON.stringify(config.networkDiscoveryConfig),
924
+ ],
925
+ null);
924
926
  }
925
927
 
926
928
  /**
@@ -1152,7 +1154,7 @@
1152
1154
  [0xb3, 'MediaPlayPause'],
1153
1155
  [0xad, 'VolumeMute'],
1154
1156
  [0xae, 'VolumeDown'],
1155
- [0xaf, 'VolumeUp']
1157
+ [0xaf, 'VolumeUp'],
1156
1158
  ]);
1157
1159
 
1158
1160
  /**
@@ -1217,7 +1219,7 @@
1217
1219
  Object.defineProperty(HTMLSlotElement.prototype, 'select', {
1218
1220
  set(selector) {
1219
1221
  this.name = selector;
1220
- }
1222
+ },
1221
1223
  });
1222
1224
  }
1223
1225
 
@@ -877,7 +877,7 @@ export class SecondaryInitManager {
877
877
  ...retainers,
878
878
  essentialEdges: Platform.TypedArrayUtilities.createBitVector(argsStep2.essentialEdgesBuffer),
879
879
  port,
880
- nodeSelfSizesPromise: this.getNodeSelfSizes()
880
+ nodeSelfSizesPromise: this.getNodeSelfSizes(),
881
881
  };
882
882
  const dominatorsAndRetainedSizes = await HeapSnapshot.calculateDominatorsAndRetainedSizes(args);
883
883
  const dominatedNodesOutputs = HeapSnapshot.buildDominatedNodes({...args, ...dominatorsAndRetainedSizes});
@@ -2140,7 +2140,7 @@ export abstract class HeapSnapshot {
2140
2140
  rootNodeOrdinal,
2141
2141
  essentialEdges,
2142
2142
  nodeSelfSizesPromise,
2143
- port
2143
+ port,
2144
2144
  } = inputs;
2145
2145
  function isEssentialEdge(edgeIndex: number): boolean {
2146
2146
  return essentialEdges.getBit(edgeIndex / edgeFieldsCount);
@@ -3005,8 +3005,6 @@ export abstract class HeapSnapshot {
3005
3005
  return;
3006
3006
  }
3007
3007
 
3008
- console.time('propagateDOMState');
3009
-
3010
3008
  const visited = new Uint8Array(this.nodeCount);
3011
3009
  const attached: number[] = [];
3012
3010
  const detached: number[] = [];
@@ -3097,8 +3095,6 @@ export abstract class HeapSnapshot {
3097
3095
  }
3098
3096
  propagateState(this, nodeOrdinal, HeapSnapshotModel.HeapSnapshotModel.DOMLinkState.DETACHED);
3099
3097
  }
3100
-
3101
- console.timeEnd('propagateDOMState');
3102
3098
  }
3103
3099
 
3104
3100
  private buildSamples(): void {
@@ -3338,7 +3334,7 @@ export abstract class HeapSnapshot {
3338
3334
  retainingEdges,
3339
3335
  edgeTypeOffset,
3340
3336
  edgeWeakType,
3341
- containmentEdges
3337
+ containmentEdges,
3342
3338
  } = this;
3343
3339
  const distances = this.#nodeDistancesForRetainersView ?? this.nodeDistances;
3344
3340
  let traversedNodesCount = 0;
@@ -4367,7 +4363,7 @@ export class JSHeapSnapshot extends HeapSnapshot {
4367
4363
  jsArrays: sizeJSArrays,
4368
4364
  strings: sizeStrings,
4369
4365
  system: sizeSystem,
4370
- }
4366
+ },
4371
4367
  };
4372
4368
  }
4373
4369