chrome-devtools-frontend 1.0.1695017 → 1.0.1696961

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 (247) hide show
  1. package/eslint.config.mjs +4 -1
  2. package/front_end/core/common/Base64.ts +14 -4
  3. package/front_end/core/common/Gzip.ts +1 -1
  4. package/front_end/core/common/Object.ts +0 -1
  5. package/front_end/core/platform/Size.ts +43 -0
  6. package/front_end/core/platform/api/HostRuntime.ts +14 -0
  7. package/front_end/core/platform/browser/HostRuntime.ts +66 -0
  8. package/front_end/core/platform/node/HostRuntime.ts +12 -3
  9. package/front_end/core/platform/platform.ts +1 -0
  10. package/front_end/core/sdk/AccessibilityModel.ts +2 -2
  11. package/front_end/core/sdk/CSSMatchedStyles.ts +2 -0
  12. package/front_end/core/sdk/CSSPropertyParserMatchers.ts +29 -0
  13. package/front_end/core/sdk/CSSStyleSheetHeader.ts +2 -2
  14. package/front_end/core/sdk/ConsoleModel.ts +3 -3
  15. package/front_end/core/sdk/DOMModel.ts +10 -6
  16. package/front_end/core/sdk/DebuggerModel.ts +6 -0
  17. package/front_end/core/sdk/NetworkRequest.ts +19 -19
  18. package/front_end/core/sdk/RuntimeModel.ts +5 -0
  19. package/front_end/core/sdk/Script.ts +2 -2
  20. package/front_end/core/sdk/ServerTiming.ts +6 -6
  21. package/front_end/core/sdk/SourceMap.ts +112 -14
  22. package/front_end/core/sdk/SourceMapRangeMappings.ts +43 -0
  23. package/front_end/core/sdk/SourceMapScopeChainEntry.ts +15 -10
  24. package/front_end/core/sdk/SourceMapScopesInfo.ts +92 -10
  25. package/front_end/core/sdk/sdk.ts +2 -0
  26. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
  27. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +6 -6
  28. package/front_end/entrypoints/main/MainImpl.ts +1 -1
  29. package/front_end/generated/InspectorBackendCommands.ts +6 -3
  30. package/front_end/generated/protocol-mapping.d.ts +7 -0
  31. package/front_end/generated/protocol-proxy-api.d.ts +5 -0
  32. package/front_end/generated/protocol.ts +36 -3
  33. package/front_end/models/ai_assistance/AiAgent2.ts +27 -27
  34. package/front_end/models/ai_assistance/agents/AiAgent.ts +4 -0
  35. package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +2 -2
  36. package/front_end/models/ai_assistance/contexts/AccessibilityContext.ts +1 -0
  37. package/front_end/models/ai_assistance/contexts/DOMNodeContext.ts +5 -4
  38. package/front_end/models/ai_assistance/contexts/FileContext.ts +1 -0
  39. package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +1 -0
  40. package/front_end/models/ai_assistance/contexts/RequestContext.ts +1 -0
  41. package/front_end/models/ai_assistance/contexts/StorageContext.ts +1 -0
  42. package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +5 -5
  43. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +6 -6
  44. package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +5 -8
  45. package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +4 -8
  46. package/front_end/models/ai_assistance/tools/GetSourceContent.ts +7 -5
  47. package/front_end/models/ai_assistance/tools/GetStyles.ts +10 -6
  48. package/front_end/models/ai_assistance/tools/ListSources.ts +26 -7
  49. package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +5 -10
  50. package/front_end/models/ai_assistance/tools/Tool.ts +8 -1
  51. package/front_end/models/bindings/FileUtils.ts +18 -40
  52. package/front_end/models/bindings/TempFile.ts +5 -12
  53. package/front_end/models/comment_manager/CommentManager.ts +30 -6
  54. package/front_end/models/crux-manager/CrUXManager.ts +8 -5
  55. package/front_end/models/emulation/DeviceModeModel.ts +55 -105
  56. package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +1 -1
  57. package/front_end/models/issues_manager/CookieIssue.ts +1 -1
  58. package/front_end/models/issues_manager/DeprecationIssue.ts +2 -2
  59. package/front_end/models/javascript_metadata/NativeFunctions.ts +1 -5
  60. package/front_end/models/live-metrics/LiveMetrics.ts +1 -1
  61. package/front_end/models/persistence/IsolatedFileSystem.ts +16 -23
  62. package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -1
  63. package/front_end/models/trace/insights/INPBreakdown.ts +1 -1
  64. package/front_end/models/trace/insights/ImageDelivery.ts +3 -3
  65. package/front_end/models/trace/insights/LCPDiscovery.ts +2 -2
  66. package/front_end/models/trace/insights/NetworkDependencyTree.ts +3 -3
  67. package/front_end/models/trace/insights/Viewport.ts +1 -1
  68. package/front_end/models/trace/types/Overlays.ts +2 -2
  69. package/front_end/panels/accessibility/AccessibilityNodeView.ts +2 -2
  70. package/front_end/panels/accessibility/AccessibilitySubPane.ts +0 -1
  71. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +74 -18
  72. package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +14 -3
  73. package/front_end/panels/ai_assistance/components/ChatInput.ts +1 -1
  74. package/front_end/panels/ai_assistance/components/ChatMessage.ts +1 -1
  75. package/front_end/panels/animation/AnimationUI.ts +1 -1
  76. package/front_end/panels/application/AppManifestView.ts +9 -11
  77. package/front_end/panels/application/ApplicationPanelSidebar.ts +9 -9
  78. package/front_end/panels/application/BackgroundServiceView.ts +1 -1
  79. package/front_end/panels/application/CookieItemsView.ts +1 -1
  80. package/front_end/panels/application/DOMStorageItemsView.ts +1 -1
  81. package/front_end/panels/application/DeviceBoundSessionsView.ts +2 -2
  82. package/front_end/panels/application/FrameDetailsView.ts +5 -5
  83. package/front_end/panels/application/IndexedDBViews.ts +2 -2
  84. package/front_end/panels/application/KeyValueStorageItemsView.ts +1 -2
  85. package/front_end/panels/application/ReportingApiView.ts +1 -1
  86. package/front_end/panels/application/ServiceWorkerCacheTreeElement.ts +1 -1
  87. package/front_end/panels/application/ServiceWorkersView.ts +1 -1
  88. package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
  89. package/front_end/panels/application/WebMCPView.ts +1 -1
  90. package/front_end/panels/application/components/AdsView.ts +136 -7
  91. package/front_end/panels/application/components/BackForwardCacheStrings.ts +116 -117
  92. package/front_end/panels/application/components/BackForwardCacheView.ts +7 -7
  93. package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +2 -2
  94. package/front_end/panels/application/components/PermissionsPolicySection.ts +2 -2
  95. package/front_end/panels/application/components/ProtocolHandlersView.ts +1 -1
  96. package/front_end/panels/application/components/ReportsGrid.ts +1 -1
  97. package/front_end/panels/application/components/StorageMetadataView.ts +1 -1
  98. package/front_end/panels/application/components/TrustTokensView.ts +3 -3
  99. package/front_end/panels/application/components/adScriptsTable.css +22 -0
  100. package/front_end/panels/application/preloading/PreloadingView.ts +20 -22
  101. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +9 -9
  102. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +31 -33
  103. package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +23 -23
  104. package/front_end/panels/application/preloading/components/PreloadingGrid.ts +4 -4
  105. package/front_end/panels/application/preloading/components/PreloadingString.ts +161 -161
  106. package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -6
  107. package/front_end/panels/application/preloading/components/RuleSetGrid.ts +8 -8
  108. package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +32 -32
  109. package/front_end/panels/application/resourcesPanel.css +17 -17
  110. package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
  111. package/front_end/panels/changes/ChangesView.ts +1 -1
  112. package/front_end/panels/common/AiCodeCompletionSummaryToolbar.ts +1 -1
  113. package/front_end/panels/common/CPUThrottlingOption.ts +0 -1
  114. package/front_end/panels/common/GdpSignUpDialog.ts +3 -4
  115. package/front_end/panels/common/GeminiRebrandPromoDialog.ts +1 -1
  116. package/front_end/panels/console/ConsoleInsightTeaser.ts +1 -1
  117. package/front_end/panels/console/ConsolePinPane.ts +0 -1
  118. package/front_end/panels/console/ConsoleView.ts +2 -3
  119. package/front_end/panels/console/ConsoleViewMessage.ts +2 -3
  120. package/front_end/panels/coverage/CoverageListView.ts +6 -6
  121. package/front_end/panels/coverage/CoverageView.ts +7 -7
  122. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +1 -1
  123. package/front_end/panels/elements/CSSRuleValidator.ts +10 -10
  124. package/front_end/panels/elements/ElementsPanel.ts +3 -3
  125. package/front_end/panels/elements/ElementsTreeElement.ts +1 -1
  126. package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
  127. package/front_end/panels/elements/LayoutPane.ts +1 -1
  128. package/front_end/panels/elements/StylePropertyTreeElement.ts +85 -2
  129. package/front_end/panels/elements/StylesSidebarPane.ts +3 -3
  130. package/front_end/panels/elements/stylePropertiesTreeOutline.css +2 -1
  131. package/front_end/panels/emulation/DeviceModeView.ts +1 -1
  132. package/front_end/panels/event_listeners/EventListenersView.ts +57 -89
  133. package/front_end/panels/explain/components/ConsoleInsight.ts +4 -4
  134. package/front_end/panels/issues/AffectedPartitioningBlobURLView.ts +3 -3
  135. package/front_end/panels/issues/IssuesPane.ts +1 -1
  136. package/front_end/panels/layer_viewer/Layers3DView.ts +4 -4
  137. package/front_end/panels/layers/LayerTreeModel.ts +1 -1
  138. package/front_end/panels/lighthouse/LighthouseController.ts +4 -4
  139. package/front_end/panels/lighthouse/LighthouseStatusView.ts +10 -10
  140. package/front_end/panels/lighthouse/LighthouseTimespanView.ts +2 -2
  141. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +1 -1
  142. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +1 -1
  143. package/front_end/panels/media/MainView.ts +2 -2
  144. package/front_end/panels/mobile_throttling/CalibrationController.ts +4 -1
  145. package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +1 -1
  146. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +10 -0
  147. package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +3 -3
  148. package/front_end/panels/network/NetworkConfigView.ts +26 -16
  149. package/front_end/panels/network/NetworkItemView.ts +1 -1
  150. package/front_end/panels/network/NetworkLogView.ts +4 -5
  151. package/front_end/panels/network/NetworkPanel.ts +1 -1
  152. package/front_end/panels/network/RequestConditionsDrawer.ts +3 -3
  153. package/front_end/panels/network/RequestCookiesView.ts +2 -2
  154. package/front_end/panels/network/RequestPayloadView.ts +0 -2
  155. package/front_end/panels/network/RequestTimingView.ts +1 -1
  156. package/front_end/panels/network/ResourceChunkView.ts +1 -1
  157. package/front_end/panels/network/components/HeaderSectionRow.ts +2 -2
  158. package/front_end/panels/network/components/RequestHeaderSection.ts +1 -1
  159. package/front_end/panels/network/components/RequestTrustTokensView.ts +7 -7
  160. package/front_end/panels/network/components/ResponseHeaderSection.ts +3 -4
  161. package/front_end/panels/network/network-meta.ts +1 -1
  162. package/front_end/panels/profiler/HeapDetachedElementsView.ts +1 -1
  163. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +10 -10
  164. package/front_end/panels/profiler/HeapSnapshotView.ts +1 -1
  165. package/front_end/panels/profiler/IsolateSelector.ts +4 -4
  166. package/front_end/panels/profiler/ModuleUIStrings.ts +1 -1
  167. package/front_end/panels/profiler/ProfilesPanel.ts +2 -3
  168. package/front_end/panels/recorder/RecorderPanel.ts +1 -1
  169. package/front_end/panels/search/SearchView.ts +6 -6
  170. package/front_end/panels/security/SecurityModel.ts +4 -4
  171. package/front_end/panels/security/SecurityPanel.ts +83 -54
  172. package/front_end/panels/security/SecurityPanelSidebar.ts +41 -5
  173. package/front_end/panels/security/sidebar.css +9 -10
  174. package/front_end/panels/sensors/SensorsView.ts +1 -1
  175. package/front_end/panels/settings/AISettingsTab.ts +9 -9
  176. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +1 -1
  177. package/front_end/panels/settings/KeybindsSettingsTab.ts +2 -2
  178. package/front_end/panels/settings/SettingsScreen.ts +156 -109
  179. package/front_end/panels/settings/WorkspaceSettingsTab.ts +1 -1
  180. package/front_end/panels/settings/components/SyncSection.ts +3 -3
  181. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +13 -13
  182. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +2 -2
  183. package/front_end/panels/snippets/SnippetsQuickOpen.ts +1 -1
  184. package/front_end/panels/sources/CSSPlugin.ts +3 -3
  185. package/front_end/panels/sources/DebuggerPlugin.ts +4 -4
  186. package/front_end/panels/sources/NavigatorView.ts +3 -3
  187. package/front_end/panels/sources/OutlineQuickOpen.ts +1 -1
  188. package/front_end/panels/sources/PersistenceActions.ts +2 -2
  189. package/front_end/panels/sources/SourcesNavigator.ts +5 -5
  190. package/front_end/panels/sources/TabbedEditorContainer.ts +1 -1
  191. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +0 -1
  192. package/front_end/panels/sources/components/HeadersView.ts +1 -1
  193. package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +1 -1
  194. package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
  195. package/front_end/panels/timeline/TimelineUIUtils.ts +0 -1
  196. package/front_end/panels/timeline/components/ExportTraceOptions.ts +2 -2
  197. package/front_end/panels/timeline/components/FieldSettingsDialog.ts +4 -4
  198. package/front_end/panels/timeline/components/IgnoreListSetting.ts +1 -1
  199. package/front_end/panels/timeline/components/LiveMetricsView.ts +7 -7
  200. package/front_end/panels/timeline/components/MetricCard.ts +3 -3
  201. package/front_end/panels/timeline/components/MetricCompareStrings.ts +12 -14
  202. package/front_end/panels/timeline/components/OriginMap.ts +3 -3
  203. package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +4 -4
  204. package/front_end/panels/timeline/overlays/OverlaysImpl.ts +6 -0
  205. package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +1 -1
  206. package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.ts +3 -1
  207. package/front_end/panels/timeline/timelineMiniMap.css +9 -9
  208. package/front_end/panels/timeline/timelineStatusDialog.css +9 -9
  209. package/front_end/panels/web_audio/WebAudioView.ts +1 -1
  210. package/front_end/panels/webauthn/WebauthnPane.ts +1 -1
  211. package/front_end/third_party/chromium/README.chromium +1 -1
  212. package/front_end/ui/comments/CommentAnchorResolver.ts +114 -3
  213. package/front_end/ui/comments/CommentOverlayManager.ts +95 -16
  214. package/front_end/ui/components/dialogs/TypeToAllowDialog.ts +1 -1
  215. package/front_end/ui/components/markdown_view/codeBlock.css +3 -8
  216. package/front_end/ui/components/markdown_view/markdownView.css +2 -7
  217. package/front_end/ui/components/panel_feedback/PanelFeedback.ts +2 -2
  218. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -1
  219. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +1 -1
  220. package/front_end/ui/components/text_editor/AiCodeCompletionTeaser.ts +4 -4
  221. package/front_end/ui/components/text_editor/AiCodeGenerationTeaser.ts +3 -3
  222. package/front_end/{models → ui}/geometry/GeometryImpl.ts +4 -40
  223. package/front_end/ui/legacy/GlassPane.ts +1 -1
  224. package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +2 -2
  225. package/front_end/ui/legacy/SoftDropDown.ts +1 -1
  226. package/front_end/ui/legacy/SplitWidget.ts +1 -1
  227. package/front_end/ui/legacy/SuggestBox.ts +1 -1
  228. package/front_end/ui/legacy/TabbedPane.ts +1 -1
  229. package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -2
  230. package/front_end/ui/legacy/Treeoutline.ts +5 -1
  231. package/front_end/ui/legacy/UIUtils.ts +1 -1
  232. package/front_end/ui/legacy/Widget.ts +1 -1
  233. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -1
  234. package/front_end/ui/legacy/components/inline_editor/AnimationTimingModel.ts +1 -1
  235. package/front_end/ui/legacy/components/inline_editor/AnimationTimingUI.ts +1 -1
  236. package/front_end/ui/legacy/components/inline_editor/BezierUI.ts +1 -1
  237. package/front_end/ui/legacy/components/inline_editor/CSSAngleUtils.ts +1 -1
  238. package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -1
  239. package/front_end/ui/legacy/components/inline_editor/PositionAreaEditor.ts +204 -17
  240. package/front_end/ui/legacy/components/inline_editor/positionAreaEditor.css +6 -0
  241. package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
  242. package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +1 -1
  243. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +7 -9
  244. package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +1 -1
  245. package/front_end/ui/visual_logging/KnownContextValues.ts +12 -0
  246. package/package.json +7 -4
  247. /package/front_end/{models → ui}/geometry/geometry.ts +0 -0
