chrome-devtools-frontend 1.0.1657110 → 1.0.1660788

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 (317) hide show
  1. package/.agents/skills/devtools-ux-writing-refactor/SKILL.md +125 -0
  2. package/.agents/skills/migrate-chromium-test/SKILL.md +15 -70
  3. package/.agents/skills/repro-flaky-tests/SKILL.md +53 -0
  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/front_end/Images/src/ads.svg +1 -0
  10. package/front_end/Tests.js +6 -6
  11. package/front_end/core/common/Gzip.ts +12 -5
  12. package/front_end/core/common/ResourceType.ts +19 -19
  13. package/front_end/core/common/Revealer.ts +15 -15
  14. package/front_end/core/common/SettingRegistration.ts +19 -19
  15. package/front_end/core/host/AidaClient.ts +35 -9
  16. package/front_end/core/host/GdpClient.ts +10 -7
  17. package/front_end/core/platform/StringUtilities.ts +35 -0
  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 +8 -5
  21. package/front_end/core/sdk/CSSMetadata.ts +110 -16
  22. package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +2 -5
  23. package/front_end/core/sdk/ConsoleModel.ts +5 -5
  24. package/front_end/core/sdk/DOMDebuggerModel.ts +5 -1
  25. package/front_end/core/sdk/DOMModel.ts +32 -18
  26. package/front_end/core/sdk/NetworkManager.ts +58 -14
  27. package/front_end/core/sdk/NetworkRequest.ts +37 -1
  28. package/front_end/core/sdk/OverlayModel.ts +45 -6
  29. package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
  30. package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
  31. package/front_end/core/sdk/ServerTiming.ts +17 -13
  32. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +4 -2
  33. package/front_end/core/sdk/ServiceWorkerManager.ts +19 -5
  34. package/front_end/core/sdk/TargetManager.ts +10 -1
  35. package/front_end/core/sdk/TraceObject.ts +4 -2
  36. package/front_end/core/sdk/sdk-meta.ts +170 -0
  37. package/front_end/design_system_tokens.css +0 -5
  38. package/front_end/entrypoints/devtools_app/devtools_app.ts +1 -1
  39. package/front_end/entrypoints/formatter_worker/CSSFormatter.ts +13 -4
  40. package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.ts +5 -2
  41. package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +23 -4
  42. package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +33 -10
  43. package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +8 -3
  44. package/front_end/entrypoints/inspector_main/InspectorMain.ts +4 -4
  45. package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +2 -2
  46. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +36 -37
  47. package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +15 -33
  48. package/front_end/entrypoints/js_app/js_app.ts +6 -5
  49. package/front_end/entrypoints/main/GlobalAiButton.ts +4 -4
  50. package/front_end/entrypoints/main/MainImpl.ts +25 -55
  51. package/front_end/entrypoints/main/main-meta.ts +50 -50
  52. package/front_end/entrypoints/node_app/app/NodeConnectionsPanel.ts +5 -5
  53. package/front_end/entrypoints/node_app/app/NodeMain.ts +3 -3
  54. package/front_end/entrypoints/node_app/node_app.ts +10 -9
  55. package/front_end/entrypoints/worker_app/WorkerMain.ts +1 -1
  56. package/front_end/foundation/Universe.ts +76 -6
  57. package/front_end/generated/InspectorBackendCommands.ts +3 -3
  58. package/front_end/generated/SupportedCSSProperties.js +19 -12
  59. package/front_end/generated/protocol.ts +7 -1
  60. package/front_end/models/ai_assistance/AiConversation.ts +19 -17
  61. package/front_end/models/ai_assistance/AiHistoryStorage.ts +37 -14
  62. package/front_end/models/ai_assistance/AiUtils.ts +38 -42
  63. package/front_end/models/ai_assistance/agents/AiAgent.ts +5 -1
  64. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +3 -2
  65. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +2 -1
  66. package/front_end/models/ai_assistance/agents/StorageAgent.ts +7 -5
  67. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +270 -286
  68. package/front_end/models/ai_assistance/data_formatters/UnitFormatters.ts +20 -0
  69. package/front_end/models/ai_assistance/performance/AICallTree.ts +3 -1
  70. package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +3 -2
  71. package/front_end/models/autofill_manager/AutofillManager.ts +3 -1
  72. package/front_end/models/bindings/CSSWorkspaceBinding.ts +8 -5
  73. package/front_end/models/bindings/CompilerScriptMapping.ts +2 -1
  74. package/front_end/models/bindings/DebuggerLanguagePlugins.ts +15 -16
  75. package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +6 -4
  76. package/front_end/models/bindings/FileUtils.ts +11 -12
  77. package/front_end/models/bindings/NetworkProject.ts +4 -0
  78. package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -1
  79. package/front_end/models/bindings/ResourceUtils.ts +1 -1
  80. package/front_end/models/bindings/SASSSourceMapping.ts +8 -5
  81. package/front_end/models/emulation/DeviceModeModel.ts +14 -14
  82. package/front_end/models/emulation/EmulatedDevices.ts +392 -11
  83. package/front_end/models/extensions/ExtensionAPI.ts +6 -6
  84. package/front_end/models/extensions/LanguageExtensionEndpoint.ts +13 -12
  85. package/front_end/models/issues_manager/BounceTrackingIssue.ts +1 -1
  86. package/front_end/models/issues_manager/ClientHintIssue.ts +1 -1
  87. package/front_end/models/issues_manager/ConnectionAllowlistIssue.ts +1 -1
  88. package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +7 -7
  89. package/front_end/models/issues_manager/CookieDeprecationMetadataIssue.ts +2 -2
  90. package/front_end/models/issues_manager/CookieIssue.ts +6 -7
  91. package/front_end/models/issues_manager/CorsIssue.ts +3 -3
  92. package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +2 -2
  93. package/front_end/models/issues_manager/DeprecationIssue.ts +3 -3
  94. package/front_end/models/issues_manager/EmailVerificationRequestIssue.ts +1 -1
  95. package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +1 -1
  96. package/front_end/models/issues_manager/FederatedAuthUserInfoRequestIssue.ts +1 -1
  97. package/front_end/models/issues_manager/GenericIssue.ts +7 -7
  98. package/front_end/models/issues_manager/HeavyAdIssue.ts +3 -3
  99. package/front_end/models/issues_manager/Issue.ts +8 -8
  100. package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
  101. package/front_end/models/issues_manager/PartitioningBlobURLIssue.ts +3 -3
  102. package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
  103. package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +2 -2
  104. package/front_end/models/issues_manager/SelectivePermissionsInterventionIssue.ts +2 -2
  105. package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +2 -2
  106. package/front_end/models/issues_manager/SharedDictionaryIssue.ts +1 -1
  107. package/front_end/models/issues_manager/UnencodedDigestIssue.ts +3 -3
  108. package/front_end/models/javascript_metadata/NativeFunctions.js +5 -1
  109. package/front_end/models/stack_trace/StackTraceModel.ts +3 -3
  110. package/front_end/models/text_utils/ContentData.ts +27 -0
  111. package/front_end/models/trace/helpers/SamplesIntegrator.ts +21 -5
  112. package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +29 -14
  113. package/front_end/models/web_mcp/WebMCPModel.ts +24 -6
  114. package/front_end/models/workspace/IgnoreListManager.ts +6 -6
  115. package/front_end/models/workspace/UISourceCode.ts +3 -3
  116. package/front_end/models/workspace_diff/WorkspaceDiff.ts +23 -12
  117. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +25 -22
  118. package/front_end/panels/ai_assistance/ExportConversation.ts +3 -4
  119. package/front_end/panels/ai_assistance/ai_assistance-meta.ts +3 -3
  120. package/front_end/panels/ai_assistance/components/ChatInput.ts +2 -2
  121. package/front_end/panels/ai_assistance/components/ChatMessage.ts +7 -0
  122. package/front_end/panels/ai_assistance/components/DisabledWidget.ts +2 -2
  123. package/front_end/panels/animation/AnimationTimeline.ts +17 -19
  124. package/front_end/panels/animation/AnimationUI.ts +5 -5
  125. package/front_end/panels/animation/animation-meta.ts +2 -2
  126. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -4
  127. package/front_end/panels/application/BackgroundServiceView.ts +2 -1
  128. package/front_end/panels/application/DeviceBoundSessionsView.ts +2 -6
  129. package/front_end/panels/application/IndexedDBViews.ts +245 -262
  130. package/front_end/panels/application/OpenedWindowDetailsView.ts +1 -1
  131. package/front_end/panels/application/ResourcesPanel.ts +9 -2
  132. package/front_end/panels/application/ServiceWorkersView.ts +252 -211
  133. package/front_end/panels/application/StorageView.ts +97 -33
  134. package/front_end/panels/application/WebMCPView.ts +15 -1
  135. package/front_end/panels/application/components/AdsView.ts +1 -1
  136. package/front_end/panels/application/indexedDBViews.css +38 -9
  137. package/front_end/panels/application/preloading/helper/PreloadingForward.ts +2 -1
  138. package/front_end/panels/application/resourcesSidebar.css +5 -0
  139. package/front_end/panels/application/storageView.css +26 -9
  140. package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +5 -1
  141. package/front_end/panels/browser_debugger/browser_debugger-meta.ts +8 -6
  142. package/front_end/panels/common/DOMLinkifier.ts +1 -1
  143. package/front_end/panels/common/ExtensionServer.ts +119 -14
  144. package/front_end/panels/console/ConsoleContextSelector.ts +4 -4
  145. package/front_end/panels/console/ConsolePinPane.ts +12 -12
  146. package/front_end/panels/console/ConsolePrompt.ts +6 -6
  147. package/front_end/panels/console/ConsoleSidebar.ts +7 -7
  148. package/front_end/panels/console/ConsoleView.ts +45 -44
  149. package/front_end/panels/console/ConsoleViewMessage.ts +40 -40
  150. package/front_end/panels/console/SymbolizedErrorWidget.ts +2 -1
  151. package/front_end/panels/console/console-meta.ts +34 -34
  152. package/front_end/panels/console_counters/WarningErrorCounter.ts +2 -2
  153. package/front_end/panels/coverage/CoverageListView.ts +28 -28
  154. package/front_end/panels/coverage/CoverageModel.ts +2 -1
  155. package/front_end/panels/coverage/CoverageView.ts +23 -23
  156. package/front_end/panels/coverage/coverage-meta.ts +5 -5
  157. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +36 -36
  158. package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -1
  159. package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +2 -2
  160. package/front_end/panels/css_overview/CSSOverviewStartView.ts +6 -6
  161. package/front_end/panels/css_overview/CSSOverviewUnusedDeclarations.ts +6 -6
  162. package/front_end/panels/css_overview/css_overview-meta.ts +2 -2
  163. package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +20 -21
  164. package/front_end/panels/developer_resources/DeveloperResourcesView.ts +6 -8
  165. package/front_end/panels/developer_resources/developer_resources-meta.ts +2 -2
  166. package/front_end/panels/elements/AccessibilityTreeUtils.ts +8 -102
  167. package/front_end/panels/elements/AccessibilityTreeView.ts +163 -70
  168. package/front_end/panels/elements/ElementsPanel.ts +17 -11
  169. package/front_end/panels/elements/ElementsTreeElement.ts +49 -2
  170. package/front_end/panels/elements/ElementsTreeOutline.ts +4 -4
  171. package/front_end/panels/elements/LayoutPane.ts +1 -1
  172. package/front_end/panels/elements/MetricsSidebarPane.ts +100 -34
  173. package/front_end/panels/elements/StylePropertiesSection.ts +2 -2
  174. package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -2
  175. package/front_end/panels/elements/StylesSidebarPane.ts +1 -1
  176. package/front_end/panels/elements/components/AccessibilityTreeNode.ts +7 -18
  177. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -2
  178. package/front_end/panels/elements/components/QueryContainer.ts +1 -1
  179. package/front_end/panels/issues/AffectedDirectivesView.ts +1 -1
  180. package/front_end/panels/issues/AffectedResourcesView.ts +2 -1
  181. package/front_end/panels/layer_viewer/LayerViewHost.ts +1 -1
  182. package/front_end/panels/media/EventDisplayTable.ts +2 -2
  183. package/front_end/panels/media/EventTimelineView.ts +4 -4
  184. package/front_end/panels/media/MainView.ts +4 -4
  185. package/front_end/panels/media/PlayerDetailView.ts +5 -5
  186. package/front_end/panels/media/PlayerListView.ts +1 -1
  187. package/front_end/panels/media/PlayerMessagesView.ts +12 -12
  188. package/front_end/panels/media/PlayerPropertiesView.ts +17 -17
  189. package/front_end/panels/network/NetworkDataGridNode.ts +124 -36
  190. package/front_end/panels/network/NetworkLogView.ts +11 -2
  191. package/front_end/panels/network/NetworkLogViewColumns.ts +18 -0
  192. package/front_end/panels/network/NetworkPanel.ts +2 -1
  193. package/front_end/panels/network/NetworkWaterfallColumn.ts +1 -3
  194. package/front_end/panels/network/RequestConditionsDrawer.ts +2 -2
  195. package/front_end/panels/network/RequestPayloadView.ts +53 -7
  196. package/front_end/panels/network/RequestPreviewView.ts +7 -1
  197. package/front_end/panels/network/components/ResponseHeaderSection.ts +1 -1
  198. package/front_end/panels/network/forward/UIFilter.ts +1 -0
  199. package/front_end/panels/network/networkPanel.css +1 -0
  200. package/front_end/panels/network/networkTimingTable.css +1 -1
  201. package/front_end/panels/network/requestPayloadView.css +10 -0
  202. package/front_end/panels/performance_monitor/PerformanceMonitor.ts +12 -12
  203. package/front_end/panels/performance_monitor/performance_monitor-meta.ts +7 -7
  204. package/front_end/panels/profiler/HeapDetachedElementsView.ts +2 -2
  205. package/front_end/panels/profiler/HeapProfileView.ts +563 -51
  206. package/front_end/panels/profiler/HeapSnapshotView.ts +15 -9
  207. package/front_end/panels/profiler/ProfilesPanel.ts +13 -7
  208. package/front_end/panels/profiler/WritableProfileHeader.ts +152 -0
  209. package/front_end/panels/profiler/profiler.ts +2 -2
  210. package/front_end/panels/protocol_monitor/JSONEditor.ts +10 -10
  211. package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +28 -32
  212. package/front_end/panels/protocol_monitor/protocol_monitor-meta.ts +1 -1
  213. package/front_end/panels/recorder/RecorderController.ts +15 -15
  214. package/front_end/panels/recorder/RecorderEvents.ts +8 -0
  215. package/front_end/panels/recorder/components/CreateRecordingView.ts +11 -11
  216. package/front_end/panels/recorder/components/ExtensionView.ts +74 -83
  217. package/front_end/panels/recorder/components/RecordingListView.ts +3 -3
  218. package/front_end/panels/recorder/components/RecordingView.ts +13 -10
  219. package/front_end/panels/recorder/components/ReplaySection.ts +9 -9
  220. package/front_end/panels/recorder/components/StepEditor.ts +352 -321
  221. package/front_end/panels/recorder/components/StepView.ts +36 -37
  222. package/front_end/panels/recorder/components/recordingView.css +1 -1
  223. package/front_end/panels/recorder/models/RecorderSettings.ts +2 -2
  224. package/front_end/panels/recorder/recorder-meta.ts +7 -7
  225. package/front_end/panels/screencast/ScreencastApp.ts +1 -1
  226. package/front_end/panels/screencast/ScreencastView.ts +12 -12
  227. package/front_end/panels/search/SearchResultsPane.ts +4 -4
  228. package/front_end/panels/search/SearchView.ts +20 -20
  229. package/front_end/panels/security/SecurityModel.ts +7 -7
  230. package/front_end/panels/security/SecurityPanel.ts +99 -107
  231. package/front_end/panels/security/SecurityPanelSidebar.ts +7 -7
  232. package/front_end/panels/security/security-meta.ts +2 -2
  233. package/front_end/panels/sensors/LocationsSettingsTab.ts +19 -19
  234. package/front_end/panels/sensors/SensorsView.ts +27 -27
  235. package/front_end/panels/sensors/sensors-meta.ts +13 -167
  236. package/front_end/panels/settings/AISettingsTab.ts +98 -56
  237. package/front_end/panels/settings/EditFileSystemView.ts +2 -2
  238. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +20 -20
  239. package/front_end/panels/settings/KeybindsSettingsTab.ts +20 -21
  240. package/front_end/panels/settings/SettingsScreen.ts +11 -11
  241. package/front_end/panels/settings/WorkspaceSettingsTab.ts +5 -5
  242. package/front_end/panels/settings/components/SyncSection.ts +12 -12
  243. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +13 -13
  244. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +31 -31
  245. package/front_end/panels/settings/emulation/emulation-meta.ts +1 -1
  246. package/front_end/panels/settings/settings-meta.ts +14 -14
  247. package/front_end/panels/sources/NavigatorView.ts +7 -6
  248. package/front_end/panels/sources/ScopeChainSidebarPane.ts +83 -37
  249. package/front_end/panels/sources/SourcesNavigator.ts +20 -18
  250. package/front_end/panels/sources/SourcesView.ts +10 -1
  251. package/front_end/panels/sources/scopeChainSidebarPane.css +12 -4
  252. package/front_end/panels/sources/sources-meta.ts +4 -4
  253. package/front_end/panels/timeline/CompatibilityTracksAppender.ts +5 -2
  254. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +2 -1
  255. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +2 -1
  256. package/front_end/panels/timeline/TimelineFlameChartView.ts +1 -1
  257. package/front_end/panels/timeline/TimelinePanel.ts +2 -1
  258. package/front_end/panels/timeline/TimelineUIUtils.ts +5 -2
  259. package/front_end/panels/timeline/components/NetworkRequestDetails.ts +4 -2
  260. package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +4 -2
  261. package/front_end/panels/timeline/components/insights/ImageRef.ts +2 -1
  262. package/front_end/panels/utils/utils.ts +7 -3
  263. package/front_end/panels/web_audio/WebAudioView.ts +17 -18
  264. package/front_end/panels/web_audio/web_audio-meta.ts +3 -3
  265. package/front_end/panels/webauthn/WebauthnPane.ts +10 -10
  266. package/front_end/panels/whats_new/ReleaseNoteView.ts +1 -1
  267. package/front_end/panels/whats_new/whats_new-meta.ts +11 -11
  268. package/front_end/third_party/chromium/README.chromium +1 -1
  269. package/front_end/third_party/lit/lib/async-directive.d.ts +2 -1
  270. package/front_end/third_party/lit/lib/async-directive.js +1 -1
  271. package/front_end/third_party/lit/lib/async-directive.js.map +1 -1
  272. package/front_end/third_party/lit/lib/decorators.d.ts +2 -1
  273. package/front_end/third_party/lit/lib/decorators.js.map +1 -1
  274. package/front_end/third_party/lit/lib/directive.d.ts +2 -1
  275. package/front_end/third_party/lit/lib/directive.js.map +1 -1
  276. package/front_end/third_party/lit/lib/directives.d.ts +2 -1
  277. package/front_end/third_party/lit/lib/directives.js +8 -8
  278. package/front_end/third_party/lit/lib/directives.js.map +1 -1
  279. package/front_end/third_party/lit/lib/lit.d.ts +2 -1
  280. package/front_end/third_party/lit/lib/lit.js +1 -1
  281. package/front_end/third_party/lit/lib/lit.js.map +1 -1
  282. package/front_end/third_party/lit/lib/static-html.d.ts +2 -1
  283. package/front_end/third_party/lit/lib/static-html.js +1 -1
  284. package/front_end/third_party/lit/lib/static-html.js.map +1 -1
  285. package/front_end/third_party/lit/package.json +2 -2
  286. package/front_end/third_party/lit/rebuild.sh +1 -1
  287. package/front_end/third_party/lit/src/async-directive.ts +5 -0
  288. package/front_end/ui/components/dialogs/Dialog.ts +1 -1
  289. package/front_end/ui/components/dialogs/ShortcutDialog.ts +1 -1
  290. package/front_end/ui/components/dialogs/shortcutDialog.css +15 -12
  291. package/front_end/ui/components/diff_view/DiffView.ts +2 -2
  292. package/front_end/ui/components/issue_counter/IssueCounter.ts +3 -3
  293. package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +5 -5
  294. package/front_end/ui/components/lists/List.ts +2 -2
  295. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -1
  296. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +5 -5
  297. package/front_end/ui/components/settings/SettingCheckbox.ts +1 -1
  298. package/front_end/ui/components/snackbars/Snackbar.ts +1 -1
  299. package/front_end/ui/components/survey_link/SurveyLink.ts +3 -3
  300. package/front_end/ui/components/text_editor/config.ts +2 -2
  301. package/front_end/ui/components/tree_outline/TreeOutline.ts +34 -1
  302. package/front_end/ui/legacy/ReportView.ts +5 -0
  303. package/front_end/ui/legacy/Treeoutline.ts +18 -0
  304. package/front_end/ui/legacy/View.ts +1 -1
  305. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +2 -0
  306. package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +8 -3
  307. package/front_end/ui/legacy/components/data_grid/data_grid.ts +1 -0
  308. package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
  309. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +100 -36
  310. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +7 -1
  311. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +5 -0
  312. package/front_end/ui/legacy/components/utils/ImagePreview.ts +4 -2
  313. package/front_end/ui/legacy/inspectorCommon.css +5 -0
  314. package/front_end/ui/visual_logging/KnownContextValues.ts +4 -0
  315. package/mcp/mcp.ts +2 -0
  316. package/package.json +4 -4
  317. package/front_end/panels/profiler/ProfileView.ts +0 -610
