chrome-devtools-frontend 1.0.1668390 → 1.0.1669021

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 (192) hide show
  1. package/.agents/skills/devtools-ci/SKILL.md +65 -0
  2. package/.agents/skills/gerrit-cli/SKILL.md +59 -0
  3. package/.agents/skills/gerrit-cli/references/commands.md +93 -0
  4. package/.agents/skills/gerrit-cli/references/workflows.md +56 -0
  5. package/.agents/skills/gerrit-cli/scripts/gerrit_client_wrapper.py +47 -0
  6. package/.agents/skills/gerrit-cli/scripts/import_upstream.py +230 -0
  7. package/docs/contributing/infrastructure.md +7 -1
  8. package/front_end/core/host/AidaClient.ts +66 -47
  9. package/front_end/core/host/GcaClient.ts +4 -6
  10. package/front_end/core/host/ResourceLoader.ts +4 -2
  11. package/front_end/core/root/Runtime.ts +0 -5
  12. package/front_end/core/sdk/ConsoleModel.ts +3 -2
  13. package/front_end/core/sdk/DebuggerModel.ts +14 -6
  14. package/front_end/core/sdk/SDKSettings.ts +19 -0
  15. package/front_end/core/sdk/sdk-meta.ts +0 -58
  16. package/front_end/generated/InspectorBackendCommands.ts +2 -2
  17. package/front_end/generated/protocol.ts +11 -3
  18. package/front_end/models/ai_assistance/AiUtils.ts +67 -4
  19. package/front_end/models/ai_assistance/StorageItem.ts +26 -5
  20. package/front_end/models/ai_code_completion/AiCodeCompletion.ts +2 -19
  21. package/front_end/models/ai_code_generation/AiCodeGeneration.ts +2 -3
  22. package/front_end/models/trace/handlers/RendererHandler.ts +20 -4
  23. package/front_end/models/trace/types/File.ts +1 -0
  24. package/front_end/models/workspace/UISourceCode.ts +0 -10
  25. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +61 -182
  26. package/front_end/panels/ai_assistance/components/ChatInput.ts +25 -8
  27. package/front_end/panels/ai_assistance/components/ChatMessage.ts +13 -69
  28. package/front_end/panels/ai_assistance/components/ChatView.ts +14 -8
  29. package/front_end/panels/ai_assistance/components/chatMessage.css +2 -20
  30. package/front_end/panels/application/ApplicationPanelSidebar.ts +2 -2
  31. package/front_end/panels/application/ApplicationPanelTreeElement.ts +41 -3
  32. package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +116 -79
  33. package/front_end/panels/application/ServiceWorkersView.ts +8 -8
  34. package/front_end/panels/application/application.ts +2 -0
  35. package/front_end/panels/application/components/AdsView.ts +10 -6
  36. package/front_end/panels/application/preloading/PreloadingView.ts +53 -45
  37. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +111 -119
  38. package/front_end/panels/application/preloading/components/preloadingDetailsReportView.css +21 -23
  39. package/front_end/panels/application/serviceWorkerUpdateCycleView.css +105 -102
  40. package/front_end/panels/common/AiCodeCompletionDisclaimer.ts +107 -96
  41. package/front_end/panels/common/AiCodeCompletionSummaryToolbar.ts +17 -19
  42. package/front_end/panels/common/AiCodeCompletionTeaser.ts +6 -6
  43. package/front_end/panels/common/AiCodeGenerationTeaser.ts +28 -26
  44. package/front_end/panels/common/common.ts +1 -1
  45. package/front_end/panels/console/ConsoleInsightTeaser.ts +3 -6
  46. package/front_end/panels/console/ConsoleView.ts +6 -4
  47. package/front_end/panels/console/ConsoleViewMessage.ts +1 -1
  48. package/front_end/panels/console/console-meta.ts +28 -0
  49. package/front_end/panels/elements/StylesAiCodeCompletionProvider.ts +1 -1
  50. package/front_end/panels/elements/StylesSidebarPane.ts +3 -2
  51. package/front_end/panels/emulation/DeviceModeWrapper.ts +18 -4
  52. package/front_end/panels/explain/components/ConsoleInsight.ts +4 -6
  53. package/front_end/panels/explain/explain-meta.ts +7 -49
  54. package/front_end/panels/network/NetworkDataGridNode.ts +1 -1
  55. package/front_end/panels/network/NetworkLogView.ts +1 -0
  56. package/front_end/panels/network/OriginalResourceChunkView.ts +340 -0
  57. package/front_end/panels/network/ResourceChunkView.ts +72 -46
  58. package/front_end/panels/network/ResourceDirectSocketChunkView.ts +3 -2
  59. package/front_end/panels/network/ResourceWebSocketFrameView.ts +3 -3
  60. package/front_end/panels/network/originalResourceChunkView.css +49 -0
  61. package/front_end/panels/screencast/ScreencastView.ts +401 -260
  62. package/front_end/panels/screencast/screencastView.css +113 -100
  63. package/front_end/panels/sensors/LocationsSettingsTab.ts +106 -122
  64. package/front_end/panels/sensors/locationsSettingsTab.css +4 -4
  65. package/front_end/panels/settings/AISettingsTab.ts +17 -100
  66. package/front_end/panels/snippets/ScriptSnippetFileSystem.ts +2 -2
  67. package/front_end/panels/snippets/SnippetsQuickOpen.ts +4 -4
  68. package/front_end/panels/sources/AddSourceMapURLDialog.ts +3 -3
  69. package/front_end/panels/sources/AiCodeCompletionPlugin.ts +4 -3
  70. package/front_end/panels/sources/BreakpointEditDialog.ts +14 -14
  71. package/front_end/panels/sources/BreakpointsView.ts +14 -14
  72. package/front_end/panels/sources/CallStackSidebarPane.ts +6 -6
  73. package/front_end/panels/sources/CategorizedBreakpointL10n.ts +18 -18
  74. package/front_end/panels/sources/CoveragePlugin.ts +7 -7
  75. package/front_end/panels/sources/DebuggerPausedMessage.ts +23 -23
  76. package/front_end/panels/sources/DebuggerPlugin.ts +29 -29
  77. package/front_end/panels/sources/FilteredUISourceCodeListProvider.ts +2 -2
  78. package/front_end/panels/sources/GoToLineQuickOpen.ts +10 -10
  79. package/front_end/panels/sources/NavigatorView.ts +34 -27
  80. package/front_end/panels/sources/OutlineQuickOpen.ts +3 -3
  81. package/front_end/panels/sources/PersistenceActions.ts +9 -9
  82. package/front_end/panels/sources/ProfilePlugin.ts +1 -1
  83. package/front_end/panels/sources/ScopeChainSidebarPane.ts +5 -5
  84. package/front_end/panels/sources/SnippetsPlugin.ts +2 -2
  85. package/front_end/panels/sources/SourcesNavigator.ts +20 -18
  86. package/front_end/panels/sources/SourcesPanel.ts +26 -25
  87. package/front_end/panels/sources/SourcesView.ts +5 -6
  88. package/front_end/panels/sources/TabbedEditorContainer.ts +3 -3
  89. package/front_end/panels/sources/ThreadsSidebarPane.ts +1 -1
  90. package/front_end/panels/sources/UISourceCodeFrame.ts +0 -2
  91. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +7 -7
  92. package/front_end/panels/sources/components/HeadersView.ts +2 -2
  93. package/front_end/panels/sources/sources-meta.ts +109 -71
  94. package/front_end/panels/sources/sources.ts +0 -2
  95. package/front_end/panels/timeline/TimelineHistoryManager.ts +14 -3
  96. package/front_end/panels/timeline/TimelineLoader.ts +72 -42
  97. package/front_end/panels/timeline/TimelinePanel.ts +29 -4
  98. package/front_end/panels/timeline/timelineHistoryManager.css +4 -0
  99. package/front_end/third_party/chromium/README.chromium +1 -1
  100. package/front_end/third_party/puppeteer/README.chromium +2 -2
  101. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +187 -1
  102. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +91 -38
  103. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.d.ts +145 -2
  104. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.d.ts.map +1 -1
  105. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.js +0 -2
  106. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Browser.js.map +1 -1
  107. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.d.ts +0 -2
  108. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.d.ts.map +1 -1
  109. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.js +0 -2
  110. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/BrowserContext.js.map +1 -1
  111. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Dialog.d.ts +3 -2
  112. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Dialog.d.ts.map +1 -1
  113. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Dialog.js +8 -2
  114. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Dialog.js.map +1 -1
  115. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/JSHandle.d.ts +0 -2
  116. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/JSHandle.d.ts.map +1 -1
  117. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/JSHandle.js +0 -2
  118. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/JSHandle.js.map +1 -1
  119. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts +1 -3
  120. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts.map +1 -1
  121. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js +0 -2
  122. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js.map +1 -1
  123. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Realm.d.ts +0 -1
  124. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Realm.d.ts.map +1 -1
  125. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Realm.js +0 -1
  126. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Realm.js.map +1 -1
  127. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.d.ts.map +1 -1
  128. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.js +2 -2
  129. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.js.map +1 -1
  130. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Browser.d.ts +5 -1
  131. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Browser.d.ts.map +1 -1
  132. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Browser.js +12 -0
  133. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Browser.js.map +1 -1
  134. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPResponse.d.ts.map +1 -1
  135. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPResponse.js +4 -1
  136. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/HTTPResponse.js.map +1 -1
  137. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.d.ts +5 -1
  138. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.d.ts.map +1 -1
  139. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.js +49 -0
  140. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.js.map +1 -1
  141. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/EventEmitter.d.ts +0 -6
  142. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/EventEmitter.d.ts.map +1 -1
  143. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/EventEmitter.js +0 -6
  144. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/EventEmitter.js.map +1 -1
  145. package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts +1 -1
  146. package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts.map +1 -1
  147. package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js +1 -1
  148. package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js.map +1 -1
  149. package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/util.d.ts.map +1 -1
  150. package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/util.js +3 -0
  151. package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/util.js.map +1 -1
  152. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.d.ts +0 -3
  153. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  154. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.js +0 -3
  155. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.js.map +1 -1
  156. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
  157. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
  158. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/disposable.d.ts +2 -2
  159. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/disposable.js +2 -2
  160. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
  161. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
  162. package/front_end/third_party/puppeteer/package/lib/types.d.ts +187 -1
  163. package/front_end/third_party/puppeteer/package/package.json +5 -5
  164. package/front_end/third_party/puppeteer/package/src/api/Browser.ts +155 -2
  165. package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +0 -2
  166. package/front_end/third_party/puppeteer/package/src/api/Dialog.ts +10 -2
  167. package/front_end/third_party/puppeteer/package/src/api/JSHandle.ts +0 -2
  168. package/front_end/third_party/puppeteer/package/src/api/Page.ts +1 -3
  169. package/front_end/third_party/puppeteer/package/src/api/Realm.ts +0 -1
  170. package/front_end/third_party/puppeteer/package/src/bidi/BidiOverCdp.ts +4 -2
  171. package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +17 -0
  172. package/front_end/third_party/puppeteer/package/src/bidi/HTTPResponse.ts +5 -4
  173. package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +66 -0
  174. package/front_end/third_party/puppeteer/package/src/common/EventEmitter.ts +0 -6
  175. package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
  176. package/front_end/third_party/puppeteer/package/src/injected/util.ts +4 -1
  177. package/front_end/third_party/puppeteer/package/src/node/ScreenRecorder.ts +0 -3
  178. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  179. package/front_end/third_party/puppeteer/package/src/util/disposable.ts +2 -2
  180. package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
  181. package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +9 -7
  182. package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +7 -8
  183. package/front_end/ui/legacy/Dialog.ts +12 -2
  184. package/front_end/ui/legacy/TabbedPane.ts +7 -2
  185. package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +40 -24
  186. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -0
  187. package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +8 -4
  188. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +14 -7
  189. package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +11 -1
  190. package/front_end/ui/visual_logging/KnownContextValues.ts +2 -0
  191. package/package.json +1 -1
  192. package/front_end/panels/sources/AiWarningInfobarPlugin.ts +0 -78