@@ -49,12 +49,12 @@ const UIStrings = {
49
49
  * the back/forward cache was not used and a normal navigation occurred instead.
50
50
  */
51
51
  normalNavigation:
52
- 'Not served from back/forward cache: to trigger back/forward cache, use Chrome’s back/forward buttons, or use the test button below to automatically navigate away and back.',
52
+ 'Not served from back/forward cache: to trigger back/forward cache, use Chrome’s back/forward buttons, or use the test button below to automatically navigate away and back',
53
53
  /**
54
54
  * @description Status text for the status of the back/forward cache status indicating that
55
55
  * the back/forward cache was used to restore the page instead of reloading it.
56
56
  */
57
- restoredFromBFCache: 'Successfully served from back/forward cache.',
57
+ restoredFromBFCache: 'Successfully served from back/forward cache',
58
58
  /**
59
59
  * @description Label for a list of reasons which prevent the page from being eligible for
60
60
  * back/forward cache. These reasons are actionable i.e. they can be cleaned up to make the
@@ -64,13 +64,13 @@ const UIStrings = {
64
64
  /**
65
65
  * @description Label for the completion of the back/forward cache test
66
66
  */
67
- testCompleted: 'Back/forward cache test completed.',
67
+ testCompleted: 'Back/forward cache test completed',
68
68
  /**
69
69
  * @description Explanation for actionable items which prevent the page from being eligible
70
70
  * for back/forward cache.
71
71
  */
72
72
  pageSupportNeededExplanation:
73
- 'These reasons are actionable i.e. they can be cleaned up to make the page eligible for back/forward cache.',
73
+ 'These reasons are actionable i.e. they can be cleaned up to make the page eligible for back/forward cache',
74
74
  /**
75
75
  * @description Label for a list of reasons which prevent the page from being eligible for
76
76
  * back/forward cache. These reasons are circumstantial / not actionable i.e. they cannot be
@@ -82,7 +82,7 @@ const UIStrings = {
82
82
  * for back/forward cache.
83
83
  */
84
84
  circumstantialExplanation:
85
- 'These reasons are not actionable i.e. caching was prevented by something outside of the direct control of the page.',
85
+ 'These reasons are not actionable i.e. caching was prevented by something outside of the direct control of the page',
86
86
  /**
87
87
  * @description Label for a list of reasons which prevent the page from being eligible for
88
88
  * back/forward cache. These reasons are pending support by chrome i.e. in a future version
@@ -110,7 +110,7 @@ const UIStrings = {
110
110
  * for back/forward cache.
111
111
  */
112
112
  supportPendingExplanation:
113
- 'Chrome support for these reasons is pending i.e. they will not prevent the page from being eligible for back/forward cache in a future version of Chrome.',
113
+ 'Chrome support for these reasons is pending i.e. they will not prevent the page from being eligible for back/forward cache in a future version of Chrome',
114
114
  /**
115
115
  * @description Text that precedes displaying a link to the extension which blocked the page from being eligible for back/forward cache.
116
116
  */
@@ -123,7 +123,7 @@ const UIStrings = {
123
123
  /**
124
124
  * @description Top level summary of the total number of issues found in a single frame.
125
125
  */
126
- issuesInSingleFrame: '{n, plural, =1 {# issue found in 1 frame.} other {# issues found in 1 frame.}}',
126
+ issuesInSingleFrame: '{n, plural, =1 {# issue found in 1 frame} other {# issues found in 1 frame}}',
127
127
  /**
128
128
  * @description Top level summary of the total number of issues found and the number of frames they were found in.
129
129
  * 'm' is never less than 2.
@@ -37,7 +37,7 @@ const UIStrings = {
37
37
  /**
38
38
  * @description Text shown once the deletion command has been sent to the browser process.
39
39
  */
40
- checkingPotentialTrackers: 'Checking for potential bounce tracking sites.',
40
+ checkingPotentialTrackers: 'Checking for potential bounce tracking sites',
41
41
  /**
42
42
  * @description Link text about explanation of Bounce Tracking Mitigations.
43
43
  */
@@ -52,7 +52,7 @@ const UIStrings = {
52
52
  /**
53
53
  * @description Text shown when bounce tracking mitigations are disabled.
54
54
  */
55
- featureDisabled: 'Bounce tracking mitigations are disabled.',
55
+ featureDisabled: 'Bounce tracking mitigations are disabled',
56
56
  } as const;
57
57
 
58
58
  const str_ = i18n.i18n.registerUIStrings('panels/application/components/BounceTrackingMitigationsView.ts', UIStrings);
@@ -40,12 +40,12 @@ const UIStrings = {
40
40
  /**
41
41
  * @description Tooltip text for a link to a specific request's headers in the Network panel.
42
42
  */
43
- clickToShowHeader: 'Click to reveal the request whose "`Permissions-Policy`" HTTP header disables this feature.',
43
+ clickToShowHeader: 'Click to reveal the request whose "`Permissions-Policy`" HTTP header disables this feature',
44
44
  /**
45
45
  * @description Tooltip text for a link to a specific iframe in the Elements panel (Iframes can be nested, the link goes
46
46
  * to the outer-most iframe which blocks a certain feature).
47
47
  */
48
- clickToShowIframe: 'Click to reveal the top-most iframe which does not allow this feature in the elements panel.',
48
+ clickToShowIframe: 'Click to reveal the top-most iframe which does not allow this feature in the elements panel',
49
49
  /**
50
50
  * @description Text describing that a specific feature is blocked by not being included in the iframe's "allow" attribute.
51
51
  */
@@ -36,7 +36,7 @@ const UIStrings = {
36
36
  * @example {protocolhandler/manifest.json} PH1
37
37
  */
38
38
  protocolNotDetected:
39
- 'Define protocol handlers in the {PH1} to register your app as a handler for custom protocols when your app is installed.',
39
+ 'Define protocol handlers in the {PH1} to register your app as a handler for custom protocols when your app is installed',
40
40
  /**
41
41
  * @description Text wrapping a link pointing to more information on handling protocol handlers
42
42
  * @example {https://example.com/} PH1
@@ -24,7 +24,7 @@ const UIStrings = {
24
24
  * @description Placeholder text that explains Reporting API reports.
25
25
  *(https://developers.google.com/web/updates/2018/09/reportingapi#sending)
26
26
  */
27
- reportingApiDescription: 'Here you will find reporting api reports that are generated by the page.',
27
+ reportingApiDescription: 'Here you will find reporting api reports that are generated by the page',
28
28
  /**
29
29
  * @description Link text to forward to a documentation page on reporting API.
30
30
  */
@@ -110,7 +110,7 @@ const UIStrings = {
110
110
  /**
111
111
  * @description Explanation text shown in the confirmation dialogue that displays before deleting the bucket.
112
112
  */
113
- bucketWillBeRemoved: 'The selected storage bucket and contained data will be removed.',
113
+ bucketWillBeRemoved: 'The selected storage bucket and contained data will be removed',
114
114
  } as const;
115
115
 
116
116
  const str_ = i18n.i18n.registerUIStrings('panels/application/components/StorageMetadataView.ts', UIStrings);
@@ -32,7 +32,7 @@ const UIStrings = {
32
32
  /**
33
33
  * @description Hover text for an info icon in the Private State Token panel
34
34
  */
35
- allStoredTrustTokensAvailableIn: 'All stored private state tokens available in this browser instance.',
35
+ allStoredTrustTokensAvailableIn: 'All stored private state tokens available in this browser instance',
36
36
  /**
37
37
  * @description Text shown instead of a table when the table would be empty. https://developers.google.com/privacy-sandbox/protections/private-state-tokens
38
38
  */
@@ -41,14 +41,14 @@ const UIStrings = {
41
41
  * @description Text shown if there are no private state tokens. https://developers.google.com/privacy-sandbox/protections/private-state-tokens
42
42
  */
43
43
  trustTokensDescription:
44
- 'On this page you can view all available private state tokens in the current browsing context.',
44
+ 'On this page you can view all available private state tokens in the current browsing context',
45
45
  /**
46
46
  * @description Each row in the Private State Token table has a delete button. This is the text shown
47
47
  * when hovering over this button. The placeholder is a normal URL, indicating the site which
48
48
  * provided the Private State Tokens that will be deleted when the button is clicked.
49
49
  * @example {https://google.com} PH1
50
50
  */
51
- deleteTrustTokens: 'Delete all stored private state tokens issued by {PH1}.',
51
+ deleteTrustTokens: 'Delete all stored private state tokens issued by {PH1}',
52
52
  /**
53
53
  * @description Heading label for a view. Previously known as 'Trust Tokens'.
54
54
  */
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright 2026 The Chromium Authors
3
+ * Use of this source code is governed by a BSD-style license that can be
4
+ * found in the LICENSE file.
5
+ */
6
+
7
+ .ad-provenance-tooltip {
8
+ user-select: text;
9
+ }
10
+
11
+ .ad-provenance-tooltip-title {
12
+ color: var(--sys-color-on-surface-subtle);
13
+ margin-top: var(--sys-size-2);
14
+ }
15
+
16
+ .ad-provenance-tooltip-title:first-child {
17
+ margin-top: 0;
18
+ }
19
+
20
+ .ad-provenance-tooltip-content {
21
+ padding-left: var(--sys-size-4);
22
+ }
@@ -15,7 +15,6 @@ import * as SDK from '../../../core/sdk/sdk.js';
15
15
  import * as TextUtils from '../../../core/text_utils/text_utils.js';
16
16
  import * as Protocol from '../../../generated/protocol.js';
17
17
  import * as Buttons from '../../../ui/components/buttons/buttons.js';
18
- // eslint-disable-next-line @devtools/es-modules-import
19
18
  import emptyWidgetStyles from '../../../ui/legacy/emptyWidget.css.js';
20
19
  import * as UI from '../../../ui/legacy/legacy.js';
21
20
  import {Directives, html, render} from '../../../ui/lit/lit.js';
@@ -31,76 +30,75 @@ const {widget} = UI.Widget;
31
30
 
32
31
  const UIStrings = {
33
32
  /**
34
- * @description DropDown title for filtering preloading attempts by rule set
33
+ * @description Tooltip for the filter by rule set dropdown in the speculative loads view.
35
34
  */
36
35
  filterFilterByRuleSet: 'Filter by rule set',
37
36
  /**
38
- * @description DropDown text for filtering preloading attempts by rule set: No filter
37
+ * @description Dropdown text for filtering preloading attempts by rule set when no filter is applied.
39
38
  */
40
39
  filterAllPreloads: 'All speculative loads',
41
40
  /**
42
- * @description Dropdown subtitle for filtering preloading attempts by rule set
43
- * when there are no rule sets in the page.
41
+ * @description Dropdown subtitle for filtering preloading attempts by rule set when there are no rule sets on the page.
44
42
  */
45
43
  noRuleSets: 'no rule sets',
46
44
  /**
47
- * @description Text in grid: Rule set is valid
45
+ * @description Status text in the rule sets table indicating the rule set is valid.
48
46
  */
49
47
  validityValid: 'Valid',
50
48
  /**
51
- * @description Text in grid: Rule set must be a valid JSON object
49
+ * @description Status text in the rule sets table indicating the rule set is invalid.
52
50
  */
53
51
  validityInvalid: 'Invalid',
54
52
  /**
55
- * @description Text in grid: Rule set contains invalid rules and they are ignored
53
+ * @description Status text in the rule sets table indicating some rules in the rule set are invalid and ignored.
56
54
  */
57
55
  validitySomeRulesInvalid: 'Some rules invalid',
58
56
  /**
59
- * @description Text in grid and details: Preloading attempt is not yet triggered.
57
+ * @description Status text in the speculative loads table and details report indicating the preloading attempt is not yet triggered.
60
58
  */
61
59
  statusNotTriggered: 'Not triggered',
62
60
  /**
63
- * @description Text in grid and details: Preloading attempt is eligible but pending.
61
+ * @description Status text in the speculative loads table and details report indicating the preloading attempt is eligible but pending.
64
62
  */
65
63
  statusPending: 'Pending',
66
64
  /**
67
- * @description Text in grid and details: Preloading is running.
65
+ * @description Status text in the speculative loads table and details report indicating preloading is running.
68
66
  */
69
67
  statusRunning: 'Running',
70
68
  /**
71
- * @description Text in grid and details: Preloading finished and the result is ready for the next navigation.
69
+ * @description Status text in the speculative loads table and details report indicating preloading finished and is ready for the next navigation.
72
70
  */
73
71
  statusReady: 'Ready',
74
72
  /**
75
- * @description Text in grid and details: Ready, then used.
73
+ * @description Status text in the speculative loads table and details report indicating preloading was ready, then used.
76
74
  */
77
75
  statusSuccess: 'Success',
78
76
  /**
79
- * @description Text in grid and details: Preloading failed.
77
+ * @description Status text in the speculative loads table and details report indicating preloading failed.
80
78
  */
81
79
  statusFailure: 'Failure',
82
80
  /**
83
- * @description Text to pretty print a file
81
+ * @description Tooltip text for the button to pretty print the rule set source.
84
82
  */
85
83
  prettyPrint: 'Pretty print',
86
84
  /**
87
- * @description Placeholder text if there are no rules to show. https://developer.chrome.com/docs/devtools/application/debugging-speculation-rules
85
+ * @description Empty state header in the speculation rules view when no rules are detected.
88
86
  */
89
87
  noRulesDetected: 'No rules detected',
90
88
  /**
91
- * @description Placeholder text if there are no rules to show. https://developer.chrome.com/docs/devtools/application/debugging-speculation-rules
89
+ * @description Empty state description in the speculation rules view when no rules are detected.
92
90
  */
93
- rulesDescription: 'On this page you will see the speculation rules used to prefetch and prerender page navigations.',
91
+ rulesDescription: 'On this page you will see the speculation rules used to prefetch and prerender page navigations',
94
92
  /**
95
- * @description Placeholder text if there are no speculation attempts for prefetching or prerendering urls. https://developer.chrome.com/docs/devtools/application/debugging-speculation-rules
93
+ * @description Empty state header in the speculative loads view when no speculation is detected.
96
94
  */
97
95
  noPrefetchAttempts: 'No speculation detected',
98
96
  /**
99
- * @description Placeholder text if there are no speculation attempts for prefetching or prerendering urls. https://developer.chrome.com/docs/devtools/application/debugging-speculation-rules
97
+ * @description Empty state description in the speculative loads view when no speculation is detected.
100
98
  */
101
- prefetchDescription: 'On this page you will see details on speculative loads.',
99
+ prefetchDescription: 'On this page you will see details on speculative loads',
102
100
  /**
103
- * @description Text for a learn more link
101
+ * @description Link text to learn more about speculation rules.
104
102
  */
105
103
  learnMore: 'Learn more',
106
104
  } as const;
@@ -19,39 +19,39 @@ const {render, html, Directives: {styleMap}} = Lit;
19
19
 
20
20
  const UIStrings = {
21
21
  /**
22
- * @description Column header
22
+ * @description Column header in the mismatched speculative loads table for the target URL.
23
23
  */
24
24
  url: 'URL',
25
25
  /**
26
- * @description Column header: Action of preloading (prefetch/prerender)
26
+ * @description Column header in the mismatched speculative loads table for the preloading action.
27
27
  */
28
28
  action: 'Action',
29
29
  /**
30
- * @description Column header: Status of preloading attempt
30
+ * @description Column header in the mismatched speculative loads table for the preloading status.
31
31
  */
32
32
  status: 'Status',
33
33
  /**
34
- * @description Text in grid and details: Preloading attempt is not yet triggered.
34
+ * @description Status text in the mismatched speculative loads table indicating the preloading attempt is not yet triggered.
35
35
  */
36
36
  statusNotTriggered: 'Not triggered',
37
37
  /**
38
- * @description Text in grid and details: Preloading attempt is eligible but pending.
38
+ * @description Status text in the mismatched speculative loads table indicating the preloading attempt is eligible but pending.
39
39
  */
40
40
  statusPending: 'Pending',
41
41
  /**
42
- * @description Text in grid and details: Preloading is running.
42
+ * @description Status text in the mismatched speculative loads table indicating preloading is running.
43
43
  */
44
44
  statusRunning: 'Running',
45
45
  /**
46
- * @description Text in grid and details: Preloading finished and the result is ready for the next navigation.
46
+ * @description Status text in the mismatched speculative loads table indicating preloading finished and is ready for the next navigation.
47
47
  */
48
48
  statusReady: 'Ready',
49
49
  /**
50
- * @description Text in grid and details: Ready, then used.
50
+ * @description Status text in the mismatched speculative loads table indicating preloading was ready, then used.
51
51
  */
52
52
  statusSuccess: 'Success',
53
53
  /**
54
- * @description Text in grid and details: Preloading failed.
54
+ * @description Status text in the mismatched speculative loads table indicating preloading failed.
55
55
  */
56
56
  statusFailure: 'Failure',
57
57
  } as const;
@@ -26,95 +26,93 @@ const {html} = Lit;
26
26
 
27
27
  const UIStrings = {
28
28
  /**
29
- * @description Text in PreloadingDetailsReportView of the Application panel if no element is selected. An element here is an item in a
30
- * table of target URLs and additional prefetching states. https://developer.chrome.com/docs/devtools/application/debugging-speculation-rules
29
+ * @description Empty state header in the preloading details report of the Application panel when no element is selected.
31
30
  */
32
31
  noElementSelected: 'No element selected',
33
32
  /**
34
- * @description Text in PreloadingDetailsReportView of the Application panel to prompt user to select an element in a table. An element here is an item in a
35
- * table of target URLs and additional prefetching states. https://developer.chrome.com/docs/devtools/application/debugging-speculation-rules
33
+ * @description Empty state description in the preloading details report of the Application panel prompting the user to select an element.
36
34
  */
37
35
  selectAnElementForMoreDetails: 'Select an element for more details',
38
36
  /**
39
- * @description Text in details
37
+ * @description Section header in the preloading details report for detailed information.
40
38
  */
41
39
  detailsDetailedInformation: 'Detailed information',
42
40
  /**
43
- * @description Text in details
41
+ * @description Field label in the preloading details report for the speculation action.
44
42
  */
45
43
  detailsAction: 'Action',
46
44
  /**
47
- * @description Text in details
45
+ * @description Field label in the preloading details report for the preloading status.
48
46
  */
49
47
  detailsStatus: 'Status',
50
48
  /**
51
- * @description Text in details
49
+ * @description Field label in the preloading details report for the target hint.
52
50
  */
53
51
  detailsTargetHint: 'Target hint',
54
52
  /**
55
- * @description Text in details
53
+ * @description Field label in the preloading details report for form submission.
56
54
  */
57
55
  detailsFormSubmission: 'Form submission',
58
56
  /**
59
- * @description Text in details
57
+ * @description Field label in the preloading details report for the failure reason.
60
58
  */
61
59
  detailsFailureReason: 'Failure reason',
62
60
  /**
63
- * @description Header of rule set
61
+ * @description Field label in the preloading details report for the rule set.
64
62
  */
65
63
  detailsRuleSet: 'Rule set',
66
64
  /**
67
- * @description Text indicating that the preloading field is true.
65
+ * @description Field value in the preloading details report indicating true or enabled.
68
66
  */
69
67
  yes: 'Yes',
70
68
  /**
71
- * @description Text indicating that the preloading field is false.
69
+ * @description Field value in the preloading details report indicating false or disabled.
72
70
  */
73
71
  no: 'No',
74
72
  /**
75
- * @description Description: status
73
+ * @description Status note in the preloading details report indicating prerender automatically fell back to prefetch.
76
74
  */
77
75
  automaticallyFellBackToPrefetch: '(automatically fell back to prefetch)',
78
76
  /**
79
- * @description Description: status
77
+ * @description Detailed status in the preloading details report indicating the speculative load attempt isn't yet triggered.
80
78
  */
81
- detailedStatusNotTriggered: 'Speculative load attempt is not yet triggered.',
79
+ detailedStatusNotTriggered: 'Speculative load attempt isn’t yet triggered',
82
80
  /**
83
- * @description Description: status
81
+ * @description Detailed status in the preloading details report indicating the speculative load attempt is eligible but pending.
84
82
  */
85
- detailedStatusPending: 'Speculative load attempt is eligible but pending.',
83
+ detailedStatusPending: 'Speculative load attempt is eligible but pending',
86
84
  /**
87
- * @description Description: status
85
+ * @description Detailed status in the preloading details report indicating the speculative load is running.
88
86
  */
89
- detailedStatusRunning: 'Speculative load is running.',
87
+ detailedStatusRunning: 'Speculative load is running',
90
88
  /**
91
- * @description Description: status
89
+ * @description Detailed status in the preloading details report indicating the speculative load finished and the result is ready for the next navigation.
92
90
  */
93
- detailedStatusReady: 'Speculative load finished and the result is ready for the next navigation.',
91
+ detailedStatusReady: 'Speculative load finished and the result is ready for the next navigation',
94
92
  /**
95
- * @description Description: status
93
+ * @description Detailed status in the preloading details report indicating the speculative load finished and was used for a navigation.
96
94
  */
97
- detailedStatusSuccess: 'Speculative load finished and used for a navigation.',
95
+ detailedStatusSuccess: 'Speculative load finished and used for a navigation',
98
96
  /**
99
- * @description Description: status
97
+ * @description Detailed status in the preloading details report indicating the speculative load failed.
100
98
  */
101
- detailedStatusFailure: 'Speculative load failed.',
99
+ detailedStatusFailure: 'Speculative load failed',
102
100
  /**
103
- * @description Description: status
101
+ * @description Detailed status in the preloading details report indicating the speculative load failed, but fallback to prefetch succeeded.
104
102
  */
105
- detailedStatusFallbackToPrefetch: 'Speculative load failed, but fallback to prefetch succeeded.',
103
+ detailedStatusFallbackToPrefetch: 'Speculative load failed, but fallback to prefetch succeeded',
106
104
  /**
107
- * @description button: Contents of button to inspect prerendered page
105
+ * @description Button text to inspect the prerendered page.
108
106
  */
109
107
  buttonInspect: 'Inspect',
110
108
  /**
111
- * @description button: Title of button to inspect prerendered page
109
+ * @description Tooltip text for the button to inspect the prerendered page.
112
110
  */
113
- buttonClickToInspect: 'Click to inspect prerendered page',
111
+ buttonClickToInspect: 'Inspect prerendered page',
114
112
  /**
115
- * @description button: Title of button to reveal rule set
113
+ * @description Tooltip text for the button to reveal the rule set in the speculation rules view.
116
114
  */
117
- buttonClickToRevealRuleSet: 'Click to reveal rule set',
115
+ buttonClickToRevealRuleSet: 'Reveal rule set',
118
116
  } as const;
119
117
  const str_ =
120
118
  i18n.i18n.registerUIStrings('panels/application/preloading/components/PreloadingDetailsReportView.ts', UIStrings);
@@ -19,73 +19,73 @@ const {urlString} = Platform.DevToolsPath;
19
19
 
20
20
  const UIStrings = {
21
21
  /**
22
- * @description Infobar text for disabled case
22
+ * @description Infobar text indicating speculative loading is disabled.
23
23
  */
24
24
  infobarPreloadingIsDisabled: 'Speculative loading is disabled',
25
25
  /**
26
- * @description Infobar text for force-enabled case
26
+ * @description Infobar text indicating speculative loading is force-enabled.
27
27
  */
28
28
  infobarPreloadingIsForceEnabled: 'Speculative loading is force-enabled',
29
29
  /**
30
- * @description Title for dialog
30
+ * @description Title of dialog explaining reasons stopping speculative loading.
31
31
  */
32
- titleReasonsPreventingPreloading: 'Reasons preventing speculative loading',
32
+ titleReasonsPreventingPreloading: 'Reasons stopping speculative loading',
33
33
  /**
34
- * @description Header in dialog
34
+ * @description Dialog header when speculative loading is disabled by user settings or extensions.
35
35
  */
36
36
  headerDisabledByPreference: 'User settings or extensions',
37
37
  /**
38
- * @description Description in dialog
39
- * @example {Preload pages settings (linked to chrome://settings/performance)} PH1
40
- * @example {Extensions settings (linked to chrome://extensions)} PH2
38
+ * @description Dialog description when speculative loading is disabled by user settings or extensions.
39
+ * @example {Preload pages settings} PH1
40
+ * @example {Extensions settings} PH2
41
41
  */
42
42
  descriptionDisabledByPreference:
43
43
  'Speculative loading is disabled because of user settings or an extension. Go to {PH1} to update your preference. Go to {PH2} to disable any extension that blocks speculative loading.',
44
44
  /**
45
- * @description Text of link
45
+ * @description Link text to preload pages settings in Chrome settings.
46
46
  */
47
47
  preloadingPagesSettings: 'Preload pages settings',
48
48
  /**
49
- * @description Text of link
49
+ * @description Link text to extensions settings in Chrome settings.
50
50
  */
51
51
  extensionsSettings: 'Extensions settings',
52
52
  /**
53
- * @description Header in dialog
53
+ * @description Dialog header when speculative loading is disabled by Data Saver.
54
54
  */
55
55
  headerDisabledByDataSaver: 'Data Saver',
56
56
  /**
57
- * @description Description in dialog
57
+ * @description Dialog description when speculative loading is disabled by Data Saver.
58
58
  */
59
- descriptionDisabledByDataSaver: 'Speculative loading is disabled because of the operating system’s Data Saver mode.',
59
+ descriptionDisabledByDataSaver: 'Speculative loading is disabled because of the operating system’s Data Saver mode',
60
60
  /**
61
- * @description Header in dialog
61
+ * @description Dialog header when speculative loading is disabled by Battery Saver.
62
62
  */
63
63
  headerDisabledByBatterySaver: 'Battery Saver',
64
64
  /**
65
- * @description Description in dialog
65
+ * @description Dialog description when speculative loading is disabled by Battery Saver.
66
66
  */
67
67
  descriptionDisabledByBatterySaver:
68
- 'Speculative loading is disabled because of the operating system’s Battery Saver mode.',
68
+ 'Speculative loading is disabled because of the operating system’s Battery Saver mode',
69
69
  /**
70
- * @description Header in dialog
70
+ * @description Dialog header when prefetch was disabled but is force-enabled.
71
71
  */
72
72
  headerDisabledByHoldbackPrefetchSpeculationRules: 'Prefetch was disabled, but is force-enabled now',
73
73
  /**
74
- * @description Description in infobar
74
+ * @description Dialog description when prefetch is force-enabled due to DevTools being open.
75
75
  */
76
76
  descriptionDisabledByHoldbackPrefetchSpeculationRules:
77
- 'Prefetch is forced-enabled because DevTools is open. When DevTools is closed, prefetch will be disabled because this browser session is part of a holdback group used for performance comparisons.',
77
+ 'Prefetch is force-enabled because DevTools is open. When DevTools is closed, prefetch will be disabled because this browser session is part of a holdback group used for performance comparisons.',
78
78
  /**
79
- * @description Header in dialog
79
+ * @description Dialog header when prerendering was disabled but is force-enabled.
80
80
  */
81
81
  headerDisabledByHoldbackPrerenderSpeculationRules: 'Prerendering was disabled, but is force-enabled now',
82
82
  /**
83
- * @description Description in infobar
83
+ * @description Dialog description when prerendering is force-enabled due to DevTools being open.
84
84
  */
85
85
  descriptionDisabledByHoldbackPrerenderSpeculationRules:
86
- 'Prerendering is forced-enabled because DevTools is open. When DevTools is closed, prerendering will be disabled because this browser session is part of a holdback group used for performance comparisons.',
86
+ 'Prerendering is force-enabled because DevTools is open. When DevTools is closed, prerendering will be disabled because this browser session is part of a holdback group used for performance comparisons.',
87
87
  /**
88
- * @description Footer link for more details
88
+ * @description Footer link to learn more about speculative loading.
89
89
  */
90
90
  footerLearnMore: 'Learn more',
91
91
  } as const;
@@ -20,19 +20,19 @@ const {PreloadingStatus} = SDK.PreloadingModel;
20
20
 
21
21
  const UIStrings = {
22
22
  /**
23
- * @description Column header: Action of preloading (prefetch/prerender)
23
+ * @description Column header for the action of a speculative load (prefetch or prerender).
24
24
  */
25
25
  action: 'Action',
26
26
  /**
27
- * @description Column header: A rule set of preloading
27
+ * @description Column header for the rule set of a speculative load.
28
28
  */
29
29
  ruleSet: 'Rule set',
30
30
  /**
31
- * @description Column header: Status of preloading attempt
31
+ * @description Column header for the status of a speculative load attempt.
32
32
  */
33
33
  status: 'Status',
34
34
  /**
35
- * @description Status: Prerender failed, but prefetch is available
35
+ * @description Status text indicating that prerendering failed, but prefetch is available.
36
36
  */
37
37
  prefetchFallbackReady: 'Prefetch fallback ready',
38
38
  } as const;