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
@@ -33,6 +33,7 @@
33
33
  import * as Common from '../../core/common/common.js';
34
34
  import * as Platform from '../../core/platform/platform.js';
35
35
  import * as SDK from '../../core/sdk/sdk.js';
36
+ import type * as Protocol from '../../generated/protocol.js';
36
37
  import type * as ComputedStyle from '../../models/computed_style/computed_style.js';
37
38
  import * as UI from '../../ui/legacy/legacy.js';
38
39
  import {Directives, html, type LitTemplate, nothing, render} from '../../ui/lit/lit.js';
@@ -188,6 +189,7 @@ export class MetricsSidebarPane extends ElementsSidebarPane<ShadowRoot> {
188
189
  private inlineStyle: SDK.CSSStyleDeclaration.CSSStyleDeclaration|null;
189
190
  private highlightMode: string;
190
191
  private computedStyle: Map<string, string>|null;
192
+ private boxModelInternal: Protocol.DOM.BoxModel|null = null;
191
193
  private isEditingMetrics?: boolean;
192
194
  private view: View;
193
195
 
@@ -200,6 +202,7 @@ export class MetricsSidebarPane extends ElementsSidebarPane<ShadowRoot> {
200
202
  this.inlineStyle = null;
201
203
  this.highlightMode = '';
202
204
  this.computedStyle = null;
205
+ this.boxModelInternal = null;
203
206
  this.view = view;
204
207
  }
205
208
 
@@ -228,28 +231,27 @@ export class MetricsSidebarPane extends ElementsSidebarPane<ShadowRoot> {
228
231
  return await Promise.resolve();
229
232
  }
230
233
 
231
- function callback(this: MetricsSidebarPane, style: Map<string, string>|null): void {
232
- if (!style || this.node() !== node) {
233
- this.computedStyle = null;
234
- return;
235
- }
236
- this.computedStyle = style;
237
- this.updateMetrics(style);
238
- }
239
-
240
234
  if (!node.id) {
241
235
  return await Promise.resolve();
242
236
  }
243
237
 
244
- const promises = [
245
- cssModel.getComputedStyle(node.id).then(callback.bind(this)),
246
- cssModel.getInlineStyles(node.id).then(inlineStyleResult => {
247
- if (inlineStyleResult && this.node() === node) {
248
- this.inlineStyle = inlineStyleResult.inlineStyle;
249
- }
250
- }),
251
- ];
252
- return await (Promise.all(promises) as unknown as Promise<void>);
238
+ const [style, boxModel, inlineStyleResult] = await Promise.all([
239
+ cssModel.getComputedStyle(node.id),
240
+ node.boxModel().catch(() => null),
241
+ cssModel.getInlineStyles(node.id),
242
+ ]);
243
+
244
+ if (!style || this.node() !== node) {
245
+ this.computedStyle = null;
246
+ this.boxModelInternal = null;
247
+ return;
248
+ }
249
+ this.computedStyle = style;
250
+ this.boxModelInternal = boxModel;
251
+ if (inlineStyleResult && this.node() === node) {
252
+ this.inlineStyle = inlineStyleResult.inlineStyle;
253
+ }
254
+ this.updateMetrics(style, 'all', boxModel);
253
255
  }
254
256
 
255
257
  override onCSSModelChanged(): void {
@@ -288,15 +290,66 @@ export class MetricsSidebarPane extends ElementsSidebarPane<ShadowRoot> {
288
290
  node.highlight(mode);
289
291
  } else {
290
292
  this.highlightMode = '';
291
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
293
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
292
294
  }
293
295
 
294
296
  if (this.computedStyle) {
295
- this.updateMetrics(this.computedStyle, mode);
297
+ this.updateMetrics(this.computedStyle, mode, this.boxModelInternal);
296
298
  }
297
299
  }
298
300
 