@@ -10,7 +10,7 @@ import type * as Console from './console.js';
10
10
 
11
11
  const UIStrings = {
12
12
  /**
13
- * @description Title of the Console tool
13
+ * @description Title of the Console tool.
14
14
  */
15
15
  console: 'Console',
16
16
  /**
@@ -22,61 +22,61 @@ const UIStrings = {
22
22
  */
23
23
  toggleConsole: 'Toggle Console',
24
24
  /**
25
- * @description Text to clear the console
25
+ * @description Text to clear the console.
26
26
  */
27
27
  clearConsole: 'Clear console',
28
28
  /**
29
- * @description Title of an action in the console tool to clear
29
+ * @description Title of an action in the Console tool to clear.
30
30
  */
31
31
  clearConsoleHistory: 'Clear console history',
32
32
  /**
33
- * @description Title of an action in the console tool to create pin. A live expression is code that the user can enter into the console and it will be pinned in the UI. Live expressions are constantly evaluated as the user interacts with the console (hence 'live').
33
+ * @description Title of an action in the Console tool to create pin. A live expression is code that the user can enter into the Console and it will be pinned in the UI. Live expressions are constantly evaluated as the user interacts with the Console (hence 'live').
34
34
  */
35
35
  createLiveExpression: 'Create live expression',
36
36
  /**
37
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
37
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
38
38
  */
39
39
  networkMessages: 'Network messages',
40
40
  /**
41
- * @description Title of an option under the Console category that can be invoked through the Command Menu
41
+ * @description Title of an option under the Console category that can be invoked through the command menu.
42
42
  */
43
43
  hideNetworkMessages: 'Hide network messages',
44
44
  /**
45
- * @description Title of an option under the Console category that can be invoked through the Command Menu
45
+ * @description Title of an option under the Console category that can be invoked through the command menu.
46
46
  */
47
47
  showNetworkMessages: 'Show network messages',
48
48
  /**
49
- * @description Alternative title text of a setting in Console View of the Console panel
49
+ * @description Alternative title text of a setting in Console view of the Console panel.
50
50
  */
51
51
  selectedContextOnly: 'Selected context only',
52
52
  /**
53
- * @description Tooltip text that appears on the setting when hovering over it in Console View of the Console panel
53
+ * @description Tooltip text that appears on the setting when hovering over it in Console view of the Console panel.
54
54
  */
55
55
  onlyShowMessagesFromTheCurrent: 'Only show messages from the current context (`top`, `iframe`, `worker`, extension)',
56
56
  /**
57
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
57
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
58
58
  */
59
59
  showMessagesFromAllContexts: 'Show messages from all contexts',
60
60
  /**
61
- * @description Title of a setting under the Console category
61
+ * @description Title of a setting under the Console category.
62
62
  */
63
63
  timestamps: 'Timestamps',
64
64
  /**
65
- * @description Title of an option under the Console category that can be invoked through the Command Menu
65
+ * @description Title of an option under the Console category that can be invoked through the command menu.
66
66
  */
67
67
  showTimestamps: 'Show timestamps',
68
68
  /**
69
- * @description Title of an option under the Console category that can be invoked through the Command Menu
69
+ * @description Title of an option under the Console category that can be invoked through the command menu.
70
70
  */
71
71
  hideTimestamps: 'Hide timestamps',
72
72
  /**
73
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
73
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
74
74
  */
75
75
  autocompleteFromHistory: 'Autocomplete from history',
76
76
  /**
77
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
77
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
78
78
  */
79
- doNotAutocompleteFromHistory: 'Do not autocomplete from history',
79
+ doNotAutocompleteFromHistory: 'Don’t autocomplete from history',
80
80
  /**
81
81
  * @description Title of a setting under the Console category that controls whether to accept autocompletion with Enter.
82
82
  */
@@ -84,51 +84,51 @@ const UIStrings = {
84
84
  /**
85
85
  * @description Title of a setting under the Console category that controls whether to accept autocompletion with Enter.
86
86
  */
87
- doNotAutocompleteOnEnter: 'Do not accept autocomplete suggestion on Enter',
87
+ doNotAutocompleteOnEnter: 'Don’t accept autocomplete suggestion on Enter',
88
88
  /**
89
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
89
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
90
90
  */
91
91
  groupSimilarMessages: 'Group similar messages',
92
92
  /**
93
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
93
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
94
94
  */
95
- doNotGroupSimilarMessages: 'Don\'t group similar messages',
95
+ doNotGroupSimilarMessages: 'Dont group similar messages',
96
96
  /**
97
- * @description Title of a setting under the Console category in Settings
97
+ * @description Title of a setting under the Console category in Settings.
98
98
  */
99
99
  corsErrorsInConsole: 'CORS errors in console',
100
100
  /**
101
- * @description Title of an option under the Console category that can be invoked through the Command Menu
101
+ * @description Title of an option under the Console category that can be invoked through the command menu.
102
102
  */
103
103
  showCorsErrorsInConsole: 'Show CORS errors in console',
104
104
  /**
105
- * @description Title of an option under the Console category that can be invoked through the Command Menu
105
+ * @description Title of an option under the Console category that can be invoked through the command menu.
106
106
  */
107
- doNotShowCorsErrorsIn: 'Don\'t show CORS errors in console',
107
+ doNotShowCorsErrorsIn: 'Dont show CORS errors in console',
108
108
  /**
109
- * @description Title of a setting under the Console category in Settings
109
+ * @description Title of a setting under the Console category in Settings.
110
110
  */
111
111
  eagerEvaluation: 'Eager evaluation',
112
112
  /**
113
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
113
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
114
114
  */
115
- eagerlyEvaluateConsolePromptText: 'Eagerly evaluate console prompt text',
115
+ eagerlyEvaluateConsolePromptText: 'Eagerly evaluate Console prompt text',
116
116
  /**
117
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
117
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
118
118
  */
119
- doNotEagerlyEvaluateConsole: 'Do not eagerly evaluate console prompt text',
119
+ doNotEagerlyEvaluateConsole: 'Don’t eagerly evaluate Console prompt text',
120
120
  /**
121
- * @description Allows code that is executed in the console to do things that usually are only allowed if triggered by a user action
121
+ * @description Allows code that is executed in the Console to do things that usually are only allowed if triggered by a user action.
122
122
  */
123
123
  evaluateTriggersUserActivation: 'Treat code evaluation as user action',
124
124
  /**
125
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
125
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
126
126
  */
127
127
  treatEvaluationAsUserActivation: 'Treat evaluation as user activation',
128
128
  /**
129
- * @description Title of a setting under the Console category that can be invoked through the Command Menu
129
+ * @description Title of a setting under the Console category that can be invoked through the command menu.
130
130
  */
131
- doNotTreatEvaluationAsUser: 'Do not treat evaluation as user activation',
131
+ doNotTreatEvaluationAsUser: 'Don’t treat evaluation as user activation',
132
132
  /**
133
133
  * @description Title of a setting under the Console category in Settings that controls whether `console.trace()` messages appear expanded by default.
134
134
  */
@@ -136,7 +136,7 @@ const UIStrings = {
136
136
  /**
137
137
  * @description Title of a setting under the Console category in Settings that controls whether `console.trace()` messages appear collapsed by default.
138
138
  */
139
- collapseConsoleTraceMessagesByDefault: 'Do not automatically expand `console.trace()` messages',
139
+ collapseConsoleTraceMessagesByDefault: 'Don’t automatically expand `console.trace()` messages',
140
140
  /**
141
141
  * @description Title of a setting under the Console category in Settings that controls whether AI summaries should
142
142
  * be shown for console warnings/errors.
@@ -168,8 +168,8 @@ export class WarningErrorCounterWidget extends UI.Widget.Widget {
168
168
  }
169
169
 
170
170
  override async performUpdate(): Promise<void> {
171
- const errors = SDK.ConsoleModel.ConsoleModel.allErrors();
172
- const warnings = SDK.ConsoleModel.ConsoleModel.allWarnings();
171
+ const errors = SDK.ConsoleModel.ConsoleModel.allErrors(SDK.TargetManager.TargetManager.instance());
172
+ const warnings = SDK.ConsoleModel.ConsoleModel.allWarnings(SDK.TargetManager.TargetManager.instance());
173
173
  const issuesManager = IssuesManager.IssuesManager.IssuesManager.instance();
174
174
  const issues = issuesManager.numberOfIssues();
175
175
 
@@ -32,56 +32,56 @@ export interface CoverageListItem {
32
32
 
33
33
  const UIStrings = {
34
34
  /**
35
- * @description Text that appears on a button for the css resource type filter.
35
+ * @description Text that appears on a button for the CSS resource type filter.
36
36
  */
37
37
  css: 'CSS',
38
38
  /**
39
- * @description Text in Coverage List View of the Coverage tab
39
+ * @description Text in coverage list view of the Coverage tab.
40
40
  */
41
41
  jsPerFunction: 'JS (per function)',
42
42
  /**
43
- * @description Text in Coverage List View of the Coverage tab
43
+ * @description Text in coverage list view of the Coverage tab.
44
44
  */
45
45
  jsPerBlock: 'JS (per block)',
46
46
  /**
47
- * @description Text for web URLs
47
+ * @description Text for web URLs.
48
48
  */
49
49
  url: 'URL',
50
50
  /**
51
- * @description Text that refers to some types
51
+ * @description Text that refers to some types.
52
52
  */
53
53
  type: 'Type',
54
54
  /**
55
- * @description Text in Coverage List View of the Coverage tab
55
+ * @description Text in coverage list view of the Coverage tab.
56
56
  */
57
- totalBytes: 'Total Bytes',
57
+ totalBytes: 'Total bytes',
58
58
  /**
59
- * @description Text in Coverage List View of the Coverage tab
59
+ * @description Text in coverage list view of the Coverage tab.
60
60
  */
61
- unusedBytes: 'Unused Bytes',
61
+ unusedBytes: 'Unused bytes',
62
62
  /**
63
- * @description Text in the Coverage List View of the Coverage Tab
63
+ * @description Text in the coverage list view of the Coverage tab.
64
64
  */
65
- usageVisualization: 'Usage Visualization',
65
+ usageVisualization: 'Usage visualization',
66
66
  /**
67
- * @description Data grid name for Coverage data grids
67
+ * @description Data grid name for Coverage data grids.
68
68
  */
69
- codeCoverage: 'Code Coverage',
69
+ codeCoverage: 'Code coverage',
70
70
  /**
71
- * @description Cell title in Coverage List View of the Coverage tab. The coverage tool tells
72
- *developers which functions (logical groups of lines of code) were actually run/executed. If a
73
- *function does get run, then it is marked in the UI to indicate that it was covered.
71
+ * @description Cell title in coverage list view of the Coverage tab. The coverage tool tells
72
+ * developers which functions (logical groups of lines of code) were actually run/executed. If a
73
+ * function does get run, then it is marked in the UI to indicate that it was covered.
74
74
  */
75
75
  jsCoverageWithPerFunction:
76
- 'JS coverage with per function granularity: Once a function was executed, the whole function is marked as covered.',
76
+ 'JS coverage with per function granularity: once a function was executed, the whole function is marked as covered.',
77
77
  /**
78
- * @description Cell title in Coverage List View of the Coverage tab. The coverage tool tells
79
- *developers which blocks (logical groups of lines of code, smaller than a function) were actually
80
- *run/executed. If a block does get run, then it is marked in the UI to indicate that it was
81
- *covered.
78
+ * @description Cell title in coverage list view of the Coverage tab. The coverage tool tells
79
+ * developers which blocks (logical groups of lines of code, smaller than a function) were actually
80
+ * run/executed. If a block does get run, then it is marked in the UI to indicate that it was
81
+ * covered.
82
82
  */
83
83
  jsCoverageWithPerBlock:
84
- 'JS coverage with per block granularity: Once a block of JavaScript was executed, that block is marked as covered.',
84
+ 'JS coverage with per block granularity: once a block of JavaScript was executed, that block is marked as covered.',
85
85
  /**
86
86
  * @description Accessible text for the value in bytes in memory allocation or coverage view.
87
87
  */
@@ -94,25 +94,25 @@ const UIStrings = {
94
94
  /**
95
95
  * @description Tooltip text for the bar in the coverage list view of the coverage tool that illustrates the relation between used and unused bytes.
96
96
  * @example {1000} PH1
97
- * @example {12.34} PH2
97
+ * @example {12.34%} PH2
98
98
  */
99
99
  sBytesSBelongToFunctionsThatHave: '{PH1} bytes ({PH2}) belong to functions that have not (yet) been executed.',
100
100
  /**
101
101
  * @description Tooltip text for the bar in the coverage list view of the coverage tool that illustrates the relation between used and unused bytes.
102
102
  * @example {1000} PH1
103
- * @example {12.34} PH2
103
+ * @example {12.34%} PH2
104
104
  */
105
105
  sBytesSBelongToBlocksOf: '{PH1} bytes ({PH2}) belong to blocks of JavaScript that have not (yet) been executed.',
106
106
  /**
107
- * @description Message in Coverage View of the Coverage tab
107
+ * @description Message in Coverage View of the Coverage tab.
108
108
  * @example {1000} PH1
109
- * @example {12.34} PH2
109
+ * @example {12.34%} PH2
110
110
  */
111
111
  sBytesSBelongToFunctionsThatHaveExecuted: '{PH1} bytes ({PH2}) belong to functions that have executed at least once.',
112
112
  /**
113
- * @description Message in Coverage View of the Coverage tab
113
+ * @description Message in Coverage View of the Coverage tab.
114
114
  * @example {1000} PH1
115
- * @example {12.34} PH2
115
+ * @example {12.34%} PH2
116
116
  */
117
117
  sBytesSBelongToBlocksOfJavascript:
118
118
  '{PH1} bytes ({PH2}) belong to blocks of JavaScript that have executed at least once.',
@@ -808,7 +808,8 @@ export class URLCoverageInfo extends Common.ObjectWrapper.ObjectWrapper<URLCover
808
808
  if (!useFullText) {
809
809
  return null;
810
810
  }
811
- const resource = SDK.ResourceTreeModel.ResourceTreeModel.resourceForURL(url);
811
+ const resource =
812
+ SDK.ResourceTreeModel.ResourceTreeModel.resourceForURL(SDK.TargetManager.TargetManager.instance(), url);
812
813
  if (!resource) {
813
814
  return null;
814
815
  }
@@ -30,91 +30,91 @@ import coverageViewStyles from './coverageView.css.js';
30
30
 
31
31
  const UIStrings = {
32
32
  /**
33
- * @description Tooltip in Coverage List View of the Coverage tab for selecting JavaScript coverage mode
33
+ * @description Tooltip in coverage list view of the Coverage tab for selecting JavaScript coverage mode.
34
34
  */
35
35
  chooseCoverageGranularityPer:
36
- 'Choose coverage granularity: Per function has low overhead, per block has significant overhead.',
36
+ 'Choose coverage granularity: per function has low overhead, per block has significant overhead.',
37
37
  /**
38
- * @description Text in Coverage List View of the Coverage tab
38
+ * @description Text in coverage list view of the Coverage tab.
39
39
  */
40
40
  perFunction: 'Per function',
41
41
  /**
42
- * @description Text in Coverage List View of the Coverage tab
42
+ * @description Text in coverage list view of the Coverage tab.
43
43
  */
44
44
  perBlock: 'Per block',
45
45
  /**
46
- * @description Text in Coverage View of the Coverage tab
46
+ * @description Text in Coverage View of the Coverage tab.
47
47
  */
48
48
  filterByUrl: 'Filter by URL',
49
49
  /**
50
- * @description Label for the type filter in the Coverage Panel
50
+ * @description Label for the type filter in the Coverage panel.
51
51
  */
52
52
  filterCoverageByType: 'Filter coverage by type',
53
53
  /**
54
- * @description Text for everything
54
+ * @description Option in the type filter dropdown of the Coverage panel to show all resource types (both CSS and JavaScript).
55
55
  */
56
56
  all: 'All',
57
57
  /**
58
- * @description Text that appears on a button for the css resource type filter.
58
+ * @description Text that appears on a button for the CSS resource type filter.
59
59
  */
60
60
  css: 'CSS',
61
61
  /**
62
- * @description Text in Timeline Tree View of the Performance panel
62
+ * @description Text in Timeline Tree View of the Performance panel.
63
63
  */
64
64
  javascript: 'JavaScript',
65
65
  /**
66
- * @description Tooltip text that appears on the setting when hovering over it in Coverage View of the Coverage tab
66
+ * @description Tooltip text that appears on the setting when hovering over it in Coverage View of the Coverage tab.
67
67
  */
68
68
  includeExtensionContentScripts: 'Include extension content scripts',
69
69
  /**
70
- * @description Title for a type of source files
70
+ * @description Title for a type of source files.
71
71
  */
72
72
  contentScripts: 'Content scripts',
73
73
  /**
74
- * @description Message in Coverage View of the Coverage tab
74
+ * @description Message in Coverage View of the Coverage tab.
75
75
  */
76
76
  noCoverageData: 'No coverage data',
77
77
  /**
78
- * @description Message in Coverage View of the Coverage tab
78
+ * @description Message in Coverage View of the Coverage tab.
79
79
  */
80
80
  reloadPage: 'Reload page',
81
81
  /**
82
- * @description Message in Coverage View of the Coverage tab
82
+ * @description Message in Coverage View of the Coverage tab.
83
83
  */
84
84
  startRecording: 'Start recording',
85
85
 
86
86
  /**
87
- * @description Message in Coverage View of the Coverage tab
87
+ * @description Message in Coverage View of the Coverage tab.
88
88
  * @example {Reload page} PH1
89
89
  */
90
- clickTheReloadButtonSToReloadAnd: 'Click the "{PH1}" button to reload and start capturing coverage.',
90
+ clickTheReloadButtonSToReloadAnd: 'Click the {PH1} button to reload and start capturing coverage.',
91
91
  /**
92
- * @description Message in Coverage View of the Coverage tab
92
+ * @description Message in Coverage View of the Coverage tab.
93
93
  * @example {Start recording} PH1
94
94
  */
95
- clickTheRecordButtonSToStart: 'Click the "{PH1}" button to start capturing coverage.',
95
+ clickTheRecordButtonSToStart: 'Click the {PH1} button to start capturing coverage.',
96
96
  /**
97
97
  * @description Message in the Coverage View explaining that DevTools could not capture coverage.
98
98
  */
99
99
  bfcacheNoCapture: 'Could not capture coverage info because the page was served from the back/forward cache.',
100
100
  /**
101
- * @description Message in the Coverage View explaining that DevTools could not capture coverage.
101
+ * @description Message in the Coverage View explaining that DevTools could not capture coverage.
102
102
  */
103
103
  activationNoCapture: 'Could not capture coverage info because the page was prerendered in the background.',
104
104
  /**
105
- * @description Message in the Coverage View prompting the user to reload the page.
105
+ * @description Message in the Coverage View prompting the user to reload the page.
106
106
  * @example {reload button icon} PH1
107
107
  */
108
108
  reloadPrompt: 'Click the reload button {PH1} to reload and get coverage.',
109
109
 
110
110
  /**
111
- * @description Footer message in Coverage View of the Coverage tab
111
+ * @description Footer message in Coverage View of the Coverage tab.
112
112
  * @example {300k used, 600k unused} PH1
113
113
  * @example {500k used, 800k unused} PH2
114
114
  */
115
115
  filteredSTotalS: 'Filtered: {PH1} Total: {PH2}',
116
116
  /**
117
- * @description Footer message in Coverage View of the Coverage tab
117
+ * @description Footer message in Coverage View of the Coverage tab.
118
118
  * @example {1.5 MB} PH1
119
119
  * @example {2.1 MB} PH2
120
120
  * @example {71%} PH3
@@ -636,7 +636,7 @@ export class CoverageView extends UI.Widget.VBox<ShadowRoot> {
636
636
  }
637
637
 
638
638
  async exportReport(): Promise<void> {
639
- const fos = new Bindings.FileUtils.FileOutputStream();
639
+ const fos = new Bindings.FileUtils.FileOutputStream(Workspace.FileManager.FileManager.instance());
640
640
  const fileName =
641
641
  `Coverage-${Platform.DateUtilities.toISO8601Compact(new Date())}.json` as Platform.DevToolsPath.RawPathString;
642
642
  const accepted = await fos.open(fileName);
@@ -9,23 +9,23 @@ import type * as Coverage from './coverage.js';
9
9
 
10
10
  const UIStrings = {
11
11
  /**
12
- * @description Title of the 'Coverage' tool in the bottom drawer
12
+ * @description Title of the Coverage tool in the bottom drawer.
13
13
  */
14
14
  coverage: 'Coverage',
15
15
  /**
16
- * @description Command for showing the 'Coverage' tool in the bottom drawer
16
+ * @description Command for showing the Coverage tool in the bottom drawer.
17
17
  */
18
18
  showCoverage: 'Show Coverage',
19
19
  /**
20
- * @description Title of an action under the Performance category that can be invoked through the Command Menu
20
+ * @description Title of an action under the Performance category that can be invoked through the Command Menu.
21
21
  */
22
22
  instrumentCoverage: 'Instrument coverage',
23
23
  /**
24
- * @description Title of an action under the Performance category that can be invoked through the Command Menu
24
+ * @description Title of an action under the Performance category that can be invoked through the Command Menu.
25
25
  */
26
26
  stopInstrumentingCoverageAndShow: 'Stop instrumenting coverage and show results',
27
27
  /**
28
- * @description Title of an action in the coverage tool to start with reload
28
+ * @description Title of an action in the Coverage tool to start with reload.
29
29
  */
30
30
  startInstrumentingCoverageAnd: 'Start instrumenting coverage and reload page',
31
31
  /**
@@ -28,99 +28,99 @@ const {widget} = UI.Widget;
28
28
 
29
29
  const UIStrings = {
30
30
  /**
31
- * @description Label for the summary in the CSS overview report
31
+ * @description Label for the summary in the CSS overview report.
32
32
  */
33
33
  overviewSummary: 'Overview summary',
34
34
  /**
35
- * @description Title of colors subsection in the CSS overview panel
35
+ * @description Title of colors subsection in the CSS overview panel.
36
36
  */
37
37
  colors: 'Colors',
38
38
  /**
39
- * @description Title of font info subsection in the CSS overview panel
39
+ * @description Title of font info subsection in the CSS overview panel.
40
40
  */
41
41
  fontInfo: 'Font info',
42
42
  /**
43
- * @description Label to denote unused declarations in the target page
43
+ * @description Label to denote unused declarations in the target page.
44
44
  */
45
45
  unusedDeclarations: 'Unused declarations',
46
46
  /**
47
- * @description Label for the number of media queries in the CSS overview report
47
+ * @description Label for the number of media queries in the CSS overview report.
48
48
  */
49
49
  mediaQueries: 'Media queries',
50
50
  /**
51
- * @description Title of the Elements Panel
51
+ * @description Title of the Elements panel.
52
52
  */
53
53
  elements: 'Elements',
54
54
  /**
55
- * @description Label for the number of External stylesheets in the CSS overview report
55
+ * @description Label for the number of external stylesheets in the CSS overview report.
56
56
  */
57
57
  externalStylesheets: 'External stylesheets',
58
58
  /**
59
- * @description Label for the number of inline style elements in the CSS overview report
59
+ * @description Label for the number of inline style elements in the CSS overview report.
60
60
  */
61
61
  inlineStyleElements: 'Inline style elements',
62
62
  /**
63
- * @description Label for the number of style rules in CSS overview report
63
+ * @description Label for the number of style rules in CSS overview report.
64
64
  */
65
65
  styleRules: 'Style rules',
66
66
  /**
67
- * @description Label for the number of type selectors in the CSS overview report
67
+ * @description Label for the number of type selectors in the CSS overview report.
68
68
  */
69
69
  typeSelectors: 'Type selectors',
70
70
  /**
71
- * @description Label for the number of ID selectors in the CSS overview report
71
+ * @description Label for the number of ID selectors in the CSS overview report.
72
72
  */
73
73
  idSelectors: 'ID selectors',
74
74
  /**
75
- * @description Label for the number of class selectors in the CSS overview report
75
+ * @description Label for the number of class selectors in the CSS overview report.
76
76
  */
77
77
  classSelectors: 'Class selectors',
78
78
  /**
79
- * @description Label for the number of universal selectors in the CSS overview report
79
+ * @description Label for the number of universal selectors in the CSS overview report.
80
80
  */
81
81
  universalSelectors: 'Universal selectors',
82
82
  /**
83
- * @description Label for the number of Attribute selectors in the CSS overview report
83
+ * @description Label for the number of attribute selectors in the CSS overview report.
84
84
  */
85
85
  attributeSelectors: 'Attribute selectors',
86
86
  /**
87
- * @description Label for the number of non-simple selectors in the CSS overview report
87
+ * @description Label for the number of non-simple selectors in the CSS overview report.
88
88
  */
89
89
  nonsimpleSelectors: 'Non-simple selectors',
90
90
  /**
91
- * @description Label for unique background colors in the CSS overview panel
91
+ * @description Label for unique background colors in the CSS overview panel.
92
92
  * @example {32} PH1
93
93
  */
94
94
  backgroundColorsS: 'Background colors: {PH1}',
95
95
  /**
96
- * @description Label for unique text colors in the CSS overview panel
96
+ * @description Label for unique text colors in the CSS overview panel.
97
97
  * @example {32} PH1
98
98
  */
99
99
  textColorsS: 'Text colors: {PH1}',
100
100
  /**
101
- * @description Label for unique fill colors in the CSS overview panel
101
+ * @description Label for unique fill colors in the CSS overview panel.
102
102
  * @example {32} PH1
103
103
  */
104
104
  fillColorsS: 'Fill colors: {PH1}',
105
105
  /**
106
- * @description Label for unique border colors in the CSS overview panel
106
+ * @description Label for unique border colors in the CSS overview panel.
107
107
  * @example {32} PH1
108
108
  */
109
109
  borderColorsS: 'Border colors: {PH1}',
110
110
  /**
111
- * @description Label to indicate that there are no fonts in use
111
+ * @description Label to indicate that no fonts are in use.
112
112
  */
113
- thereAreNoFonts: 'There are no fonts.',
113
+ thereAreNoFonts: 'No fonts',
114
114
  /**
115
- * @description Message to show when no unused declarations in the target page
115
+ * @description Message to show when no unused declarations are in the target page.
116
116
  */
117
- thereAreNoUnusedDeclarations: 'There are no unused declarations.',
117
+ thereAreNoUnusedDeclarations: 'No unused declarations',
118
118
  /**
119
- * @description Message to show when no media queries are found in the target page
119
+ * @description Message to show when no media queries are found in the target page.
120
120
  */
121
- thereAreNoMediaQueries: 'There are no media queries.',
121
+ thereAreNoMediaQueries: 'No media queries',
122
122
  /**
123
- * @description Title of the Drawer for contrast issues in the CSS overview panel
123
+ * @description Title of the drawer for contrast issues in the CSS overview panel.
124
124
  */
125
125
  contrastIssues: 'Contrast issues',
126
126
  /**
@@ -128,43 +128,43 @@ const UIStrings = {
128
128
  */
129
129
  nOccurrences: '{n, plural, =1 {# occurrence} other {# occurrences}}',
130
130
  /**
131
- * @description Section header for contrast issues in the CSS overview panel
131
+ * @description Section header for contrast issues in the CSS overview panel.
132
132
  * @example {1} PH1
133
133
  */
134
134
  contrastIssuesS: 'Contrast issues: {PH1}',
135
135
  /**
136
- * @description Title of the button for a contrast issue in the CSS overview panel
136
+ * @description Title of the button for a contrast issue in the CSS overview panel.
137
137
  * @example {#333333} PH1
138
138
  * @example {#333333} PH2
139
139
  * @example {2} PH3
140
140
  */
141
141
  textColorSOverSBackgroundResults: 'Text color {PH1} over {PH2} background results in low contrast for {PH3} elements',
142
142
  /**
143
- * @description Label aa text content in Contrast Details of the Color Picker
143
+ * @description Label aa text content in contrast details of the color picker.
144
144
  */
145
145
  aa: 'AA',
146
146
  /**
147
- * @description Label aaa text content in Contrast Details of the Color Picker
147
+ * @description Label aaa text content in contrast details of the color picker.
148
148
  */
149
149
  aaa: 'AAA',
150
150
  /**
151
- * @description Label for the APCA contrast in Color Picker
151
+ * @description Label for the APCA contrast in color picker.
152
152
  */
153
153
  apca: 'APCA',
154
154
  /**
155
- * @description Label for the column in the element list in the CSS overview report
155
+ * @description Label for the column in the element list in the CSS overview report.
156
156
  */
157
157
  element: 'Element',
158
158
  /**
159
- * @description Column header title denoting which declaration is unused
159
+ * @description Column header title denoting which declaration is unused.
160
160
  */
161
161
  declaration: 'Declaration',
162
162
  /**
163
- * @description Text for the source of something
163
+ * @description Text for the source of something.
164
164
  */
165
165
  source: 'Source',
166
166
  /**
167
- * @description Text of a DOM element in Contrast Details of the Color Picker
167
+ * @description Text of a DOM element in contrast details of the color picker.
168
168
  */
169
169
  contrastRatio: 'Contrast ratio',
170
170
  /**
@@ -172,7 +172,7 @@ const UIStrings = {
172
172
  */
173
173
  cssOverviewElements: 'CSS overview elements',
174
174
  /**
175
- * @description Title of the button to show the element in the CSS overview panel
175
+ * @description Title of the button to show the element in the CSS overview panel.
176
176
  */
177
177
  showElement: 'Show element',
178
178
  /**
@@ -11,7 +11,7 @@ import cssOverviewProcessingViewStyles from './cssOverviewProcessingView.css.js'
11
11
 
12
12
  const UIStrings = {
13
13
  /**
14
- * @description Text to cancel something
14
+ * @description Text to cancel something.
15
15
  */
16
16
  cancel: 'Cancel',
17
17
  } as const;