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
@@ -25,67 +25,67 @@ import sourcesNavigatorStyles from './sourcesNavigator.css.js';
25
25
 
26
26
  const UIStrings = {
27
27
  /**
28
- * @description Text to show if no workspaces are set up. https://goo.gle/devtools-workspace
28
+ * @description Text to show if no workspaces are set up. Learn more at https://goo.gle/devtools-workspace.
29
29
  */
30
30
  noWorkspace: 'No workspaces set up',
31
31
  /**
32
- * @description Text to explain the Workspace feature in the Sources panel. https://goo.gle/devtools-workspace
32
+ * @description Text to explain the workspace feature in the Sources panel. Learn more at https://goo.gle/devtools-workspace.
33
33
  */
34
34
  explainWorkspace: 'Set up workspaces to sync edits directly to the sources you develop.',
35
35
  /**
36
- * @description Text to show if no local overrides are set up. https://goo.gle/devtools-overrides
36
+ * @description Text to show if no local overrides are set up. Learn more at https://goo.gle/devtools-overrides.
37
37
  */
38
38
  noLocalOverrides: 'No local overrides set up',
39
39
  /**
40
- * @description Text to explain the Local Overrides feature. https://goo.gle/devtools-overrides
40
+ * @description Text to explain the local overrides feature. Learn more at https://goo.gle/devtools-overrides.
41
41
  */
42
42
  explainLocalOverrides: 'Override network requests and web content locally to mock remote resources.',
43
43
  /**
44
- * @description Tooltip text that appears when hovering over the largeicon clear button in the Sources Navigator of the Sources panel
44
+ * @description Tooltip text that appears when hovering over the clear button in the Sources navigator of the Sources panel.
45
45
  */
46
46
  clearConfiguration: 'Clear configuration',
47
47
  /**
48
- * @description Text in Sources Navigator of the Sources panel
48
+ * @description Text in Sources navigator of the Sources panel.
49
49
  */
50
50
  selectFolderForOverrides: 'Select folder for overrides',
51
51
  /**
52
- * @description Text to show if no content scripts can be found in the Sources panel. https://developer.chrome.com/extensions/content_scripts
52
+ * @description Text to show if no content scripts can be found in the Sources panel. Learn more at https://developer.chrome.com/extensions/content_scripts.
53
53
  */
54
54
  noContentScripts: 'No content scripts detected',
55
55
  /**
56
- * @description Text to explain the content scripts pane in the Sources panel
56
+ * @description Text to explain the content scripts sidebar in the Sources panel.
57
57
  */
58
58
  explainContentScripts: 'View content scripts served by extensions.',
59
59
  /**
60
- * @description Text to show if no snippets were created and saved in the Sources panel https://goo.gle/devtools-snippets
60
+ * @description Text to show if no snippets were created and saved in the Sources panel. Learn more at https://goo.gle/devtools-snippets.
61
61
  */
62
62
  noSnippets: 'No snippets saved',
63
63
  /**
64
- * @description Text to explain the Snippets feature in the Sources panel https://goo.gle/devtools-snippets
64
+ * @description Text to explain the snippets feature in the Sources panel. Learn more at https://goo.gle/devtools-snippets.
65
65
  */
66
66
  explainSnippets: 'Save the JavaScript code you run often in a snippet to run it again anytime.',
67
67
  /**
68
- * @description Text in Sources Navigator of the Sources panel
68
+ * @description Text in Sources navigator of the Sources panel.
69
69
  */
70
70
  newSnippet: 'New snippet',
71
71
  /**
72
- * @description Title of an action in the sources tool to create snippet
72
+ * @description Title of an action in the sources tool to create a snippet.
73
73
  */
74
74
  createNewSnippet: 'Create new snippet',
75
75
  /**
76
- * @description A context menu item in the Sources Navigator of the Sources panel
76
+ * @description A context menu item in the Sources navigator of the Sources panel.
77
77
  */
78
78
  run: 'Run',
79
79
  /**
80
- * @description A context menu item in the Navigator View of the Sources panel
80
+ * @description A context menu item in the Navigator view of the Sources panel.
81
81
  */
82
82
  rename: 'Rename…',
83
83
  /**
84
- * @description Label for an item to remove something
84
+ * @description Label for an item to remove something.
85
85
  */
86
86
  remove: 'Remove',
87
87
  /**
88
- * @description Text to save content as a specific file type
88
+ * @description Text to save content as a specific file type.
89
89
  */
90
90
  saveAs: 'Save as…',
91
91
  /**
@@ -97,8 +97,8 @@ const UIStrings = {
97
97
  /**
98
98
  * @description Message shown in the Workspace tab of the Sources panel to nudge
99
99
  * developers into utilizing the Automatic Workspace Folders feature
100
- * in Chrome DevTools by setting up a `com.chrome.devtools.json`
101
- * file / endpoint in their project. This nudge is only shown when
100
+ * in Chrome DevTools by setting up a com.chrome.devtools.json
101
+ * file or endpoint in their project. This nudge is only shown when
102
102
  * the feature is enabled and there's no automatic workspace folder
103
103
  * detected.
104
104
  * @example {com.chrome.devtools.json} PH1
@@ -277,6 +277,8 @@ export class OverridesNavigatorView extends NavigatorView {
277
277
 
278
278
  Persistence.NetworkPersistenceManager.NetworkPersistenceManager.instance().addEventListener(
279
279
  Persistence.NetworkPersistenceManager.Events.PROJECT_CHANGED, this.updateProjectAndUI, this);
280
+ Persistence.NetworkPersistenceManager.NetworkPersistenceManager.instance().addEventListener(
281
+ Persistence.NetworkPersistenceManager.Events.LOCAL_OVERRIDES_PROJECT_UPDATED, this.updateProjectAndUI, this);
280
282
  this.workspace().addEventListener(Workspace.Workspace.Events.ProjectAdded, this.onProjectAddOrRemoved, this);
281
283
  this.workspace().addEventListener(Workspace.Workspace.Events.ProjectRemoved, this.onProjectAddOrRemoved, this);
282
284
  this.updateProjectAndUI();
@@ -61,20 +61,20 @@ import {UISourceCodeFrame} from './UISourceCodeFrame.js';
61
61
 
62
62
  const UIStrings = {
63
63
  /**
64
- * @description Text that appears when user drag and drop something (for example, a file) in Sources Panel of the Sources panel
64
+ * @description Text that appears when user drags and drops a folder in the Sources panel.
65
65
  */
66
66
  dropWorkspaceFolderHere: 'Drop workspace folder here',
67
67
  /**
68
- * @description Text to show more options
68
+ * @description Text to show more options.
69
69
  */
70
70
  moreOptions: 'More options',
71
71
  /**
72
- * @description Tooltip for the the navigator toggle in the Sources panel. Command to open/show the
72
+ * @description Tooltip for the navigator toggle in the Sources panel. Command to open or show the
73
73
  * sidebar containing the navigator tool.
74
74
  */
75
75
  showNavigator: 'Show navigator',
76
76
  /**
77
- * @description Tooltip for the the navigator toggle in the Sources panel. Command to close/hide
77
+ * @description Tooltip for the navigator toggle in the Sources panel. Command to close or hide
78
78
  * the sidebar containing the navigator tool.
79
79
  */
80
80
  hideNavigator: 'Hide navigator',
@@ -87,87 +87,87 @@ const UIStrings = {
87
87
  */
88
88
  navigatorHidden: 'Navigator sidebar hidden',
89
89
  /**
90
- * @description Screen reader announcement when the navigator sidebar is shown in the Sources panel.
90
+ * @description Screen reader announcement when the debugger sidebar is shown in the Sources panel.
91
91
  */
92
92
  debuggerShown: 'Debugger sidebar shown',
93
93
  /**
94
- * @description Screen reader announcement when the navigator sidebar is hidden in the Sources panel.
94
+ * @description Screen reader announcement when the debugger sidebar is hidden in the Sources panel.
95
95
  */
96
96
  debuggerHidden: 'Debugger sidebar hidden',
97
97
  /**
98
- * @description Tooltip for the the debugger toggle in the Sources panel. Command to open/show the
98
+ * @description Tooltip for the debugger toggle in the Sources panel. Command to open or show the
99
99
  * sidebar containing the debugger tool.
100
100
  */
101
101
  showDebugger: 'Show debugger',
102
102
  /**
103
- * @description Tooltip for the the debugger toggle in the Sources panel. Command to close/hide the
103
+ * @description Tooltip for the debugger toggle in the Sources panel. Command to close or hide the
104
104
  * sidebar containing the debugger tool.
105
105
  */
106
106
  hideDebugger: 'Hide debugger',
107
107
  /**
108
- * @description Text in Sources Panel of the Sources panel
108
+ * @description Text in Sources panel.
109
109
  */
110
110
  groupByFolder: 'Group by folder',
111
111
  /**
112
- * @description Text in Sources Panel of the Sources panel
112
+ * @description Text in Sources panel.
113
113
  */
114
- groupByAuthored: 'Group by Authored/Deployed',
114
+ groupByAuthored: 'Group by authored/deployed',
115
115
  /**
116
- * @description Text in Sources Panel of the Sources panel
116
+ * @description Text in Sources panel.
117
117
  */
118
118
  hideIgnoreListed: 'Hide ignore-listed sources',
119
119
  /**
120
- * @description Tooltip text that appears when hovering over the largeicon play button in the Sources Panel of the Sources panel
120
+ * @description Tooltip text that appears when hovering over the resume button in the Sources panel.
121
121
  */
122
122
  resumeWithAllPausesBlockedForMs: 'Resume with all pauses blocked for 500 ms',
123
123
  /**
124
- * @description Tooltip text that appears when hovering over the largeicon terminate execution button in the Sources Panel of the Sources panel
124
+ * @description Tooltip text that appears when hovering over the terminate execution button in the Sources panel.
125
125
  */
126
126
  terminateCurrentJavascriptCall: 'Terminate current JavaScript call',
127
127
  /**
128
- * @description Text in Sources Panel of the Sources panel
128
+ * @description Text in Sources panel.
129
129
  */
130
130
  pauseOnCaughtExceptions: 'Pause on caught exceptions',
131
131
  /**
132
- * @description A context menu item in the Sources Panel of the Sources panel
132
+ * @description A context menu item in the Sources panel.
133
133
  */
134
134
  revealInSidebar: 'Reveal in navigator sidebar',
135
135
  /**
136
- * @description A context menu item in the Sources Panel of the Sources panel when debugging JS code.
136
+ * @description A context menu item in the Sources panel when debugging JavaScript code.
137
137
  * When clicked, the execution is resumed until it reaches the line specified by the right-click that
138
138
  * opened the context menu.
139
139
  */
140
140
  continueToHere: 'Continue to here',
141
141
  /**
142
- * @description A context menu item in the Console that stores selection as a temporary global variable
142
+ * @description A context menu item in the Console panel that stores selection as a temporary global variable.
143
143
  */
144
144
  storeAsGlobalVariable: 'Store as global variable',
145
145
  /**
146
- * @description A context menu item in the Console, Sources, and Network panel
146
+ * @description A context menu item in the Console, Sources, and Network panels.
147
147
  * @example {string} PH1
148
148
  */
149
149
  copyS: 'Copy {PH1}',
150
150
  /**
151
- * @description A context menu item for strings in the Console, Sources, and Network panel.
151
+ * @description A context menu item for strings in the Console, Sources, and Network panels.
152
152
  * When clicked, the raw contents of the string is copied to the clipboard.
153
153
  */
154
154
  copyStringContents: 'Copy string contents',
155
155
  /**
156
- * @description A context menu item for strings in the Console, Sources, and Network panel.
156
+ * @description A context menu item for strings in the Console, Sources, and Network panels.
157
157
  * When clicked, the string is copied to the clipboard as a valid JavaScript literal.
158
158
  */
159
159
  copyStringAsJSLiteral: 'Copy string as JavaScript literal',
160
160
  /**
161
- * @description A context menu item for strings in the Console, Sources, and Network panel.
161
+ * @description A context menu item for strings in the Console, Sources, and Network panels.
162
162
  * When clicked, the string is copied to the clipboard as a valid JSON literal.
163
163
  */
164
164
  copyStringAsJSONLiteral: 'Copy string as JSON literal',
165
165
  /**
166
- * @description A context menu item in the Sources Panel of the Sources panel
166
+ * @description A context menu item in the Sources panel.
167
167
  */
168
168
  showFunctionDefinition: 'Show function definition',
169
169
  /**
170
- * @description Text in Sources Panel of the Sources panel
170
+ * @description Text in Sources panel.
171
171
  */
172
172
  openInSourcesPanel: 'Open in Sources panel',
173
173
  /**
@@ -895,7 +895,8 @@ export class SourcesPanel extends UI.Panel.Panel implements
895
895
  debugToolbarDrawer.classList.add('scripts-debug-toolbar-drawer');
896
896
 
897
897
  const label = i18nString(UIStrings.pauseOnCaughtExceptions);
898
- const setting = Common.Settings.Settings.instance().moduleSetting('pause-on-caught-exception');
898
+ const setting =
899
+ Common.Settings.Settings.instance().resolve(SDK.SDKSettings.pauseOnCaughtExceptionSettingDescriptor);
899
900
  debugToolbarDrawer.appendChild(SettingsUI.SettingsUI.createSettingCheckbox(label, setting));
900
901
 
901
902
  return debugToolbarDrawer;
@@ -33,26 +33,25 @@ import {Events as UISourceCodeFrameEvents, UISourceCodeFrame} from './UISourceCo
33
33
 
34
34
  const UIStrings = {
35
35
  /**
36
- * @description Text to open a file
36
+ * @description Text to open a file.
37
37
  */
38
38
  openFile: 'Open file',
39
39
  /**
40
- * @description Text to run commands
40
+ * @description Text to run commands.
41
41
  */
42
42
  runCommand: 'Run command',
43
43
  /**
44
- * @description Text in Sources View of the Sources panel. This sentence follows by a list of actions.
44
+ * @description Text in Sources view of the Sources panel.
45
45
  */
46
46
  workspaceDropInAFolderToSyncSources: 'To sync edits to the workspace, drop a folder with your sources here or',
47
47
  /**
48
- * @description Text in Sources View of the Sources panel.
48
+ * @description Text in Sources view of the Sources panel.
49
49
  */
50
50
  selectFolder: 'Select folder',
51
51
  /**
52
- * @description Accessible label for Sources placeholder view actions list
52
+ * @description Accessible label for Sources placeholder view actions list.
53
53
  */
54
54
  sourceViewActions: 'Source View Actions',
55
-
56
55
  } as const;
57
56
  const str_ = i18n.i18n.registerUIStrings('panels/sources/SourcesView.ts', UIStrings);
58
57
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
@@ -24,12 +24,12 @@ import {UISourceCodeFrame} from './UISourceCodeFrame.js';
24
24
 
25
25
  const UIStrings = {
26
26
  /**
27
- * @description Text in Tabbed Editor Container of the Sources panel
28
- * @example {example.file} PH1
27
+ * @description Text in Tabbed editor container of the Sources panel.
28
+ * @example {file.js} PH1
29
29
  */
30
30
  areYouSureYouWantToCloseUnsaved: 'Are you sure you want to close unsaved file: {PH1}?',
31
31
  /**
32
- * @description Error message for tooltip showing that a file in Sources could not be loaded
32
+ * @description Error message for tooltip showing that a file in the Sources panel could not be loaded.
33
33
  */
34
34
  unableToLoadThisContent: 'Unable to load this content.',
35
35
  /**
@@ -15,7 +15,7 @@ const {html, render, nothing} = Lit;
15
15
 
16
16
  const UIStrings = {
17
17
  /**
18
- * @description Text in Threads Sidebar Pane of the Sources panel
18
+ * @description Text in Threads sidebar of the Sources panel.
19
19
  */
20
20
  paused: 'paused',
21
21
  } as const;
@@ -22,7 +22,6 @@ import * as SourceFrame from '../../ui/legacy/components/source_frame/source_fra
22
22
  import * as UI from '../../ui/legacy/legacy.js';
23
23
 
24
24
  import {AiCodeCompletionPlugin} from './AiCodeCompletionPlugin.js';
25
- import {AiWarningInfobarPlugin} from './AiWarningInfobarPlugin.js';
26
25
  import {CoveragePlugin} from './CoveragePlugin.js';
27
26
  import {CSSPlugin} from './CSSPlugin.js';
28
27
  import {DebuggerPlugin} from './DebuggerPlugin.js';
@@ -351,7 +350,6 @@ export class UISourceCodeFrame extends Common.ObjectWrapper
351
350
  ResourceOriginPlugin,
352
351
  CoveragePlugin,
353
352
  PerformanceProfilePlugin,
354
- AiWarningInfobarPlugin,
355
353
  ];