@@ -116,42 +116,25 @@ const UIStrings = {
116
116
  /**
117
117
  * @description Text describing the AI assistance feature.
118
118
  */
119
- helpUnderstandStyling: 'Get help with understanding CSS styles',
119
+ aiAssistanceDescription: 'Get context-aware help on the inspected page',
120
120
  /**
121
- * @description Text describing the AI assistance feature.
122
- */
123
- helpUnderstandStylingAndNetworkRequest: 'Get help with understanding CSS styles and network requests',
124
- /**
125
- * @description Text describing the AI assistance feature.
126
- */
127
- helpUnderstandStylingNetworkAndFile: 'Get help with understanding CSS styles, network requests, and files',
128
- /**
129
- * @description Text describing the AI assistance feature.
130
- */
131
- helpUnderstandStylingNetworkPerformanceAndFile:
132
- 'Get help with understanding CSS styles, network requests, performance, and files',
133
- /**
134
- * @description Text describing the AI assistance feature when V2 is enabled.
121
+ * @description First item in the description of the AI assistance feature.
135
122
  */
136
- aiAssistanceDescriptionV2: 'Get context-aware help on the inspected page',
137
- /**
138
- * @description First item in the description of the AI assistance feature when V2 is enabled.
139
- */
140
- aiAssistanceWhenOnItem1V2:
123
+ aiAssistanceWhenOnItem1:
141
124
  'Debug styling, network, performance, source code, accessibility and storage issues with DevTools AI assistance',
142
125
  /**
143
- * @description Second item in the description of the AI assistance feature when V2 is enabled.
126
+ * @description Second item in the description of the AI assistance feature.
144
127
  */
145
- aiAssistanceWhenOnItem2V2: 'Follow the agent’s reasoning step-by-step and quickly jump to the relevant source data',
128
+ aiAssistanceWhenOnItem2: 'Follow the agent’s reasoning step-by-step and quickly jump to the relevant source data',
146
129
  /**
147
- * @description Explainer for which data is being sent by the AI assistance feature when V2 is enabled.
130
+ * @description Explainer for which data is being sent by the AI assistance feature.
148
131
  */
149
- aiAssistanceThingsToConsiderV2:
132
+ aiAssistanceThingsToConsider:
150
133
  'To generate explanations, chat messages, data accessible for this site via DevTools panels and Web APIs, and items you select such as network requests, files, and performance traces are sent to Google and may be seen by human reviewers to improve this feature. This is an experimental AI feature and won’t always get it right.',
151
134
  /**
152
- * @description Explainer for which data is being sent by the AI assistance feature when V2 is enabled and logging is disabled.
135
+ * @description Explainer for which data is being sent by the AI assistance feature when logging is disabled.
153
136
  */
154
- aiAssistanceThingsToConsiderNoLoggingV2:
137
+ aiAssistanceThingsToConsiderNoLogging:
155
138
  'To generate explanations, chat messages, data accessible for this site via DevTools panels and Web APIs, and items you select such as network requests, files, and performance traces are sent to Google. The content you submit and that is generated by this feature will not be used to improve Google’s AI models. This is an experimental AI feature and won’t always get it right.',
156
139
  /**
157
140
  * @description Text describing the code suggestions feature.
@@ -161,37 +144,6 @@ const UIStrings = {
161
144
  * @description Text which is a hyperlink to more documentation.
162
145
  */
163
146
  learnMore: 'Learn more',
164
- /**
165
- * @description Description of the AI assistance feature.
166
- */
167
- explainStyling: 'Understand CSS styles with AI-powered insights',
168
- /**
169
- * @description Description of the AI assistance feature.
170
- */
171
- explainStylingAndNetworkRequest: 'Understand CSS styles and network activity with AI-powered insights',
172
- /**
173
- * @description Description of the AI assistance feature.
174
- */
175
- explainStylingNetworkAndFile: 'Understand CSS styles, network activity, and file origins with AI-powered insights',
176
- /**
177
- * @description Description of the AI assistance feature.
178
- */
179
- explainStylingNetworkPerformanceAndFile:
180
- 'Understand CSS styles, network activity, performance bottlenecks, and file origins with AI-powered insights',
181
- /**
182
- * @description Description of the AI assistance feature.
183
- */
184
- receiveStylingSuggestions: 'Improve your development workflow with contextual explanations and suggestions',
185
- /**
186
- * @description Explainer for which data is being sent by the AI assistance feature.
187
- */
188
- freestylerSendsData:
189
- 'To generate explanations, your chat messages, any data the inspected page can see using Web APIs, and the items you select such as files, network requests, and performance traces are sent to Google. This data may be seen by human reviewers to improve this feature. Don’t use on pages with personal or sensitive information.',
190
- /**
191
- * @description Explainer for which data is being sent by the AI assistance feature without logging.
192
- */
193
- freestylerSendsDataNoLogging:
194
- 'To generate explanations, your chat messages, any data the inspected page can see using Web APIs, and the items you select such as files, network requests, and performance traces are sent to Google. This data will not be used to improve Google’s AI models. Your organization may change these settings at any time.',
195
147
  /**
196
148
  * @description Explainer for which data is being sent by the AI-generated annotations feature.
197
149
  */
@@ -562,10 +514,9 @@ export class AISettingsTab extends UI.Widget.VBox {
562
514
  }
563
515
 
564
516
  if (this.#aiAssistanceSetting) {
565
- const isV2 = Root.Runtime.hostConfig.devToolsAiAssistanceV2?.enabled;
566
517
  const aiAssistanceData: AiSettingParams = {
567
- settingName: i18n.i18n.lockedString(
568
- AiAssistanceModel.AiUtils.isGeminiBranding() ? 'Gemini in Chrome DevTools' : 'AI assistance'),
518
+ settingName: i18n.i18n.lockedString(AiAssistanceModel.AiUtils.isGeminiBranding() ? 'Gemini in Chrome DevTools' :
519
+ 'AI assistance'),
569
520
  iconName: AiAssistanceModel.AiUtils.getIconName(),
570
521
  settingDescription: this.#getAiAssistanceSettingDescription(),
571
522
  enableSettingText: i18nString(UIStrings.enableAiAssistance),
@@ -573,16 +524,13 @@ export class AISettingsTab extends UI.Widget.VBox {
573
524
  {iconName: 'info', text: this.#getAiAssistanceSettingInfo()},
574
525
  {
575
526
  iconName: 'pen-spark',
576
- text: isV2 ? i18nString(UIStrings.aiAssistanceWhenOnItem2V2) :
577
- i18nString(UIStrings.receiveStylingSuggestions),
527
+ text: i18nString(UIStrings.aiAssistanceWhenOnItem2),
578
528
  },
579
529
  ],
580
530
  toConsiderSettingItems: [{
581
531
  iconName: 'google',
582
- text: isV2 ? (noLogging ? i18nString(UIStrings.aiAssistanceThingsToConsiderNoLoggingV2) :
583
- i18nString(UIStrings.aiAssistanceThingsToConsiderV2)) :
584
- (noLogging ? i18nString(UIStrings.freestylerSendsDataNoLogging) :
585
- i18nString(UIStrings.freestylerSendsData)),
532
+ text: noLogging ? i18nString(UIStrings.aiAssistanceThingsToConsiderNoLogging) :
533
+ i18nString(UIStrings.aiAssistanceThingsToConsider),
586
534
  }],
587
535
  learnMoreLink: {
588
536
  url: 'https://developer.chrome.com/docs/devtools/ai-assistance',
@@ -673,37 +621,11 @@ export class AISettingsTab extends UI.Widget.VBox {
673
621
  }
674
622
 
675
623
  #getAiAssistanceSettingDescription(): Platform.UIString.LocalizedString {
676
- const {hostConfig} = Root.Runtime;
677
- if (hostConfig.devToolsAiAssistanceV2?.enabled) {
678
- return i18nString(UIStrings.aiAssistanceDescriptionV2);
679
- }
680
- if (hostConfig.devToolsAiAssistancePerformanceAgent?.enabled) {
681
- return i18nString(UIStrings.helpUnderstandStylingNetworkPerformanceAndFile);
682
- }
683
- if (hostConfig.devToolsAiAssistanceFileAgent?.enabled) {
684
- return i18nString(UIStrings.helpUnderstandStylingNetworkAndFile);
685
- }
686
- if (hostConfig.devToolsAiAssistanceNetworkAgent?.enabled) {
687
- return i18nString(UIStrings.helpUnderstandStylingAndNetworkRequest);
688
- }
689
- return i18nString(UIStrings.helpUnderstandStyling);
624
+ return i18nString(UIStrings.aiAssistanceDescription);
690
625
  }
691
626
 
692
627
  #getAiAssistanceSettingInfo(): Platform.UIString.LocalizedString {
693
- const {hostConfig} = Root.Runtime;
694
- if (hostConfig.devToolsAiAssistanceV2?.enabled) {
695
- return i18nString(UIStrings.aiAssistanceWhenOnItem1V2);
696
- }
697
- if (hostConfig.devToolsAiAssistancePerformanceAgent?.enabled) {
698
- return i18nString(UIStrings.explainStylingNetworkPerformanceAndFile);
699
- }
700
- if (hostConfig.devToolsAiAssistanceFileAgent?.enabled) {
701
- return i18nString(UIStrings.explainStylingNetworkAndFile);
702
- }
703
- if (hostConfig.devToolsAiAssistanceNetworkAgent?.enabled) {
704
- return i18nString(UIStrings.explainStylingAndNetworkRequest);
705
- }
706
- return i18nString(UIStrings.explainStyling);
628
+ return i18nString(UIStrings.aiAssistanceWhenOnItem1);
707
629
  }
708
630
 
709
631
  #expandSetting(setting: Common.Settings.Setting<boolean>): void {
@@ -753,12 +675,7 @@ export class AISettingsTab extends UI.Widget.VBox {
753
675
  void AiAssistanceModel.AiHistoryStorage.AiHistoryStorage.instance().deleteAll();
754
676
  }
755
677
 
756
- if (Root.Runtime.hostConfig.devToolsAiAssistanceV2?.enabled && setting.get()) {
757
- // If the user turns on ai-assistance whilst on the V2 experiment, they
758
- // do not need to see the opt-in change management dialog. This dialog
759
- // exists to inform users who opted-in to "V1" that in "V2" there are
760
- // some data access changes. But if a user opts-in when on "V2", they
761
- // do not need to see that dialog.
678
+ if (setting.get()) {
762
679
  Common.Settings.Settings.instance().moduleSetting('ai-assistance-v2-opt-in-change-dialog-seen').set(true);
763
680
  }
764
681
  }
@@ -14,12 +14,12 @@ import * as UI from '../../ui/legacy/legacy.js';
14
14
 
15
15
  const UIStrings = {
16
16
  /**
17
- * @description Default snippet name when a new snippet is created in the Sources panel
17
+ * @description Default snippet name when a new snippet is created in the Sources panel.
18
18
  * @example {1} PH1
19
19
  */
20
20
  scriptSnippet: 'Script snippet #{PH1}',
21
21
  /**
22
- * @description Text to show something is linked to another
22
+ * @description Text to show something is linked to another.
23
23
  * @example {example.url} PH1
24
24
  */
25
25
  linkedTo: 'Linked to {PH1}',
@@ -14,19 +14,19 @@ import {evaluateScriptSnippet, findSnippetsProject} from './ScriptSnippetFileSys
14
14
 
15
15
  const UIStrings = {
16
16
  /**
17
- * @description Text in Snippets Quick Open of the Sources panel when opening snippets
17
+ * @description Text in Snippets Quick Open of the Sources panel when opening snippets.
18
18
  */
19
19
  noSnippetsFound: 'No snippets found.',
20
20
  /**
21
- * @description Text for command prefix of run a code snippet
21
+ * @description Text for command prefix of running a code snippet.
22
22
  */
23
23
  run: 'Run',
24
24
  /**
25
- * @description Text for suggestion of run a code snippet
25
+ * @description Text for suggestion of running a code snippet.
26
26
  */
27
27
  snippet: 'Snippet',
28
28
  /**
29
- * @description Text for help title of run code snippet menu
29
+ * @description Text for help title of running a code snippet.
30
30
  */
31
31
  runSnippet: 'Run snippet',
32
32
  } as const;
@@ -13,15 +13,15 @@ import dialogStyles from './dialog.css.js';
13
13
 
14
14
  const UIStrings = {
15
15
  /**
16
- * @description Text in Add Source Map URLDialog of the Sources panel
16
+ * @description Text in Add source map URL dialog of the Sources panel.
17
17
  */
18
18
  sourceMapUrl: 'Source map URL: ',
19
19
  /**
20
- * @description Text in Add Debug Info URL Dialog of the Sources panel
20
+ * @description Text in Add debug info URL dialog of the Sources panel.
21
21
  */
22
22
  debugInfoUrl: 'DWARF symbols URL: ',
23
23
  /**
24
- * @description Text to add something
24
+ * @description Text to add something.
25
25
  */
26
26
  add: 'Add',
27
27
  } as const;
@@ -59,7 +59,8 @@ export class AiCodeCompletionPlugin extends Plugin {
59
59
  onSuggestionAccepted: this.#onAiCodeCompletionSuggestionAccepted.bind(this),
60
60
  onRequestTriggered: this.#onAiRequestTriggered.bind(this),
61
61
  onResponseReceived: this.#onAiResponseReceived.bind(this),
62
- panel: AiCodeCompletion.AiCodeCompletion.ContextFlavor.SOURCES,
62
+ disclaimerTooltipId: DISCLAIMER_TOOLTIP_ID,
63
+ disclaimerTextVariant: 'sources',
63
64
  };
64
65
  this.#aiCodeCompletionProvider =
65
66
  TextEditor.AiCodeCompletionProvider.AiCodeCompletionProvider.createInstance(this.aiCodeCompletionConfig);
@@ -105,7 +106,7 @@ export class AiCodeCompletionPlugin extends Plugin {
105
106
  this.#aiCodeCompletionDisclaimer = new PanelCommon.AiCodeCompletionDisclaimer();
106
107
  this.#aiCodeCompletionDisclaimer.disclaimerTooltipId = DISCLAIMER_TOOLTIP_ID;
107
108
  this.#aiCodeCompletionDisclaimer.spinnerTooltipId = SPINNER_TOOLTIP_ID;
108
- this.#aiCodeCompletionDisclaimer.panel = AiCodeCompletion.AiCodeCompletion.ContextFlavor.SOURCES;
109
+ this.#aiCodeCompletionDisclaimer.disclaimerTextVariant = 'sources';
109
110
  this.#aiCodeCompletionDisclaimer.show(this.#aiCodeCompletionDisclaimerContainer, undefined, true);
110
111
  }
111
112
 
@@ -117,7 +118,7 @@ export class AiCodeCompletionPlugin extends Plugin {
117
118
  new PanelCommon.AiCodeCompletionSummaryToolbar.AiCodeCompletionSummaryToolbar({
118
119
  citationsTooltipId: CITATIONS_TOOLTIP_ID,
119
120
  hasTopBorder: true,
120
- panel: AiCodeCompletion.AiCodeCompletion.ContextFlavor.SOURCES,
121
+ disclaimerTextVariant: 'sources',
121
122
  });
122
123
  this.#aiCodeCompletionCitationsToolbar.show(this.#aiCodeCompletionCitationsToolbarContainer, undefined, true);
123
124
  }
@@ -23,46 +23,46 @@ const {Direction} = TextEditor.TextEditorHistory;
23
23
 
24
24
  const UIStrings = {
25
25
  /**
26
- * @description Screen reader label for a select box that chooses the breakpoint type in the Sources panel when editing a breakpoint
26
+ * @description Screen reader label for a select box that chooses the breakpoint type in the Sources panel when editing a breakpoint.
27
27
  */
28
28
  breakpointType: 'Breakpoint type',
29
29
  /**
30
- * @description Text in Breakpoint Edit Dialog of the Sources panel
30
+ * @description Text in Breakpoint edit dialog of the Sources panel.
31
31
  */
32
32
  breakpoint: 'Breakpoint',
33
33
  /**
34
- * @description Tooltip text in Breakpoint Edit Dialog of the Sources panel that shows up when hovering over the close icon
34
+ * @description Tooltip text in Breakpoint edit dialog of the Sources panel that shows up when hovering over the close icon.
35
35
  */
36
36
  closeDialog: 'Close edit dialog and save changes',
37
37
  /**
38
- * @description Text in Breakpoint Edit Dialog of the Sources panel
38
+ * @description Text in Breakpoint edit dialog of the Sources panel.
39
39
  */
40
40
  conditionalBreakpoint: 'Conditional breakpoint',
41
41
  /**
42
- * @description Text in Breakpoint Edit Dialog of the Sources panel
42
+ * @description Text in Breakpoint edit dialog of the Sources panel.
43
43
  */
44
44
  logpoint: 'Logpoint',
45
45
  /**
46
- * @description Text in Breakpoint Edit Dialog of the Sources panel
46
+ * @description Text in Breakpoint edit dialog of the Sources panel.
47
47
  */
48
48
  expressionToCheckBeforePausingEg: 'Expression to check before pausing, e.g. x > 5',
49
49
  /**
50
- * @description Type selector element title in Breakpoint Edit Dialog of the Sources panel
50
+ * @description Type selector element title in Breakpoint edit dialog of the Sources panel.
51
51
  */
52
52
  pauseOnlyWhenTheConditionIsTrue: 'Pause only when the condition is true',
53
53
  /**
54
- * @description Link text in the Breakpoint Edit Dialog of the Sources panel
54
+ * @description Link text in the Breakpoint edit dialog of the Sources panel.
55
55
  */
56
- learnMoreOnBreakpointTypes: 'Learn more: Breakpoint Types',
56
+ learnMoreOnBreakpointTypes: 'Learn more: Breakpoint types',
57
57
  /**
58
- * @description Text in Breakpoint Edit Dialog of the Sources panel. It is used as
59
- *the placeholder for a text input field before the user enters text. Provides the user with
60
- *an example on how to use Logpoints. 'Log' is a verb and 'message' is a noun.
61
- *See: https://developer.chrome.com/blog/new-in-devtools-73/#logpoints
58
+ * @description Text in Breakpoint edit dialog of the Sources panel. It is used as
59
+ * the placeholder for a text input field before the user enters text. Provides the user with
60
+ * an example on how to use Logpoints. 'Log' is a verb and 'message' is a noun.
61
+ * See: https://developer.chrome.com/blog/new-in-devtools-73/#logpoints
62
62
  */
63
63
  logMessageEgXIsX: 'Log message, e.g. `\'x is\', x`',
64
64
  /**
65
- * @description Type selector element title in Breakpoint Edit Dialog of the Sources panel
65
+ * @description Type selector element title in Breakpoint edit dialog of the Sources panel.
66
66
  */
67
67
  logAMessageToConsoleDoNotBreak: 'Log a message to Console, do not break',
68
68
  } as const;
@@ -31,7 +31,7 @@ const UIStrings = {
31
31
  */
32
32
  pauseOnUncaughtExceptions: 'Pause on uncaught exceptions',
33
33
  /**
34
- * @description Label for a checkbox to toggling pausing on caught exceptions in the breakpoint sidebar of the Sources panel. When the checkbox is checked, DevTools will pause if an exception is thrown, but caught (handled) at runtime.
34
+ * @description Label for a checkbox to toggle pausing on caught exceptions in the breakpoint sidebar of the Sources panel. When the checkbox is checked, DevTools will pause if an exception is thrown, but caught (handled) at runtime.
35
35
  */
36
36
  pauseOnCaughtExceptions: 'Pause on caught exceptions',
37
37
  /**
@@ -52,43 +52,43 @@ const UIStrings = {
52
52
  */
53
53
  breakpointHit: '{PH1} breakpoint hit',
54
54
  /**
55
- * @description Tooltip text that shows when hovered over a remove button that appears next to a filename in the breakpoint sidebar of the sources panel. Also used in the context menu for breakpoint groups.
55
+ * @description Tooltip text that shows when hovered over a remove button that appears next to a filename in the breakpoint sidebar of the Sources panel. Also used in the context menu for breakpoint groups.
56
56
  */
57
57
  removeAllBreakpointsInFile: 'Remove all breakpoints in file',
58
58
  /**
59
- * @description Context menu item in the Breakpoints Sidebar Pane of the Sources panel that disables all breakpoints in a file.
59
+ * @description Context menu item in the breakpoint sidebar of the Sources panel that disables all breakpoints in a file.
60
60
  */
61
61
  disableAllBreakpointsInFile: 'Disable all breakpoints in file',
62
62
  /**
63
- * @description Context menu item in the Breakpoints Sidebar Pane of the Sources panel that enables all breakpoints in a file.
63
+ * @description Context menu item in the breakpoint sidebar of the Sources panel that enables all breakpoints in a file.
64
64
  */
65
65
  enableAllBreakpointsInFile: 'Enable all breakpoints in file',
66
66
  /**
67
- * @description Tooltip text that shows when hovered over an edit button that appears next to a breakpoint or conditional breakpoint in the breakpoint sidebar of the sources panel.
67
+ * @description Tooltip text that shows when hovered over an edit button that appears next to a breakpoint or conditional breakpoint in the breakpoint sidebar of the Sources panel.
68
68
  */
69
69
  editCondition: 'Edit condition',
70
70
  /**
71
- * @description Tooltip text that shows when hovered over an edit button that appears next to a logpoint in the breakpoint sidebar of the sources panel.
71
+ * @description Tooltip text that shows when hovered over an edit button that appears next to a logpoint in the breakpoint sidebar of the Sources panel.
72
72
  */
73
73
  editLogpoint: 'Edit logpoint',
74
74
  /**
75
- * @description Context menu item in the Breakpoints Sidebar Pane of the Sources panel that disables all breakpoints.
75
+ * @description Context menu item in the breakpoint sidebar of the Sources panel that disables all breakpoints.
76
76
  */
77
77
  disableAllBreakpoints: 'Disable all breakpoints',
78
78
  /**
79
- * @description Context menu item in the Breakpoints Sidebar Pane of the Sources panel that enables all breakpoints.
79
+ * @description Context menu item in the breakpoint sidebar of the Sources panel that enables all breakpoints.
80
80
  */
81
81
  enableAllBreakpoints: 'Enable all breakpoints',
82
82
  /**
83
- * @description Tooltip text that shows when hovered over a remove button that appears next to a breakpoint in the breakpoint sidebar of the sources panel. Also used in the context menu for breakpoint items.
83
+ * @description Tooltip text that shows when hovered over a remove button that appears next to a breakpoint in the breakpoint sidebar of the Sources panel. Also used in the context menu for breakpoint items.
84
84
  */
85
85
  removeBreakpoint: 'Remove breakpoint',
86
86
  /**
87
- * @description Text to remove all breakpoints
87
+ * @description Text to remove all breakpoints.
88
88
  */
89
89
  removeAllBreakpoints: 'Remove all breakpoints',
90
90
  /**
91
- * @description Text in Breakpoints Sidebar Pane of the Sources panel
91
+ * @description Text in the breakpoint sidebar of the Sources panel.
92
92
  */
93
93
  removeOtherBreakpoints: 'Remove other breakpoints',
94
94
  /**
@@ -96,12 +96,12 @@ const UIStrings = {
96
96
  */
97
97
  revealLocation: 'Reveal location',
98
98
  /**
99
- * @description Tooltip text that shows when hovered over a piece of code of a breakpoint in the breakpoint sidebar of the sources panel. It shows the condition, on which the breakpoint will stop.
99
+ * @description Tooltip text that shows when hovered over a piece of code of a breakpoint in the breakpoint sidebar of the Sources panel. It shows the condition, on which the breakpoint will stop.
100
100
  * @example {x < 3} PH1
101
101
  */
102
102
  conditionCode: 'Condition: {PH1}',
103
103
  /**
104
- * @description Tooltip text that shows when hovered over a piece of code of a breakpoint in the breakpoint sidebar of the sources panel. It shows what is going to be printed in the console, if execution hits this breakpoint.
104
+ * @description Tooltip text that shows when hovered over a piece of code of a breakpoint in the breakpoint sidebar of the Sources panel. It shows what is going to be printed in the console, if execution hits this breakpoint.
105
105
  * @example {'hello'} PH1
106
106
  */
107
107
  logpointCode: 'Logpoint: {PH1}',
@@ -174,7 +174,7 @@ export class BreakpointsSidebarController implements UI.ContextFlavorListener.Co
174
174
  this.#breakpointsActiveSetting.addChangeListener(this.update, this);
175
175
  this.#pauseOnUncaughtExceptionSetting = settings.moduleSetting('pause-on-uncaught-exception');
176
176
  this.#pauseOnUncaughtExceptionSetting.addChangeListener(this.update, this);
177
- this.#pauseOnCaughtExceptionSetting = settings.moduleSetting('pause-on-caught-exception');
177
+ this.#pauseOnCaughtExceptionSetting = settings.resolve(SDK.SDKSettings.pauseOnCaughtExceptionSettingDescriptor);
178
178
  this.#pauseOnCaughtExceptionSetting.addChangeListener(this.update, this);
179
179
  }
180
180
 
@@ -48,11 +48,11 @@ import {QuickSourceView, SourcesPanel} from './SourcesPanel.js';
48
48
 
49
49
  const UIStrings = {
50
50
  /**
51
- * @description Text in Call Stack Sidebar Pane of the Sources panel
51
+ * @description Text in the call stack sidebar of the Sources panel
52
52
  */
53
53
  callStack: 'Call Stack',
54
54
  /**
55
- * @description Not paused message element text content in Call Stack Sidebar Pane of the Sources panel
55
+ * @description Not paused message element text content in the call stack sidebar of the Sources panel
56
56
  */
57
57
  notPaused: 'Not paused',
58
58
  /**
@@ -60,7 +60,7 @@ const UIStrings = {
60
60
  */
61
61
  onIgnoreList: 'on ignore list',
62
62
  /**
63
- * @description Show all link text content in Call Stack Sidebar Pane of the Sources panel
63
+ * @description Show all link text content in the call stack sidebar of the Sources panel
64
64
  */
65
65
  showIgnorelistedFrames: 'Show ignore-listed frames',
66
66
  /**
@@ -68,11 +68,11 @@ const UIStrings = {
68
68
  */
69
69
  showMore: 'Show more',
70
70
  /**
71
- * @description A context menu item in the Call Stack Sidebar Pane of the Sources panel
71
+ * @description A context menu item in the call stack sidebar of the Sources panel
72
72
  */
73
73
  copyStackTrace: 'Copy stack trace',
74
74
  /**
75
- * @description Text in Call Stack Sidebar Pane of the Sources panel when some call frames have warnings
75
+ * @description Text in the call stack sidebar of the Sources panel when some call frames have warnings
76
76
  */
77
77
  callFrameWarnings: 'Some call frames have warnings',
78
78
  /**
@@ -81,7 +81,7 @@ const UIStrings = {
81
81
  */
82
82
  debugFileNotFound: 'Failed to load debug file "{PH1}".',
83
83
  /**
84
- * @description A context menu item in the Call Stack Sidebar Pane. "Restart" is a verb and
84
+ * @description A context menu item in the call stack sidebar pane. "Restart" is a verb and
85
85
  * "frame" is a noun. "Frame" refers to an individual item in the call stack, i.e. a call frame.
86
86
  * The user opens this context menu by selecting a specific call frame in the call stack sidebar pane.
87
87
  */
@@ -39,73 +39,73 @@ const UIStrings = {
39
39
  */
40
40
  beforeSellerWorkletReportingStart: 'Seller Reporting Phase Start',
41
41
  /**
42
- * @description Text in the Event Listener Breakpoints Panel of the JavaScript Debugger in the Sources Panel
42
+ * @description Text in the Event Listener Breakpoints panel of the JavaScript Debugger in the Sources panel.
43
43
  * @example {setTimeout} PH1
44
44
  */
45
45
  setTimeoutOrIntervalFired: '{PH1} fired',
46
46
  /**
47
- * @description Text in the Event Listener Breakpoints Panel of the JavaScript Debugger in the Sources Panel
47
+ * @description Text in the Event Listener Breakpoints panel of the JavaScript Debugger in the Sources panel.
48
48
  */
49
49
  scriptFirstStatement: 'Script First Statement',
50
50
  /**
51
- * @description Text in the Event Listener Breakpoints Panel of the JavaScript Debugger in the Sources Panel
51
+ * @description Text in the Event Listener Breakpoints panel of the JavaScript Debugger in the Sources panel.
52
52
  */
53
53
  scriptBlockedByContentSecurity: 'Script Blocked by Content Security Policy',
54
54
  /**
55
- * @description Text for the request animation frame event
55
+ * @description Text for the request animation frame event.
56
56
  */
57
57
  requestAnimationFrame: 'Request Animation Frame',
58
58
  /**
59
- * @description Text to cancel the animation frame
59
+ * @description Text to cancel the animation frame.
60
60
  */
61
61
  cancelAnimationFrame: 'Cancel Animation Frame',
62
62
  /**
63
- * @description Text for the event that an animation frame is fired
63
+ * @description Text for the event that an animation frame is fired.
64
64
  */
65
65
  animationFrameFired: 'Animation Frame Fired',
66
66
  /**
67
- * @description Text in the Event Listener Breakpoints Panel of the JavaScript Debugger in the Sources Panel
67
+ * @description Text in the Event Listener Breakpoints panel of the JavaScript Debugger in the Sources panel.
68
68
  */
69
69
  webglErrorFired: 'WebGL Error Fired',
70
70
  /**
71
- * @description Text in the Event Listener Breakpoints Panel of the JavaScript Debugger in the Sources Panel
71
+ * @description Text in the Event Listener Breakpoints panel of the JavaScript Debugger in the Sources panel.
72
72
  */
73
73
  webglWarningFired: 'WebGL Warning Fired',
74
74
  /**
75
- * @description Text in the Event Listener Breakpoints Panel of the JavaScript Debugger in the Sources Panel
75
+ * @description Text in the Event Listener Breakpoints panel of the JavaScript Debugger in the Sources panel.
76
76
  */
77
77
  setInnerhtml: 'Set `innerHTML`',
78
78
  /**
79
- * @description Name of a breakpoint type in the Sources Panel.
79
+ * @description Name of a breakpoint type in the Sources panel.
80
80
  */
81
81
  createCanvasContext: 'Create canvas context',
82
82
  /**
83
- * @description Name of a breakpoint type in the Sources Panel.
83
+ * @description Name of a breakpoint type in the Sources panel.
84
84
  */
85
85
  createAudiocontext: 'Create `AudioContext`',
86
86
  /**
87
- * @description Name of a breakpoint type in the Sources Panel. Close is a verb.
87
+ * @description Name of a breakpoint type in the Sources panel. Close is a verb.
88
88
  */
89
89
  closeAudiocontext: 'Close `AudioContext`',
90
90
  /**
91
- * @description Name of a breakpoint type in the Sources Panel. Resume is a verb.
91
+ * @description Name of a breakpoint type in the Sources panel. Resume is a verb.
92
92
  */
93
93
  resumeAudiocontext: 'Resume `AudioContext`',
94
94
  /**
95
- * @description Name of a breakpoint type in the Sources Panel.
95
+ * @description Name of a breakpoint type in the Sources panel.
96
96
  */
97
97
  suspendAudiocontext: 'Suspend `AudioContext`',
98
98
  /**
99
99
  * @description Noun. Title for a checkbox that turns on breakpoints on Trusted Type sink violations.
100
100
  * "Trusted Types" is a Web API. A "Sink" (Noun, singular) is a special function, akin to a data sink, that expects
101
101
  * to receive data in a specific format. Should the data be in the wrong format, or something else
102
- * go wrong, its called a "sink violation".
102
+ * go wrong, it's called a "sink violation".
103
103
  */
104
- sinkViolations: 'Sink Violations',
104
+ sinkViolations: 'Sink violations',
105
105
  /**
106
- * @description Title for a checkbox that turns on breakpoints on Trusted Type policy violations
106
+ * @description Title for a checkbox that turns on breakpoints on Trusted Type policy violations.
107
107
  */
108
- policyViolations: 'Policy Violations',
108
+ policyViolations: 'Policy violations',
109
109
  } as const;
110
110
  const str_ = i18n.i18n.registerUIStrings('panels/sources/CategorizedBreakpointL10n.ts', UIStrings);
111
111
  const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined, str_);
@@ -20,22 +20,22 @@ import {Plugin} from './Plugin.js';
20
20
 
21
21
  const UIStrings = {
22
22
  /**
23
- * @description Text for Coverage Status Bar Item in Sources Panel
23
+ * @description Text for coverage status bar item in Sources panel.
24
24
  */
25
- clickToShowCoveragePanel: 'Click to show Coverage Panel',
25
+ clickToShowCoveragePanel: 'Click to show Coverage panel',
26
26
  /**
27
- * @description Text for Coverage Status Bar Item in Sources Panel
27
+ * @description Text for coverage status bar item in Sources panel.
28
28
  */
29
- showDetails: 'Show Details',
29
+ showDetails: 'Show details',
30
30
  /**
31
- * @description Text to show in the status bar if coverage data is available
31
+ * @description Text to show in the status bar if coverage data is available.
32
32
  * @example {12.3} PH1
33
33
  */
34
34
  coverageS: 'Coverage: {PH1}',
35
35
  /**
36
- * @description Text to be shown in the status bar if no coverage data is available
36
+ * @description Text to be shown in the status bar if no coverage data is available.
37
37
  */
38
- coverageNa: 'Coverage: n/a',
38
+ coverageNa: 'Coverage: N/A',
39
39
  } as const;
40
40
  const str_ = i18n.i18n.registerUIStrings('panels/sources/CoveragePlugin.ts', UIStrings);
41
41
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);