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
@@ -20,95 +20,95 @@ const {html, render, nothing, Directives: {ifDefined}} = Lit;
20
20
 
21
21
  const UIStrings = {
22
22
  /**
23
- * @description Text in the JavaScript Debugging pane of the Sources pane when a DOM breakpoint is hit
23
+ * @description Text in the JavaScript Debugger sidebar of the Sources panel when a DOM breakpoint is hit.
24
24
  * @example {conditional breakpoint} PH1
25
25
  */
26
26
  pausedOnS: 'Paused on {PH1}',
27
27
  /**
28
- * @description Text in the JavaScript Debugging pane of the Sources pane when a DOM breakpoint is hit because a child is added to the subtree
28
+ * @description Text in the JavaScript Debugger sidebar of the Sources panel when a DOM breakpoint is hit because a child is added to the subtree.
29
29
  * @example {node} PH1
30
30
  */
31
31
  childSAdded: 'Child {PH1} added',
32
32
  /**
33
- * @description Text in the JavaScript Debugging pane of the Sources pane when a DOM breakpoint is hit because a descendant is added
33
+ * @description Text in the JavaScript Debugger sidebar of the Sources panel when a DOM breakpoint is hit because a descendant is added.
34
34
  * @example {node} PH1
35
35
  */
36
36
  descendantSAdded: 'Descendant {PH1} added',
37
37
  /**
38
- * @description Text in the JavaScript Debugging pane of the Sources pane when a DOM breakpoint is hit because a descendant is removed
38
+ * @description Text in the JavaScript Debugger sidebar of the Sources panel when a DOM breakpoint is hit because a descendant is removed.
39
39
  * @example {node} PH1
40
40
  */
41
41
  descendantSRemoved: 'Descendant {PH1} removed',
42
42
  /**
43
- * @description Text in Debugger Paused Message of the Sources panel
43
+ * @description Text in Debugger paused message of the Sources panel.
44
44
  */
45
45
  pausedOnEventListener: 'Paused on event listener',
46
46
  /**
47
- * @description Text in Debugger Paused Message of the Sources panel
47
+ * @description Text in Debugger paused message of the Sources panel.
48
48
  */
49
49
  pausedOnXhrOrFetch: 'Paused on XHR or fetch',
50
50
  /**
51
- * @description Text in Debugger Paused Message of the Sources panel
51
+ * @description Text in Debugger paused message of the Sources panel.
52
52
  */
53
53
  pausedOnException: 'Paused on exception',
54
54
  /**
55
55
  * @description We pause exactly when the promise rejection is happening, so that the user can see where in the code it comes from.
56
56
  * A Promise is a Web API object (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise),
57
57
  * that will either be 'fulfilled' or 'rejected' at some unknown time in the future.
58
- * The subject of the term is omited but it is "Execution", that is, "Execution was paused on <event>".
58
+ * The subject of the term is omitted but it is "Execution", that is, "Execution was paused on <event>".
59
59
  */
60
60
  pausedOnPromiseRejection: 'Paused on `promise` rejection',
61
61
  /**
62
- * @description Text in Debugger Paused Message of the Sources panel
62
+ * @description Text in Debugger paused message of the Sources panel.
63
63
  */
64
64
  pausedOnAssertion: 'Paused on assertion',
65
65
  /**
66
- * @description Text in Debugger Paused Message of the Sources panel
66
+ * @description Text in Debugger paused message of the Sources panel.
67
67
  */
68
68
  pausedOnDebuggedFunction: 'Paused on debugged function',
69
69
  /**
70
- * @description Text in Debugger Paused Message of the Sources panel
70
+ * @description Text in Debugger paused message of the Sources panel.
71
71
  */
72
72
  pausedBeforePotentialOutofmemory: 'Paused before potential out-of-memory crash',
73
73
  /**
74
- * @description Text in Debugger Paused Message of the Sources panel
74
+ * @description Text in Debugger paused message of the Sources panel.
75
75
  */
76
76
  pausedOnCspViolation: 'Paused on CSP violation',
77
77
  /**
78
- * @description Text in Debugger Paused Message of the Sources panel specifying cause of break
78
+ * @description Text in Debugger paused message of the Sources panel specifying cause of break.
79
79
  */
80
- trustedTypeSinkViolation: '`Trusted Type` Sink Violation',
80
+ trustedTypeSinkViolation: '`Trusted Type` sink violation',
81
81
  /**
82
- * @description Text in Debugger Paused Message of the Sources panel specifying cause of break
82
+ * @description Text in Debugger paused message of the Sources panel specifying cause of break.
83
83
  */
84
- trustedTypePolicyViolation: '`Trusted Type` Policy Violation',
84
+ trustedTypePolicyViolation: '`Trusted Type` policy violation',
85
85
  /**
86
- * @description Text in Debugger Paused Message of the Sources panel
86
+ * @description Text in Debugger paused message of the Sources panel.
87
87
  */
88
88
  pausedOnBreakpoint: 'Paused on breakpoint',
89
89
  /**
90
- * @description Text in Debugger Paused Message of the Sources panel
90
+ * @description Text in Debugger paused message of the Sources panel.
91
91
  */
92
92
  debuggerPaused: 'Debugger paused',
93
93
  /**
94
- * @description Text in Debugger Paused Message of the Sources panel
94
+ * @description Text in Debugger paused message of the Sources panel.
95
95
  */
96
96
  subtreeModifications: 'subtree modifications',
97
97
  /**
98
- * @description Text in Debugger Paused Message of the Sources panel
98
+ * @description Text in Debugger paused message of the Sources panel.
99
99
  */
100
100
  attributeModifications: 'attribute modifications',
101
101
  /**
102
- * @description Text in Debugger Paused Message of the Sources panel
102
+ * @description Text in Debugger paused message of the Sources panel.
103
103
  */
104
104
  nodeRemoval: 'node removal',
105
105
  /**
106
- * @description Error message text
106
+ * @description Error message text.
107
107
  * @example {Snag Error} PH1
108
108
  */
109
109
  webglErrorFiredS: 'WebGL Error Fired ({PH1})',
110
110
  /**
111
- * @description Text in DOMDebugger Model
111
+ * @description Text in DOMDebugger model.
112
112
  * @example {"script-src 'self'"} PH1
113
113
  */
114
114
  scriptBlockedDueToContent: 'Script blocked due to Content Security Policy directive: {PH1}',
@@ -39,119 +39,119 @@ const {EMPTY_BREAKPOINT_CONDITION, NEVER_PAUSE_HERE_CONDITION} = Breakpoints.Bre
39
39
 
40
40
  const UIStrings = {
41
41
  /**
42
- * @description Text in Debugger Plugin of the Sources panel
42
+ * @description Text in Debugger plugin of the Sources panel.
43
43
  */
44
44
  thisScriptIsOnTheDebuggersIgnore: 'This script is on the debugger’s ignore list',
45
45
  /**
46
- * @description Text to stop preventing the debugger from stepping into library code
46
+ * @description Text to stop preventing the debugger from stepping into library code.
47
47
  */
48
48
  removeFromIgnoreList: 'Remove from ignore list',
49
49
  /**
50
- * @description Text of a button in the Sources panel Debugger Plugin to configure ignore listing in Settings
50
+ * @description Text of a button in the Sources panel Debugger plugin to configure ignore listing in Settings.
51
51
  */
52
52
  configure: 'Configure',
53
53
  /**
54
- * @description Text to add a breakpoint
54
+ * @description Text to add a breakpoint.
55
55
  */
56
56
  addBreakpoint: 'Add breakpoint',
57
57
  /**
58
- * @description A context menu item in the Debugger Plugin of the Sources panel
58
+ * @description A context menu item in the Debugger plugin of the Sources panel.
59
59
  */
60
60
  addConditionalBreakpoint: 'Add conditional breakpoint…',
61
61
  /**
62
- * @description A context menu item in the Debugger Plugin of the Sources panel
62
+ * @description A context menu item in the Debugger plugin of the Sources panel.
63
63
  */
64
64
  addLogpoint: 'Add logpoint…',
65
65
  /**
66
- * @description A context menu item in the Debugger Plugin of the Sources panel
66
+ * @description A context menu item in the Debugger plugin of the Sources panel.
67
67
  */
68
68
  neverPauseHere: 'Never pause here',
69
69
  /**
70
70
  * @description Context menu command to delete/remove a breakpoint that the user
71
- *has set. One line of code can have multiple breakpoints. Always >= 1 breakpoint.
71
+ * has set. One line of code can have multiple breakpoints. Always >= 1 breakpoint.
72
72
  */
73
73
  removeBreakpoint: '{n, plural, =1 {Remove breakpoint} other {Remove all breakpoints in line}}',
74
74
  /**
75
- * @description A context menu item in the Debugger Plugin of the Sources panel
75
+ * @description A context menu item in the Debugger plugin of the Sources panel.
76
76
  */
77
77
  editBreakpoint: 'Edit breakpoint…',
78
78
  /**
79
79
  * @description Context menu command to disable (but not delete) a breakpoint
80
- *that the user has set. One line of code can have multiple breakpoints. Always
81
- *>= 1 breakpoint.
80
+ * that the user has set. One line of code can have multiple breakpoints. Always
81
+ * >= 1 breakpoint.
82
82
  */
83
83
  disableBreakpoint: '{n, plural, =1 {Disable breakpoint} other {Disable all breakpoints in line}}',
84
84
  /**
85
85
  * @description Context menu command to enable a breakpoint that the user has
86
- *set. One line of code can have multiple breakpoints. Always >= 1 breakpoint.
86
+ * set. One line of code can have multiple breakpoints. Always >= 1 breakpoint.
87
87
  */
88
88
  enableBreakpoint: '{n, plural, =1 {Enable breakpoint} other {Enable all breakpoints in line}}',
89
89
  /**
90
- * @description Text in Debugger Plugin of the Sources panel
90
+ * @description Text in Debugger plugin of the Sources panel.
91
91
  */
92
92
  addSourceMap: 'Add source map…',
93
93
  /**
94
- * @description Text in Debugger Plugin of the Sources panel
94
+ * @description Text in Debugger plugin of the Sources panel.
95
95
  */
96
96
  addWasmDebugInfo: 'Add DWARF debug info…',
97
97
  /**
98
- * @description Text in Debugger Plugin of the Sources panel
98
+ * @description Text in Debugger plugin of the Sources panel.
99
99
  */
100
100
  sourceMapLoaded: 'Source map loaded',
101
101
  /**
102
- * @description Title of the Filtered List WidgetProvider of Quick Open
102
+ * @description Title of the filtered list widget provider of Quick Open.
103
103
  * @example {Ctrl+P Ctrl+O} PH1
104
104
  */
105
105
  associatedFilesAreAvailable: 'Associated files are available via file tree or {PH1}.',
106
106
  /**
107
- * @description Text in Debugger Plugin of the Sources panel
107
+ * @description Text in Debugger plugin of the Sources panel.
108
108
  */
109
109
  associatedFilesShouldBeAdded:
110
110
  'Associated files should be added to the file tree. You can debug these resolved source files as regular JavaScript files.',
111
111
  /**
112
- * @description Text in Debugger Plugin of the Sources panel
112
+ * @description Text in Debugger plugin of the Sources panel.
113
113
  */
114
114
  theDebuggerWillSkipStepping: 'The debugger will skip stepping through this script, and will not stop on exceptions.',
115
115
  /**
116
- * @description Text in Debugger Plugin of the Sources panel
116
+ * @description Text in Debugger plugin of the Sources panel.
117
117
  */
118
118
  sourceMapSkipped: 'Source map skipped for this file',
119
119
  /**
120
- * @description Text in Debugger Plugin of the Sources panel
120
+ * @description Text in Debugger plugin of the Sources panel.
121
121
  */
122
122
  sourceMapFailed: 'Source map failed to load',
123
123
  /**
124
- * @description Text in Debugger Plugin of the Sources panel
124
+ * @description Text in Debugger plugin of the Sources panel.
125
125
  */
126
126
  debuggingPowerReduced: 'DevTools can’t show authored sources, but you can debug the deployed code.',
127
127
  /**
128
- * @description Text in Debugger Plugin of the Sources panel
128
+ * @description Text in Debugger plugin of the Sources panel.
129
129
  */
130
130
  reloadForSourceMap: 'To enable again, make sure the file isn’t on the ignore list and reload.',
131
131
  /**
132
- * @description Text in Debugger Plugin of the Sources panel
133
- * @example {http://site.com/lib.js.map} PH1
132
+ * @description Text in Debugger plugin of the Sources panel.
133
+ * @example {https://example.com/lib.js.map} PH1
134
134
  * @example {HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME} PH2
135
135
  */
136
136
  errorLoading: 'Error loading URL {PH1}: {PH2}',
137
137
  /**
138
- * @description Error message that is displayed in UI when a file needed for debugging information for a call frame is missing
138
+ * @description Error message that is displayed in UI when a file needed for debugging information for a call frame is missing.
139
139
  * @example {src/myapp.debug.wasm.dwp} PH1
140
140
  */
141
141
  debugFileNotFound: 'Failed to load debug file "{PH1}".',
142
142
  /**
143
- * @description Error message that is displayed when no debug info could be loaded
143
+ * @description Error message that is displayed when no debug info could be loaded.
144
144
  * @example {app.wasm} PH1
145
145
  */
146
146
  debugInfoNotFound: 'Failed to load any debug info for {PH1}',
147
147
  /**
148
- * @description Text of a button to open up details on a request when no debug info could be loaded
148
+ * @description Text of a button to open up details on a request when no debug info could be loaded.
149
149
  */
150
150
  showRequest: 'Show request',
151
151
  /**
152
- * @description Tooltip text that shows on hovering over a button to see more details on a request
152
+ * @description Tooltip text that shows on hovering over a button to see more details on a request.
153
153
  */
154
- openDeveloperResources: 'Opens the request in the Developer resource panel',
154
+ openDeveloperResources: 'Opens the request in the Developer resources panel',
155
155
  } as const;
156
156
  const str_ = i18n.i18n.registerUIStrings('panels/sources/DebuggerPlugin.ts', UIStrings);
157
157
  const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
@@ -16,11 +16,11 @@ import filteredUISourceCodeListProviderStyles from './filteredUISourceCodeListPr
16
16
 
17
17
  const UIStrings = {
18
18
  /**
19
- * @description Text in Filtered UISource Code List Provider of the Sources panel
19
+ * @description Text in Filtered UISourceCode list provider of the Sources panel.
20
20
  */
21
21
  noFilesFound: 'No files found',
22
22
  /**
23
- * @description Name of an item that is on the ignore list
23
+ * @description Name of an item that is on the ignore list.
24
24
  * @example {compile.html} PH1
25
25
  */
26
26
  sIgnoreListed: '{PH1} (ignore listed)',
@@ -14,41 +14,41 @@ import type {UISourceCodeFrame} from './UISourceCodeFrame.js';
14
14
 
15
15
  const UIStrings = {
16
16
  /**
17
- * @description Text in Go To Line Quick Open of the Sources panel
17
+ * @description Text in the go to line quick open menu of the Sources panel.
18
18
  */
19
19
  noFileSelected: 'No file selected',
20
20
  /**
21
- * @description Text to show no results have been found
21
+ * @description Text to show no results have been found.
22
22
  */
23
23
  noResultsFound: 'No results found',
24
24
  /**
25
- * @description Text in Go To Line Quick Open of the Sources panel
25
+ * @description Text in the go to line quick open menu of the Sources panel.
26
26
  */
27
27
  typeANumberToGoToThatLine: 'Type a number to go to that line',
28
28
  /**
29
- * @description Text in Go To Line Quick Open of the Sources panel
30
- * @example {000} PH1
31
- * @example {bbb} PH2
29
+ * @description Text in the go to line quick open menu of the Sources panel.
30
+ * @example {0000} PH1
31
+ * @example {ffff} PH2
32
32
  */
33
33
  currentPositionXsTypeAnOffset: 'Type an offset between 0x{PH1} and 0x{PH2} to navigate to',
34
34
  /**
35
- * @description Text in the GoToLine dialog of the Sources pane that describes the current line number, file line number range, and use of the GoToLine dialog
35
+ * @description Text in the go to line quick open menu of the Sources panel that describes the current line number, file line number range, and use of the go to line menu.
36
36
  * @example {100} PH1
37
37
  */
38
38
  currentLineSTypeALineNumber: 'Type a line number between 1 and {PH1} to navigate to',
39
39
  /**
40
- * @description Text in Go To Line Quick Open of the Sources panel
40
+ * @description Text in the go to line quick open menu of the Sources panel.
41
41
  * @example {abc} PH1
42
42
  */
43
43
  goToOffsetXs: 'Go to offset 0x{PH1}',
44
44
  /**
45
- * @description Text in Go To Line Quick Open of the Sources panel
45
+ * @description Text in the go to line quick open menu of the Sources panel.
46
46
  * @example {2} PH1
47
47
  * @example {2} PH2
48
48
  */
49
49
  goToLineSAndColumnS: 'Go to line {PH1} and column {PH2}',
50
50
  /**
51
- * @description Text in Go To Line Quick Open of the Sources panel
51
+ * @description Text in the go to line quick open menu of the Sources panel.
52
52
  * @example {2} PH1
53
53
  */
54
54
  goToLineS: 'Go to line {PH1}',
@@ -28,101 +28,101 @@ import {SearchSources} from './SearchSourcesView.js';
28
28
 
29
29
  const UIStrings = {
30
30
  /**
31
- * @description Text in Navigator View of the Sources panel
31
+ * @description Text in Navigator view of the Sources panel.
32
32
  */
33
33
  searchInFolder: 'Search in folder',
34
34
  /**
35
- * @description Search label in Navigator View of the Sources panel
35
+ * @description Search label in Navigator view of the Sources panel.
36
36
  */
37
37
  searchInAllFiles: 'Search in all files',
38
38
  /**
39
- * @description Text in Navigator View of the Sources panel
39
+ * @description Text in Navigator view of the Sources panel.
40
40
  */
41
41
  noDomain: '(no domain)',
42
42
  /**
43
- * @description Text in Navigator View of the Sources panel
43
+ * @description Text in Navigator view of the Sources panel.
44
44
  */
45
45
  authored: 'Authored',
46
46
  /**
47
- * @description Text in Navigator View of the Sources panel
47
+ * @description Text in Navigator view of the Sources panel.
48
48
  */
49
49
  authoredTooltip: 'Contains original sources',
50
50
  /**
51
- * @description Text in Navigator View of the Sources panel
51
+ * @description Text in Navigator view of the Sources panel.
52
52
  */
53
53
  deployed: 'Deployed',
54
54
  /**
55
- * @description Text in Navigator View of the Sources panel
55
+ * @description Text in Navigator view of the Sources panel.
56
56
  */
57
57
  deployedTooltip: 'Contains final sources the browser sees',
58
58
  /**
59
- * @description Text in Navigator View of the Sources panel
59
+ * @description Text in Navigator view of the Sources panel.
60
60
  */
61
61
  excludeThisFolder: 'Exclude this folder?',
62
62
  /**
63
- * @description Text in a dialog which appears when users click on 'Exclude from Workspace' menu item
63
+ * @description Text in a dialog which appears when users click on 'Exclude from workspace' menu item.
64
64
  */
65
65
  folderWillNotBeShown: 'This folder and its contents will not be shown in workspace.',
66
66
  /**
67
- * @description Text in Navigator View of the Sources panel
67
+ * @description Text in Navigator view of the Sources panel.
68
68
  */
69
69
  deleteThisFile: 'Delete this file?',
70
70
  /**
71
- * @description A context menu item in the Navigator View of the Sources panel
71
+ * @description A context menu item in the Navigator view of the Sources panel.
72
72
  */
73
73
  rename: 'Rename…',
74
74
  /**
75
- * @description A context menu item in the Navigator View of the Sources panel
75
+ * @description A context menu item in the Navigator view of the Sources panel.
76
76
  */
77
77
  makeACopy: 'Make a copy…',
78
78
  /**
79
- * @description Text to delete something
79
+ * @description Text to delete something.
80
80
  */
81
81
  delete: 'Delete',
82
82
  /**
83
- * @description A button text to confirm an action to remove a folder. This is not the same as delete. It removes the folder from UI but do not delete them.
83
+ * @description A button text to confirm an action to remove a folder. This is not the same as delete. It removes the folder from the UI but does not delete it.
84
84
  */
85
85
  remove: 'Remove',
86
86
  /**
87
- * @description Text in Navigator View of the Sources panel
87
+ * @description Text in Navigator view of the Sources panel.
88
88
  */
89
89
  deleteFolder: 'Delete this folder and its contents?',
90
90
  /**
91
- * @description Text in Navigator View of the Sources panel. A confirmation message on action to delete a folder or file.
91
+ * @description Text in Navigator view of the Sources panel. A confirmation message on action to delete a folder or file.
92
92
  */
93
93
  actionCannotBeUndone: 'This action cannot be undone.',
94
94
  /**
95
- * @description A context menu item in the Navigator View of the Sources panel
95
+ * @description A context menu item in the Navigator view of the Sources panel.
96
96
  */
97
97
  openFolder: 'Open folder',
98
98
  /**
99
- * @description A context menu item in the Navigator View of the Sources panel
99
+ * @description A context menu item in the Navigator view of the Sources panel.
100
100
  */
101
101
  newFile: 'New file',
102
102
  /**
103
- * @description A context menu item in the Navigator View of the Sources panel to exclude a folder from workspace
103
+ * @description A context menu item in the Navigator view of the Sources panel to exclude a folder from workspace.
104
104
  */
105
105
  excludeFolder: 'Exclude from workspace',
106
106
  /**
107
- * @description A context menu item in the Navigator View of the Sources panel
107
+ * @description A context menu item in the Navigator view of the Sources panel.
108
108
  */
109
109
  removeFolderFromWorkspace: 'Remove from workspace',
110
110
  /**
111
- * @description Text in Navigator View of the Sources panel
111
+ * @description Text in Navigator view of the Sources panel.
112
112
  * @example {a-folder-name} PH1
113
113
  */
114
- areYouSureYouWantToRemoveThis: 'Remove ‘{PH1}’ from Workspace?',
114
+ areYouSureYouWantToRemoveThis: 'Remove ‘{PH1}’ from workspace?',
115
115
  /**
116
- * @description Text in Navigator View of the Sources panel. Warning message when user remove a folder.
116
+ * @description Text in Navigator view of the Sources panel. Warning message when user removes a folder.
117
117
  */
118
118
  workspaceStopSyncing: 'This will stop syncing changes from DevTools to your sources.',
119
119
  /**
120
- * @description Name of an item from source map
120
+ * @description Name of an item from a source map.
121
121
  * @example {compile.html} PH1
122
122
  */
123
123
  sFromSourceMap: '{PH1} (from source map)',
124
124
  /**
125
- * @description Name of an item that is on the ignore list
125
+ * @description Name of an item that is on the ignore list.
126
126
  * @example {compile.html} PH1
127
127
  */
128
128
  sIgnoreListed: '{PH1} (ignore listed)',
@@ -1907,7 +1907,10 @@ export class NavigatorFolderTreeNode extends NavigatorTreeNode {
1907
1907
  Persistence.FileSystemWorkspaceBinding.FileSystemWorkspaceBinding.fileSystemPath(
1908
1908
  this.project.id() as Platform.DevToolsPath.UrlString),
1909
1909
  '/', this.folderPath);
1910
- const hasMappedFiles =
1910
+ const isOverrides =
1911
+ Persistence.FileSystemWorkspaceBinding.FileSystemWorkspaceBinding.fileSystemType(this.project) === 'overrides';
1912
+ const hasMappedFiles = isOverrides ?
1913
+ Common.Settings.Settings.instance().moduleSetting('persistence-network-overrides-enabled').get() :
1911
1914
  Persistence.Persistence.PersistenceImpl.instance().filePathHasBindings(absoluteFileSystemPath);
1912
1915
  this.treeElement.listItemElement.classList.toggle('has-mapped-files', hasMappedFiles);
1913
1916
  }
@@ -2094,7 +2097,11 @@ export class NavigatorGroupTreeNode extends NavigatorTreeNode {
2094
2097
  const fileSystemPath = Persistence.FileSystemWorkspaceBinding.FileSystemWorkspaceBinding.fileSystemPath(
2095
2098
  this.project.id() as Platform.DevToolsPath.UrlString);
2096
2099
  const wasActive = this.treeElement.listItemElement.classList.contains('has-mapped-files');
2097
- const isActive = Persistence.Persistence.PersistenceImpl.instance().filePathHasBindings(fileSystemPath);
2100
+ const isOverrides =
2101
+ Persistence.FileSystemWorkspaceBinding.FileSystemWorkspaceBinding.fileSystemType(this.project) === 'overrides';
2102
+ const isActive = isOverrides ?
2103
+ Common.Settings.Settings.instance().moduleSetting('persistence-network-overrides-enabled').get() :
2104
+ Persistence.Persistence.PersistenceImpl.instance().filePathHasBindings(fileSystemPath);
2098
2105
  if (wasActive === isActive) {
2099
2106
  return;
2100
2107
  }
@@ -16,15 +16,15 @@ import type {UISourceCodeFrame} from './UISourceCodeFrame.js';
16
16
 
17
17
  const UIStrings = {
18
18
  /**
19
- * @description Text in Go To Line Quick Open of the Sources panel
19
+ * @description Text in Go to line Quick Open of the Sources panel.
20
20
  */
21
21
  noFileSelected: 'No file selected.',
22
22
  /**
23
- * @description Text in Outline Quick Open of the Sources panel
23
+ * @description Text in Outline Quick Open of the Sources panel.
24
24
  */
25
25
  openAJavascriptOrCssFileToSee: 'Open a JavaScript or CSS file to see symbols',
26
26
  /**
27
- * @description Text to show no results have been found
27
+ * @description Text to show no results have been found.
28
28
  */
29
29
  noResultsFound: 'No results found',
30
30
  } as const;
@@ -15,42 +15,42 @@ import * as UI from '../../ui/legacy/legacy.js';
15
15
 
16
16
  const UIStrings = {
17
17
  /**
18
- * @description Text to save content as a specific file type
18
+ * @description Text to save content as a specific file type.
19
19
  */
20
20
  saveAs: 'Save as…',
21
21
  /**
22
- * @description Context menu item for saving an image
22
+ * @description Context menu item for saving an image.
23
23
  */
24
24
  saveImage: 'Save image',
25
25
  /**
26
- * @description Context menu item for showing all overridden files
26
+ * @description Context menu item for showing all overridden files.
27
27
  */
28
28
  showOverrides: 'Show all overrides',
29
29
  /**
30
- * @description A context menu item in the Persistence Actions of the Workspace settings in Settings
30
+ * @description A context menu item in the Persistence actions of the Workspace settings in Settings.
31
31
  */
32
32
  overrideContent: 'Override content',
33
33
  /**
34
- * @description A context menu item in the Persistence Actions of the Workspace settings in Settings
34
+ * @description A context menu item in the Persistence actions of the Workspace settings in Settings.
35
35
  */
36
36
  openInContainingFolder: 'Open in containing folder',
37
37
  /**
38
- * @description A message in a confirmation dialog in the Persistence Actions
38
+ * @description A message in a confirmation dialog in the Persistence actions.
39
39
  * @example {bundle.min.js} PH1
40
40
  */
41
41
  overrideSourceMappedFileWarning: 'Override ‘{PH1}’ instead?',
42
42
  /**
43
- * @description A message in a confirmation dialog to explain why the action is failed in the Persistence Actions
43
+ * @description A message in a confirmation dialog to explain why the action failed in the Persistence actions.
44
44
  * @example {index.ts} PH1
45
45
  */
46
46
  overrideSourceMappedFileExplanation: '‘{PH1}’ is a source mapped file and cannot be overridden.',
47
47
  /**
48
- * @description An error message shown in the DevTools console after the user clicked "Save as" in
48
+ * @description An error message shown in the DevTools Console after the user clicked "Save as" in
49
49
  * the context menu of a page resource.
50
50
  */
51
51
  saveFailed: 'Failed to save file to disk.',
52
52
  /**
53
- * @description An error message shown in the DevTools console after the user clicked "Save as" in
53
+ * @description An error message shown in the DevTools Console after the user clicked "Save as" in
54
54
  * the context menu of a WebAssembly file.
55
55
  */
56
56
  saveWasmFailed: 'Unable to save WASM module to disk. Most likely the module is too large.',
@@ -17,7 +17,7 @@ import {Plugin} from './Plugin.js';
17
17
 
18
18
  const UIStrings = {
19
19
  /**
20
- * @description The milisecond unit
20
+ * @description The millisecond unit.
21
21
  */
22
22
  ms: 'ms',
23
23
  } as const;
@@ -45,24 +45,24 @@ import scopeChainSidebarPaneStyles from './scopeChainSidebarPane.css.js';
45
45
 
46
46
  const UIStrings = {
47
47
  /**
48
- * @description Loading indicator in Scope Sidebar Pane of the Sources panel
48
+ * @description Loading indicator in the scope sidebar of the Sources panel.
49
49
  */
50
50
  loading: 'Loading…',
51
51
  /**
52
- * @description Not paused message element text content in Call Stack Sidebar Pane of the Sources panel
52
+ * @description Not paused message element text content in the call stack sidebar of the Sources panel.
53
53
  */
54
54
  notPaused: 'Not paused',
55
55
  /**
56
- * @description Empty placeholder in Scope Chain Sidebar Pane of the Sources panel
56
+ * @description Empty placeholder in the scope chain sidebar of the Sources panel.
57
57
  */
58
58
  noVariables: 'No variables',
59
59
  /**
60
- * @description Text in the Sources panel Scope pane describing a closure scope.
60
+ * @description Text in the scope sidebar of the Sources panel describing a closure scope.
61
61
  * @example {func} PH1
62
62
  */
63
63
  closureS: 'Closure ({PH1})',
64
64
  /**
65
- * @description Text that refers to closure as a programming term
65
+ * @description Text that refers to closure as a programming term.
66
66
  */
67
67
  closure: 'Closure',
68
68
  } as const;
@@ -14,11 +14,11 @@ import {Plugin} from './Plugin.js';
14
14
 
15
15
  const UIStrings = {
16
16
  /**
17
- * @description Text in Snippets Plugin of the Sources panel
17
+ * @description Text in Snippets plugin of the Sources panel.
18
18
  */
19
19
  enter: '⌘+Enter',
20
20
  /**
21
- * @description Text in Snippets Plugin of the Sources panel
21
+ * @description Text in Snippets plugin of the Sources panel.
22
22
  */
23
23
  ctrlenter: 'Ctrl+Enter',
24
24
  } as const;