356
354
 
357
355
  if (AiCodeCompletion.AiCodeCompletion.AiCodeCompletion.isAiCodeCompletionAvailable()) {
@@ -56,7 +56,7 @@ import watchExpressionsSidebarPaneStyles from './watchExpressionsSidebarPane.css
56
56
 
57
57
  const UIStrings = {
58
58
  /**
59
- * @description A context menu item in the Watch Expressions Sidebar Pane of the Sources panel
59
+ * @description A context menu item in the watch expressions sidebar of the Sources panel.
60
60
  */
61
61
  addWatchExpression: 'Add watch expression',
62
62
  /**
@@ -64,27 +64,27 @@ const UIStrings = {
64
64
  */
65
65
  refreshWatchExpressions: 'Refresh watch expressions',
66
66
  /**
67
- * @description Empty element text content in Watch Expressions Sidebar Pane of the Sources panel
67
+ * @description Empty element text content in watch expressions sidebar of the Sources panel.
68
68
  */
69
69
  noWatchExpressions: 'No watch expressions',
70
70
  /**
71
- * @description A context menu item in the Watch Expressions Sidebar Pane of the Sources panel
71
+ * @description A context menu item in the watch expressions sidebar of the Sources panel.
72
72
  */
73
73
  deleteAllWatchExpressions: 'Delete all watch expressions',
74
74
  /**
75
- * @description A context menu item in the Watch Expressions Sidebar Pane of the Sources panel
75
+ * @description A context menu item in the watch expressions sidebar of the Sources panel.
76
76
  */
77
77
  addPropertyPathToWatch: 'Add property path to watch',
78
78
  /**
79
- * @description A context menu item in the Watch Expressions Sidebar Pane of the Sources panel
79
+ * @description A context menu item in the watch expressions sidebar of the Sources panel.
80
80
  */
81
81
  deleteWatchExpression: 'Delete watch expression',
82
82
  /**
83
- * @description Value element text content in Watch Expressions Sidebar Pane of the Sources panel
83
+ * @description Value element text content in watch expressions sidebar of the Sources panel.
84
84
  */
85
85
  notAvailable: '<not available>',
86
86
  /**
87
- * @description A context menu item in the Watch Expressions Sidebar Pane of the Sources panel and Network pane request.
87
+ * @description A context menu item in the watch expressions sidebar of the Sources panel and Network panel request.
88
88
  */
89
89
  copyValue: 'Copy value',
90
90
  } as const;
@@ -34,7 +34,7 @@ const UIStrings = {
34
34
  */
35
35
  removeBlock: 'Remove this \'`ApplyTo`\'-section',
36
36
  /**
37
- * @description Error message for files which cannot not be parsed.
37
+ * @description Error message for files which cannot be parsed.
38
38
  * @example {.headers} PH1
39
39
  */
40
40
  errorWhenParsing: 'Error when parsing \'\'{PH1}\'\'.',
@@ -49,7 +49,7 @@ const UIStrings = {
49
49
  */
50
50
  addOverrideRule: 'Add override rule',
51
51
  /**
52
- * @description Text which is a hyperlink to more documentation
52
+ * @description Text which is a hyperlink to more documentation.
53
53
  */
54
54
  learnMore: 'Learn more',
55
55
  } as const;