299
- private getContentAreaWidthPx(style: Map<string, string>): string {
301
+ /**
302
+ * Checks whether the array represents a valid Protocol.DOM.Quad (8 coordinates: 4 corner points).
303
+ */
304
+ private isDOMQuad(quad?: number[]): boolean {
305
+ return Boolean(quad && quad.length === 8);
306
+ }
307
+
308
+ /**
309
+ * Calculates the rendered content box width from a DOM Quad.
310
+ * A Quad contains 8 numbers representing 4 corner points clockwise from top-left:
311
+ * P0 (x=quad[0], y=quad[1]): Top-Left
312
+ * P1 (x=quad[2], y=quad[3]): Top-Right
313
+ * P2 (x=quad[4], y=quad[5]): Bottom-Right
314
+ * P3 (x=quad[6], y=quad[7]): Bottom-Left
315
+ *
316
+ * Math.hypot(quad[2] - quad[0], quad[3] - quad[1]) is the distance from Top-Left to Top-Right (top edge).
317
+ * Math.hypot(quad[4] - quad[6], quad[5] - quad[7]) is the distance from Bottom-Left to Bottom-Right (bottom edge).
318
+ * Averaging the top and bottom edges gives the rendered width, which accounts for scrollbars and handles
319
+ * rotated or skewed elements.
320
+ */
321
+ private computeQuadWidth(quad: Protocol.DOM.Quad): number {
322
+ const topWidth = Math.hypot(quad[2] - quad[0], quad[3] - quad[1]);
323
+ const bottomWidth = Math.hypot(quad[4] - quad[6], quad[5] - quad[7]);
324
+ return (topWidth + bottomWidth) / 2;
325
+ }
326
+
327
+ /**
328
+ * Calculates the rendered content box height from a DOM Quad.
329
+ * Math.hypot(quad[6] - quad[0], quad[7] - quad[1]) is the distance from Top-Left to Bottom-Left (left edge).
330
+ * Math.hypot(quad[4] - quad[2], quad[5] - quad[3]) is the distance from Top-Right to Bottom-Right (right edge).
331
+ * Averaging the left and right edges gives the rendered height, which accounts for scrollbars and handles
332
+ * rotated or skewed elements.
333
+ */
334
+ private computeQuadHeight(quad: Protocol.DOM.Quad): number {
335
+ const leftHeight = Math.hypot(quad[6] - quad[0], quad[7] - quad[1]);
336
+ const rightHeight = Math.hypot(quad[4] - quad[2], quad[5] - quad[3]);
337
+ return (leftHeight + rightHeight) / 2;
338
+ }
339
+
340
+ /**
341
+ * Computes the content area width in pixels for display in the Box Model diagram.
342
+ * - Branch 1: If a DOM quad is available, we compute width directly
343
+ * from the rendered quad. This accurately reflects the content box when scrollbars are present
344
+ * (which getComputedStyle does not subtract).
345
+ * - Branch 2: Fallback to parsing the CSS 'width' property from getComputedStyle.
346
+ */
347
+ private getContentAreaWidthPx(style: Map<string, string>, boxModel?: Protocol.DOM.BoxModel|null): string {
348
+ if (boxModel && this.isDOMQuad(boxModel.content)) {
349
+ const width = this.computeQuadWidth(boxModel.content);
350
+ return Platform.NumberUtilities.toFixedIfFloating(width.toString());
351
+ }
352
+
300
353
  let width = style.get('width');
301
354
  if (!width) {
302
355
  return '';
@@ -313,7 +366,19 @@ export class MetricsSidebarPane extends ElementsSidebarPane<ShadowRoot> {
313
366
  return Platform.NumberUtilities.toFixedIfFloating(width);
314
367
  }
315
368
 
316
- private getContentAreaHeightPx(style: Map<string, string>): string {
369
+ /**
370
+ * Computes the content area height in pixels for display in the Box Model diagram.
371
+ * - Branch 1: If a DOM quad is available, we compute height directly
372
+ * from the rendered quad. This accurately reflects the content box when scrollbars are present
373
+ * (which getComputedStyle does not subtract).
374
+ * - Branch 2: Fallback to parsing the CSS 'height' property from getComputedStyle.
375
+ */
376
+ private getContentAreaHeightPx(style: Map<string, string>, boxModel?: Protocol.DOM.BoxModel|null): string {
377
+ if (boxModel && this.isDOMQuad(boxModel.content)) {
378
+ const height = this.computeQuadHeight(boxModel.content);
379
+ return Platform.NumberUtilities.toFixedIfFloating(height.toString());
380
+ }
381
+
317
382
  let height = style.get('height');
318
383
  if (!height) {
319
384
  return '';
@@ -330,18 +395,19 @@ export class MetricsSidebarPane extends ElementsSidebarPane<ShadowRoot> {
330
395
  return Platform.NumberUtilities.toFixedIfFloating(height);
331
396
  }
332
397
 
333
- private updateMetrics(style: Map<string, string>, highlightedMode = 'all'): void {
334
- this.view(
335
- {
336
- style,
337
- highlightedMode,
338
- node: this.node(),
339
- contentWidth: this.getContentAreaWidthPx(style),
340
- contentHeight: this.getContentAreaHeightPx(style),
341
- onHighlightNode: this.highlightDOMNode.bind(this),
342
- onStartEditing: this.startEditing.bind(this),
343
- },
344
- undefined, this.contentElement);
398
+ private updateMetrics(style: Map<string, string>, highlightedMode = 'all',
399
+ boxModel?: Protocol.DOM.BoxModel|null): void {
400
+ const boxModelToUse = boxModel ?? this.boxModelInternal;
401
+ this.view({
402
+ style,
403
+ highlightedMode,
404
+ node: this.node(),
405
+ contentWidth: this.getContentAreaWidthPx(style, boxModelToUse),
406
+ contentHeight: this.getContentAreaHeightPx(style, boxModelToUse),
407
+ onHighlightNode: this.highlightDOMNode.bind(this),
408
+ onStartEditing: this.startEditing.bind(this),
409
+ },
410
+ undefined, this.contentElement);
345
411
  }
346
412
 
347
413
  startEditing(targetElement: Element, box: string, styleProperty: string, computedStyle: Map<string, string>): void {
@@ -676,7 +676,7 @@ export class StylePropertiesSection {
676
676
  if (this.hoverTimer) {
677
677
  clearTimeout(this.hoverTimer);
678
678
  }
679
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
679
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
680
680
  }
681
681
 
682
682
  private onMouseEnterSelector(): void {
@@ -687,7 +687,7 @@ export class StylePropertiesSection {
687
687
  }
688
688
 
689
689
  highlight(mode: string|undefined = 'all'): void {
690
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
690
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
691
691
  const node = this.stylesContainer.node();
692
692
  if (!node) {
693
693
  return;
@@ -1883,7 +1883,13 @@ export class BaseFunctionRenderer extends rendererBase(SDK.CSSPropertyParserMatc
1883
1883
  // To understand which argument was selected by the function, we evaluate the function as well as all the arguments
1884
1884
  // and compare the function result to the values of all its arguments. Evaluating the arguments eliminates nested
1885
1885
  // function calls and normalizes all units to px.
1886
- const values = match.args.map(arg => context.matchedResult.getComputedTextRange(arg[0], arg[arg.length - 1]));
1886
+ const values = match.args.map(arg => {
1887
+ const text = context.matchedResult.getComputedTextRange(arg[0], arg[arg.length - 1]);
1888
+ // We wrap each argument in calc() so it becomes a valid standalone CSS value.
1889
+ // Standalone arithmetic expressions like `48px - 40px` are syntax errors in the CSS grammar unless wrapped in calc().
1890
+ // Without this wrapper, the browser's resolveValues() CDP command fails to parse and evaluate them.
1891
+ return `calc(${text})`;
1892
+ });
1887
1893
  values.unshift(context.matchedResult.getComputedText(match.node));
1888
1894
  const evaledArgs = await resolveValues(this.#stylesContainer, this.#propertyName, match, context, ...values);
1889
1895
  if (context.signal?.aborted) {
@@ -1944,7 +1950,7 @@ export class AnchorFunctionRenderer extends rendererBase(SDK.CSSPropertyParserMa
1944
1950
  anchorNode?.highlight();
1945
1951
  };
1946
1952
  const onMouseLeave = (): void => {
1947
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
1953
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
1948
1954
  };
1949
1955
 
1950
1956
  if (identifier) {
@@ -719,7 +719,7 @@ export class StylesSidebarPane extends Common.ObjectWrapper.eventMixin<EventType
719
719
 
720
720
  setActiveProperty(treeElement: StylePropertyTreeElement|null): void {
721
721
  if (this.isActivePropertyHighlighted) {
722
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
722
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
723
723
  }
724
724
  this.isActivePropertyHighlighted = false;
725
725
 
@@ -5,7 +5,8 @@
5
5
 
6
6
  import * as i18n from '../../../core/i18n/i18n.js';
7
7
  import * as Platform from '../../../core/platform/platform.js';
8
- import * as Protocol from '../../../generated/protocol.js';
8
+ import * as SDK from '../../../core/sdk/sdk.js';
9
+ import type * as Protocol from '../../../generated/protocol.js';
9
10
  import * as RenderCoordinator from '../../../ui/components/render_coordinator/render_coordinator.js';
10
11
  import * as UI from '../../../ui/legacy/legacy.js';
11
12
  import {html, nothing, render} from '../../../ui/lit/lit.js';
@@ -34,18 +35,6 @@ function truncateTextIfNeeded(text: string): string {
34
35
  return text;
35
36
  }
36
37
 
37
- function isPrintable(valueType: Protocol.Accessibility.AXValueType): boolean {
38
- switch (valueType) {
39
- case Protocol.Accessibility.AXValueType.Boolean:
40
- case Protocol.Accessibility.AXValueType.BooleanOrUndefined:
41
- case Protocol.Accessibility.AXValueType.String:
42
- case Protocol.Accessibility.AXValueType.Number:
43
- return true;
44
- default:
45
- return false;
46
- }
47
- }
48
-
49
38
  export interface AccessibilityTreeNodeData {
50
39
  ignored: boolean;
51
40
  name: string;
@@ -75,11 +64,11 @@ export class AccessibilityTreeNode extends HTMLElement {
75
64
  async #render(): Promise<void> {
76
65
  const role = html`<span class='role-value'>${truncateTextIfNeeded(this.#role)}</span>`;
77
66
  const name = html`"<span class='attribute-value'>${this.#name}</span>"`;
78
- const properties = this.#properties.map(
79
- ({name, value}) => isPrintable(value.type) ?
80
- html` <span class='attribute-name'>${name}</span>:&nbsp;<span class='attribute-value'>${
81
- value.value}</span>` :
82
- nothing);
67
+ const properties =
68
+ this.#properties.map(({name, value}) => SDK.AccessibilityModel.isPrintableType(value.type) ?
69
+ html` <span class='attribute-name'>${
70
+ name}</span>:&nbsp;<span class='attribute-value'>${value.value}</span>` :
71
+ nothing);
83
72
  const content =
84
73
  this.#ignored ? html`<span>${i18nString(UIStrings.ignored)}</span>` : html`${role}&nbsp;${name}${properties}`;
85
74
  await RenderCoordinator.write(`Accessibility node ${this.#id} render`, () => {
@@ -125,7 +125,7 @@ export class ElementsBreadcrumbs extends HTMLElement {
125
125
  }
126
126
 
127
127
  #onCrumbMouseLeave(): void {
128
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
128
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
129
129
  }
130
130
 
131
131
  #onCrumbFocus(node: SDK.DOMModel.DOMNode): () => void {
@@ -133,7 +133,7 @@ export class ElementsBreadcrumbs extends HTMLElement {
133
133
  }
134
134
 
135
135
  #onCrumbBlur(): void {
136
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
136
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
137
137
  }
138
138
 
139
139
  #engageResizeObserver(): void {
@@ -55,7 +55,7 @@ export class QueryContainer extends HTMLElement {
55
55
  }
56
56
 
57
57
  #onContainerLinkMouseLeave(): void {
58
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
58
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
59
59
  this.#isContainerLinkHovered = false;
60
60
  this.#render();
61
61
  }
@@ -114,7 +114,7 @@ export class AffectedDirectivesView extends AffectedResourcesView {
114
114
  };
115
115
 
116
116
  const onElementRevealIconMouseLeave: (arg0?: Event|undefined) => void = () => {
117
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
117
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
118
118
  };
119
119
 
120
120
  elementsPanelLinkComponent
@@ -205,7 +205,8 @@ export abstract class AffectedResourcesView extends UI.TreeOutline.TreeElement {
205
205
  void frame.highlight();
206
206
  }
207
207
  };
208
- frameCell.onmouseleave = () => SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
208
+ frameCell.onmouseleave = () =>
209
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
209
210
  return frameCell;
210
211
  }
211
212
 
@@ -191,6 +191,6 @@ export class LayerViewHost {
191
191
  node.highlightForTwoSeconds();
192
192
  return;
193
193
  }
194
- SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight();
194
+ SDK.OverlayModel.OverlayModel.hideDOMNodeHighlight(SDK.TargetManager.TargetManager.instance());
195
195
  }
196
196
  }
@@ -15,7 +15,7 @@ import type {PlayerEvent} from './MediaModel.js';
15
15
 
16
16
  const UIStrings = {
17
17
  /**
18
- * @description Text for timestamps of items
18
+ * @description Text for timestamps of items.
19
19
  */
20
20
  timestamp: 'Timestamp',
21
21
  /**
@@ -23,7 +23,7 @@ const UIStrings = {
23
23
  */
24
24
  eventName: 'Event name',
25
25
  /**
26
- * @description Text for the value of something
26
+ * @description Text for the value of something.
27
27
  */
28
28
  value: 'Value',
29
29
  /**
@@ -20,13 +20,13 @@ const NO_NORMALIZED_TIMESTAMP = -1.5;
20
20
 
21
21
  const UIStrings = {
22
22
  /**
23
- * @description Title of the 'Playback Status' button
23
+ * @description Title of the 'Playback status' button.
24
24
  */
25
- playbackStatus: 'Playback Status',
25
+ playbackStatus: 'Playback status',
26
26
  /**
27
- * @description Title of the 'Buffering Status' button
27
+ * @description Title of the 'Buffering status' button.
28
28
  */
29
- bufferingStatus: 'Buffering Status',
29
+ bufferingStatus: 'Buffering status',
30
30
  } as const;
31
31
  const str_ = i18n.i18n.registerUIStrings('panels/media/EventTimelineView.ts', UIStrings);
32
32
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
@@ -16,22 +16,22 @@ import {PlayerListView} from './PlayerListView.js';
16
16
 
17
17
  const UIStrings = {
18
18
  /**
19
- * @description Text to show if no media player has been selected
19
+ * @description Text to show if no media player has been selected.
20
20
  * A media player can be an audio and video source of a page.
21
21
  */
22
22
  noPlayerDetailsSelected: 'No media player selected',
23
23
  /**
24
- * @description Text to instruct the user on how to view media player details
24
+ * @description Text to instruct the user on how to view media player details.
25
25
  * A media player can be an audio and video source of a page.
26
26
  */
27
27
  selectToViewDetails: 'Select a media player to inspect its details.',
28
28
  /**
29
- * @description Text to show if no player can be shown
29
+ * @description Text to show if no player can be shown.
30
30
  * A media player can be an audio and video source of a page.
31
31
  */
32
32
  noMediaPlayer: 'No media player',
33
33
  /**
34
- * @description Text to explain this panel
34
+ * @description Text to explain this panel.
35
35
  * A media player can be an audio and video source of a page.
36
36
  */
37
37
  mediaPlayerDescription: 'On this page you can view and export media player details.',
@@ -15,7 +15,7 @@ import {PlayerPropertiesView} from './PlayerPropertiesView.js';
15
15
 
16
16
  const UIStrings = {
17
17
  /**
18
- * @description Title of the 'Properties' tool in the sidebar of the elements tool
18
+ * @description Title of the 'Properties' tool in the sidebar of the Elements tool.
19
19
  */
20
20
  properties: 'Properties',
21
21
  /**
@@ -31,19 +31,19 @@ const UIStrings = {
31
31
  */
32
32
  playerEvents: 'Player events',
33
33
  /**
34
- * @description Text in Network Item View of the Network panel
34
+ * @description Text in Network item view of the Network panel.
35
35
  */
36
36
  messages: 'Messages',
37
37
  /**
38
- * @description Column header for messages view.
38
+ * @description Column header for Messages view.
39
39
  */
40
40
  playerMessages: 'Player messages',
41
41
  /**
42
- * @description Title for the timeline tab.
42
+ * @description Title for the Timeline tab.
43
43
  */
44
44
  timeline: 'Timeline',
45
45
  /**
46
- * @description Hovertext for Timeline tab.
46
+ * @description Hover text for Timeline tab.
47
47
  */
48
48
  playerTimeline: 'Player timeline',
49
49
  } as const;
@@ -28,7 +28,7 @@ const UIStrings = {
28
28
  */
29
29
  hideAllOthers: 'Hide all others',
30
30
  /**
31
- * @description Context menu entry which downloads the json dump when clicked
31
+ * @description Context menu entry which downloads the JSON dump when clicked.
32
32
  */
33
33
  savePlayerInfo: 'Save player info',
34
34
  /**
@@ -17,31 +17,31 @@ import playerMessagesViewStyles from './playerMessagesView.css.js';
17
17
 
18
18
  const UIStrings = {
19
19
  /**
20
- * @description A context menu item in the Console View of the Console panel
20
+ * @description A context menu item in the Console view of the Console panel.
21
21
  */
22
22
  default: 'Default',
23
23
  /**
24
- * @description Text in Network Throttling Selector of the Network panel
24
+ * @description Text in Network throttling selector of the Network panel.
25
25
  */
26
26
  custom: 'Custom',
27
27
  /**
28
- * @description Text for everything
28
+ * @description Text for everything.
29
29
  */
30
30
  all: 'All',
31
31
  /**
32
- * @description Text for errors
32
+ * @description Text for errors.
33
33
  */
34
34
  error: 'Error',
35
35
  /**
36
- * @description Text to indicate an item is a warning
36
+ * @description Text to indicate an item is a warning.
37
37
  */
38
38
  warning: 'Warning',
39
39
  /**
40
- * @description Sdk console message message level info of level Labels in Console View of the Console panel
40
+ * @description Sdk console message level info in Console view of the Console panel.
41
41
  */
42
42
  info: 'Info',
43
43
  /**
44
- * @description Debug log level
44
+ * @description Debug log level.
45
45
  */
46
46
  debug: 'Debug',
47
47
  /**
@@ -49,25 +49,25 @@ const UIStrings = {
49
49
  */
50
50
  logLevel: 'Log level:',
51
51
  /**
52
- * @description Default text for user-text-entry for searching log messages.
52
+ * @description Default text for user text entry for searching log messages.
53
53
  */
54
54
  filterByLogMessages: 'Filter by log messages',
55
55
  /**
56
56
  * @description The label for the group name that this error belongs to.
57
57
  */
58
- errorGroupLabel: 'Error Group:',
58
+ errorGroupLabel: 'Error group:',
59
59
  /**
60
60
  * @description The label for the numeric code associated with this error.
61
61
  */
62
- errorCodeLabel: 'Error Code:',
62
+ errorCodeLabel: 'Error code:',
63
63
  /**
64
64
  * @description The label for extra data associated with an error.
65
65
  */
66
66
  errorDataLabel: 'Data:',
67
67
  /**
68
- * @description The label for the stacktrace associated with the error.
68
+ * @description The label for the stack trace associated with the error.
69
69
  */
70
- errorStackLabel: 'Stacktrace:',
70
+ errorStackLabel: 'Stack trace:',
71
71
  /**
72
72
  * @description The label for a root cause error associated with this error.
73
73
  */
@@ -30,11 +30,11 @@ const UIStrings = {
30
30
  */
31
31
  decoder: 'Decoder',
32
32
  /**
33
- * @description Title of the 'Properties' tool in the sidebar of the elements tool
33
+ * @description Title of the 'Properties' tool in the sidebar of the Elements tool.
34
34
  */
35
35
  properties: 'Properties',
36
36
  /**
37
- * @description Menu label for text tracks, it is followed by a number, like 'Text Track #1'
37
+ * @description Menu label for text tracks, it is followed by a number, like 'Text track #1'.
38
38
  */
39
39
  textTrack: 'Text track',
40
40
  /**
@@ -43,19 +43,19 @@ const UIStrings = {
43
43
  */
44
44
  noTextTracks: 'No text tracks',
45
45
  /**
46
- * @description Media property giving the width x height of the video
46
+ * @description Media property giving the width x height of the video.
47
47
  */
48
48
  resolution: 'Resolution',
49
49
  /**
50
- * @description Media property giving the file size of the media
50
+ * @description Media property giving the file size of the media.
51
51
  */
52
52
  fileSize: 'File size',
53
53
  /**
54
- * @description Media property giving the media file bitrate
54
+ * @description Media property giving the media file bitrate.
55
55
  */
56
56
  bitrate: 'Bitrate',
57
57
  /**
58
- * @description Text for the duration of something
58
+ * @description Text for the duration of something.
59
59
  */
60
60
  duration: 'Duration',
61
61
  /**
@@ -63,7 +63,7 @@ const UIStrings = {
63
63
  */
64
64
  startTime: 'Start time',
65
65
  /**
66
- * @description Media property signaling whether the media is streaming
66
+ * @description Media property signaling whether the media is streaming.
67
67
  */
68
68
  streaming: 'Streaming',
69
69
  /**
@@ -71,19 +71,19 @@ const UIStrings = {
71
71
  */
72
72
  playbackFrameUrl: 'Playback frame URL',
73
73
  /**
74
- * @description Media property giving the title of the frame where the media is embedded
74
+ * @description Media property giving the title of the frame where the media is embedded.
75
75
  */
76
76
  playbackFrameTitle: 'Playback frame title',
77
77
  /**
78
- * @description Media property describing whether the file is single or cross origin in nature
78
+ * @description Media property describing whether the file is single or cross-origin in nature.
79
79
  */
80
80
  singleoriginPlayback: 'Single-origin playback',
81
81
  /**
82
- * @description Media property describing support for range http headers
82
+ * @description Media property describing support for range HTTP headers.
83
83
  */
84
84
  rangeHeaderSupport: '`Range` header support',
85
85
  /**
86
- * @description Media property giving the media file frame rate
86
+ * @description Media property giving the media file frame rate.
87
87
  */
88
88
  frameRate: 'Frame rate',
89
89
  /**
@@ -97,25 +97,25 @@ const UIStrings = {
97
97
  */
98
98
  videoFreezingScore: 'Video freezing score',
99
99
  /**
100
- * @description Media property giving the name of the renderer being used
100
+ * @description Media property giving the name of the renderer being used.
101
101
  */
102
102
  rendererName: 'Renderer name',
103
103
 
104
104
  /**
105
- * @description Media property giving the name of the decoder being used
105
+ * @description Media property giving the name of the decoder being used.
106
106
  */
107
107
  decoderName: 'Decoder name',
108
108
  /**
109
- * @description There is no decoder
109
+ * @description There is no decoder.
110
110
  */
111
111
  noDecoder: 'No decoder',
112
112
  /**
113
- * @description Media property signaling whether a hardware decoder is being used
113
+ * @description Media property signaling whether a hardware decoder is being used.
114
114
  */
115
115
  hardwareDecoder: 'Hardware decoder',
116
116
  /**
117
117
  * @description Media property signaling whether the content is encrypted. This is a noun phrase for
118
- *a demultiplexer that does decryption.
118
+ * a demultiplexer that does decryption.
119
119
  */
120
120
  decryptingDemuxer: 'Decrypting demuxer',
121
121
 
@@ -132,7 +132,7 @@ const UIStrings = {
132
132
  */
133
133
  hardwareEncoder: 'Hardware encoder',
134
134
  /**
135
- * @description Property for adaptive (HLS) playback which shows the start/end time of the loaded content buffer
135
+ * @description Property for adaptive (HLS) playback which shows the start/end time of the loaded content buffer.
136
136
  */
137
137
  hlsBufferedRanges: 'Buffered media ranges',
138
138
  } as const;