chrome-devtools-frontend 1.0.1669021 → 1.0.1672388

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 (208) hide show
  1. package/.agents/skills/fixing-skipped-tests/SKILL.md +6 -6
  2. package/.agents/skills/gerrit-cli/SKILL.md +4 -10
  3. package/.agents/skills/gerrit-cli/references/commands.md +45 -2
  4. package/.agents/skills/gerrit-cli/references/workflows.md +7 -0
  5. package/.agents/skills/gerrit-cli/scripts/import_upstream.py +34 -152
  6. package/config/typescript/tsconfig.eslint.json +1 -1
  7. package/docs/contributing/settings-experiments-features.md +2 -8
  8. package/docs/ecosystem/automatic_workspace_folders.md +0 -19
  9. package/eslint.config.mjs +2 -2
  10. package/front_end/core/common/Lazy.ts +3 -3
  11. package/front_end/core/common/SettingRegistration.ts +0 -7
  12. package/front_end/core/common/Settings.ts +0 -38
  13. package/front_end/core/host/UserMetrics.ts +187 -953
  14. package/front_end/core/host/UserMetricsEnums.d.ts +949 -0
  15. package/front_end/core/root/Runtime.ts +21 -133
  16. package/front_end/core/sdk/CSSMetadata.ts +70 -65
  17. package/front_end/core/sdk/CategorizedBreakpoint.ts +0 -1
  18. package/front_end/core/sdk/ChildTargetManager.ts +0 -2
  19. package/front_end/core/sdk/EmulationModel.ts +0 -2
  20. package/front_end/core/sdk/EventBreakpointsModel.ts +0 -4
  21. package/front_end/core/sdk/NetworkManager.ts +0 -3
  22. package/front_end/core/sdk/PageResourceLoader.ts +9 -9
  23. package/front_end/core/sdk/RehydratingConnection.ts +52 -4
  24. package/front_end/core/sdk/Target.ts +0 -4
  25. package/front_end/devtools_compatibility.js +886 -0
  26. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +7 -6
  27. package/front_end/entrypoints/main/ExecutionContextSelector.ts +0 -1
  28. package/front_end/entrypoints/main/MainImpl.ts +18 -22
  29. package/front_end/foundation/Universe.ts +7 -2
  30. package/front_end/generated/InspectorBackendCommands.ts +3 -10
  31. package/front_end/generated/protocol-mapping.d.ts +0 -42
  32. package/front_end/generated/protocol-proxy-api.d.ts +0 -38
  33. package/front_end/generated/protocol.ts +9 -169
  34. package/front_end/models/ai_assistance/AiAgent2.ts +11 -3
  35. package/front_end/models/ai_assistance/AiConversation.ts +1 -0
  36. package/front_end/models/ai_assistance/AiHistoryStorage.ts +8 -5
  37. package/front_end/models/ai_assistance/AiSetting.ts +108 -0
  38. package/front_end/models/ai_assistance/AiUtils.ts +47 -0
  39. package/front_end/models/ai_assistance/ChangeManager.ts +1 -0
  40. package/front_end/models/ai_assistance/ExtensionScope.ts +3 -12
  41. package/front_end/models/ai_assistance/agents/AiAgent.ts +11 -18
  42. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +3 -0
  43. package/front_end/models/ai_assistance/agents/ExecuteJavascript.ts +42 -17
  44. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +3 -2
  45. package/front_end/models/ai_assistance/agents/StorageAgent.ts +253 -155
  46. package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -2
  47. package/front_end/models/ai_assistance/ai_assistance.ts +4 -0
  48. package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +12 -6
  49. package/front_end/models/ai_assistance/data_formatters/FileFormatter.ts +3 -1
  50. package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +1 -0
  51. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +1 -0
  52. package/front_end/models/ai_assistance/injected.ts +1 -0
  53. package/front_end/models/ai_assistance/performance/AICallTree.ts +1 -0
  54. package/front_end/models/ai_assistance/skills/Skill.ts +1 -1
  55. package/front_end/models/ai_assistance/skills/SkillRegistry.ts +2 -0
  56. package/front_end/models/ai_assistance/skills/performance.md +10 -0
  57. package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +52 -5
  58. package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +4 -4
  59. package/front_end/models/ai_assistance/tools/GetLighthouseAudits.ts +4 -4
  60. package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +5 -4
  61. package/front_end/models/ai_assistance/tools/GetStyles.ts +5 -4
  62. package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +5 -4
  63. package/front_end/models/ai_assistance/tools/README.md +1 -1
  64. package/front_end/models/ai_assistance/tools/RecordPerformanceTrace.ts +63 -0
  65. package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +5 -5
  66. package/front_end/models/ai_assistance/tools/Tool.ts +118 -24
  67. package/front_end/models/ai_assistance/tools/ToolRegistry.ts +2 -0
  68. package/front_end/models/badges/UserBadges.ts +2 -0
  69. package/front_end/models/bindings/NetworkProject.ts +5 -0
  70. package/front_end/models/bindings/ResourceScriptMapping.ts +2 -0
  71. package/front_end/models/bindings/ResourceUtils.ts +3 -0
  72. package/front_end/models/crux-manager/CrUXManager.ts +1 -0
  73. package/front_end/models/emulation/DeviceModeModel.ts +140 -7
  74. package/front_end/models/emulation/EmulatedDevices.ts +246 -793
  75. package/front_end/models/issues_manager/IssuesManager.ts +10 -2
  76. package/front_end/models/live-metrics/LiveMetrics.ts +41 -9
  77. package/front_end/models/logs/LogManager.ts +8 -5
  78. package/front_end/models/logs/NetworkLog.ts +1 -0
  79. package/front_end/models/persistence/IsolatedFileSystemManager.ts +21 -3
  80. package/front_end/models/persistence/NetworkPersistenceManager.ts +6 -0
  81. package/front_end/models/project_settings/ProjectSettingsModel.ts +8 -12
  82. package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +3 -1
  83. package/front_end/models/workspace/IgnoreListManager.ts +2 -0
  84. package/front_end/models/workspace/UISourceCode.ts +2 -0
  85. package/front_end/models/workspace_diff/WorkspaceDiff.ts +4 -0
  86. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +22 -22
  87. package/front_end/panels/ai_assistance/ai_assistance-meta.ts +0 -7
  88. package/front_end/panels/ai_assistance/components/ChatInput.ts +4 -0
  89. package/front_end/panels/ai_assistance/components/ChatMessage.ts +79 -34
  90. package/front_end/panels/ai_assistance/components/WalkthroughView.ts +1 -2
  91. package/front_end/panels/ai_assistance/components/walkthroughView.css +1 -1
  92. package/front_end/panels/application/ApplicationPanelSidebar.ts +9 -106
  93. package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
  94. package/front_end/panels/application/application.ts +0 -10
  95. package/front_end/panels/application/components/components.ts +0 -4
  96. package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +0 -5
  97. package/front_end/panels/browser_debugger/EventListenerBreakpointsSidebarPane.ts +6 -12
  98. package/front_end/panels/browser_debugger/browser_debugger-meta.ts +5 -3
  99. package/front_end/panels/console/ConsoleFormat.ts +2 -62
  100. package/front_end/panels/console/ConsoleViewMessage.ts +14 -7
  101. package/front_end/panels/emulation/AdvancedApp.ts +1 -2
  102. package/front_end/panels/emulation/DeviceModeToolbar.ts +83 -69
  103. package/front_end/panels/emulation/DeviceModeView.ts +4 -134
  104. package/front_end/panels/emulation/DeviceModeWrapper.ts +52 -69
  105. package/front_end/panels/emulation/MediaQueryInspector.ts +2 -2
  106. package/front_end/panels/emulation/emulation-meta.ts +12 -12
  107. package/front_end/panels/issues/IssuesPane.ts +3 -1
  108. package/front_end/panels/lighthouse/LighthouseController.ts +6 -0
  109. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +17 -21
  110. package/front_end/panels/linear_memory_inspector/components/LinearMemoryNavigator.ts +206 -126
  111. package/front_end/panels/linear_memory_inspector/components/linearMemoryInspector.css +1 -1
  112. package/front_end/panels/mobile_throttling/CalibrationController.ts +1 -1
  113. package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +3 -3
  114. package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +6 -6
  115. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +11 -11
  116. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +13 -13
  117. package/front_end/panels/mobile_throttling/ThrottlingPresets.ts +10 -10
  118. package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +28 -28
  119. package/front_end/panels/mobile_throttling/mobile_throttling-meta.ts +6 -6
  120. package/front_end/panels/network/RequestHeadersView.ts +1 -1
  121. package/front_end/panels/network/ResourceChunkView.ts +243 -144
  122. package/front_end/panels/network/ResourceDirectSocketChunkView.ts +52 -29
  123. package/front_end/panels/network/ResourceWebSocketFrameView.ts +21 -35
  124. package/front_end/panels/network/resourceChunkView.css +41 -36
  125. package/front_end/panels/profiler/HeapDetachedElementsDataGrid.ts +21 -12
  126. package/front_end/panels/profiler/profiler.ts +4 -0
  127. package/front_end/panels/recorder/RecorderPanel.ts +6 -14
  128. package/front_end/panels/sensors/LocationsSettingsTab.ts +7 -7
  129. package/front_end/panels/settings/AISettingsTab.ts +75 -31
  130. package/front_end/panels/settings/SettingsScreen.ts +8 -13
  131. package/front_end/panels/settings/components/SyncSection.ts +3 -4
  132. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +200 -18
  133. package/front_end/panels/settings/emulation/devicesSettingsTab.css +18 -0
  134. package/front_end/panels/settings/settings-meta.ts +0 -1
  135. package/front_end/panels/sources/CategorizedBreakpointL10n.ts +0 -2
  136. package/front_end/panels/sources/DebuggerPausedMessage.ts +11 -5
  137. package/front_end/panels/sources/DebuggerPlugin.ts +1 -1
  138. package/front_end/panels/sources/EditingLocationHistoryManager.ts +12 -9
  139. package/front_end/panels/sources/SourcesPanel.ts +19 -17
  140. package/front_end/panels/sources/SourcesView.ts +191 -96
  141. package/front_end/panels/sources/TabbedEditorContainer.ts +3 -4
  142. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +2 -5
  143. package/front_end/panels/timeline/TimelineUIUtils.ts +15 -0
  144. package/front_end/panels/timeline/timeline-meta.ts +3 -5
  145. package/front_end/third_party/chromium/README.chromium +1 -1
  146. package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
  147. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  148. package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
  149. package/front_end/third_party/codemirror.next/chunk/cpp.js +1 -1
  150. package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
  151. package/front_end/third_party/codemirror.next/chunk/java.js +1 -1
  152. package/front_end/third_party/codemirror.next/chunk/java.js.map +1 -1
  153. package/front_end/third_party/codemirror.next/chunk/legacy.js +1 -1
  154. package/front_end/third_party/codemirror.next/chunk/less.js +1 -1
  155. package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
  156. package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
  157. package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
  158. package/front_end/third_party/codemirror.next/chunk/php.js +1 -1
  159. package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
  160. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  161. package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
  162. package/front_end/third_party/codemirror.next/chunk/sass.js +1 -1
  163. package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
  164. package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
  165. package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
  166. package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
  167. package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
  168. package/front_end/third_party/codemirror.next/chunk/wast.js.map +1 -1
  169. package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
  170. package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
  171. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +1332 -193
  172. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  173. package/front_end/third_party/codemirror.next/rebuild.sh +1 -1
  174. package/front_end/tsconfig.compatibility.json +2 -1
  175. package/front_end/tsconfig.json +1 -1
  176. package/front_end/ui/components/icon_button/IconButton.ts +1 -1
  177. package/front_end/ui/components/issue_counter/IssueCounter.ts +1 -1
  178. package/front_end/ui/components/settings/SettingCheckbox.ts +4 -7
  179. package/front_end/ui/components/settings/settings.ts +1 -2
  180. package/front_end/ui/legacy/Treeoutline.ts +52 -30
  181. package/front_end/ui/legacy/components/object_ui/CSSStyleSanitizer.ts +74 -0
  182. package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +6 -1
  183. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +47 -54
  184. package/front_end/ui/legacy/components/object_ui/object_ui.ts +2 -0
  185. package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +5 -27
  186. package/front_end/ui/legacy/components/settings_ui/SettingsUI.ts +10 -12
  187. package/front_end/ui/settings/SettingUIRegistration.ts +0 -8
  188. package/front_end/ui/visual_logging/KnownContextValues.ts +21 -0
  189. package/inspector_overlay/tsconfig.json +8 -2
  190. package/package.json +3 -2
  191. package/.agents/skills/gerrit-cli/scripts/gerrit_client_wrapper.py +0 -47
  192. package/front_end/core/sdk/CSSModel.test.api.ts +0 -102
  193. package/front_end/core/sdk/DOMModel.test.api.ts +0 -104
  194. package/front_end/foundation/Universe.test.api.ts +0 -73
  195. package/front_end/panels/application/SharedStorageEventsView.ts +0 -128
  196. package/front_end/panels/application/SharedStorageItemsView.ts +0 -179
  197. package/front_end/panels/application/SharedStorageListTreeElement.ts +0 -65
  198. package/front_end/panels/application/SharedStorageModel.ts +0 -249
  199. package/front_end/panels/application/SharedStorageTreeElement.ts +0 -40
  200. package/front_end/panels/application/components/SharedStorageAccessGrid.ts +0 -191
  201. package/front_end/panels/application/components/SharedStorageMetadataView.ts +0 -133
  202. package/front_end/panels/application/components/sharedStorageAccessGrid.css +0 -29
  203. package/front_end/panels/application/components/sharedStorageMetadataView.css +0 -29
  204. package/front_end/panels/application/sharedStorageEventsView.css +0 -9
  205. package/front_end/panels/network/OriginalResourceChunkView.ts +0 -340
  206. package/front_end/panels/network/originalResourceChunkView.css +0 -49
  207. package/front_end/ui/components/settings/SettingDeprecationWarning.ts +0 -47
  208. package/front_end/ui/components/settings/settingDeprecationWarning.css +0 -14
@@ -20,111 +20,111 @@ import throttlingSettingsTabStyles from './throttlingSettingsTab.css.js';
20
20
 
21
21
  const UIStrings = {
22
22
  /**
23
- * @description Title for default network throttling profiles card
23
+ * @description Title for default network throttling profiles card.
24
24
  */
25
25
  defaultProfiles: 'Default profiles',
26
26
  /**
27
- * @description Title for custom network throttling profiles card
27
+ * @description Title for custom network throttling profiles card.
28
28
  */
29
29
  customProfiles: 'Custom profiles',
30
30
  /**
31
- * @description Text of add conditions button in Throttling Settings Tab of the Network panel
31
+ * @description Text of add conditions button in throttling settings tab of the Network panel.
32
32
  */
33
33
  addCustomProfile: 'Add profile',
34
34
  /**
35
- * @description A value in milliseconds
35
+ * @description A value in milliseconds.
36
36
  * @example {3} PH1
37
37
  */
38
38
  dms: '{PH1} `ms`',
39
39
  /**
40
- * @description Text in Throttling Settings Tab of the Network panel
40
+ * @description Text in throttling settings tab of the Network panel.
41
41
  */
42
- profileName: 'Profile Name',
42
+ profileName: 'Profile name',
43
43
  /**
44
- * @description Label for a textbox that sets the download speed in the Throttling Settings Tab.
44
+ * @description Label for a textbox that sets the download speed in the throttling settings tab.
45
45
  * Noun, short for 'download speed'.
46
46
  */
47
47
  download: 'Download',
48
48
  /**
49
- * @description Label for a textbox that sets the upload speed in the Throttling Settings Tab.
49
+ * @description Label for a textbox that sets the upload speed in the throttling settings tab.
50
50
  * Noun, short for 'upload speed'.
51
51
  */
52
52
  upload: 'Upload',
53
53
  /**
54
- * @description Label for a textbox that sets the latency in the Throttling Settings Tab.
54
+ * @description Label for a textbox that sets the latency in the throttling settings tab.
55
55
  */
56
56
  latency: 'Latency',
57
57
  /**
58
- * @description Label for a textbox that sets the packet loss percentage for real-time networks in the Throttling Settings Tab.
58
+ * @description Label for a textbox that sets the packet loss percentage for real-time networks in the throttling settings tab.
59
59
  */
60
60
  packetLoss: 'Packet Loss',
61
61
  /**
62
- * @description Label for a textbox that sets the maximum packet queue length for real-time networks in the Throttling Settings Tab.
62
+ * @description Label for a textbox that sets the maximum packet queue length for real-time networks in the throttling settings tab.
63
63
  */
64
64
  packetQueueLength: 'Packet Queue Length',
65
65
  /**
66
- * @description Label for a checkbox that allows packet reordering in the Throttling Settings Tab.
66
+ * @description Label for a checkbox that allows packet reordering in the throttling settings tab.
67
67
  */
68
68
  packetReordering: 'Packet Reordering',
69
69
  /**
70
- * @description Label for a textbox serving as a unit in the Throttling Settings Tab for the field Packet Queue Length column.
70
+ * @description Label for a textbox serving as a unit in the throttling settings tab for the field packet queue length column.
71
71
  */
72
72
  packet: 'packet',
73
73
  /**
74
- * @description Text in Throttling Settings Tab of the Network panel
74
+ * @description Text in throttling settings tab of the Network panel.
75
75
  */
76
76
  optional: 'optional',
77
77
  /**
78
- * @description Error message for Profile Name input in Throtting pane of the Settings
78
+ * @description Error message for profile name input in throttling pane of the Settings panel.
79
79
  * @example {49} PH1
80
80
  */
81
- profileNameCharactersLengthMust: 'Profile Name characters length must be between 1 to {PH1} inclusive',
81
+ profileNameCharactersLengthMust: 'Profile name length must be between 1 and {PH1} characters',
82
82
  /**
83
- * @description Error message for Download and Upload inputs in Throttling pane of the Settings
83
+ * @description Error message for download and upload inputs in throttling pane of the Settings panel.
84
84
  * @example {Download} PH1
85
85
  * @example {0} PH2
86
86
  * @example {10000000} PH3
87
87
  */
88
88
  sMustBeANumberBetweenSkbsToSkbs: '{PH1} must be a number between {PH2} `kbit/s` to {PH3} `kbit/s` inclusive',
89
89
  /**
90
- * @description Error message for Latency input in Throttling pane of the Settings
90
+ * @description Error message for latency input in throttling pane of the Settings panel.
91
91
  * @example {0} PH1
92
92
  * @example {1000000} PH2
93
93
  */
94
94
  latencyMustBeAnIntegerBetweenSms: 'Latency must be an integer between {PH1} `ms` to {PH2} `ms` inclusive',
95
95
  /**
96
- * @description Error message for Packet Loss input in Throttling pane of the Settings
96
+ * @description Error message for packet loss input in throttling pane of the Settings panel.
97
97
  * @example {0} PH1
98
98
  * @example {100} PH2
99
99
  */
100
100
  packetLossMustBeAnIntegerBetweenSpct: 'Packet Loss must be a number between {PH1} `%` to {PH2} `%` inclusive',
101
101
  /**
102
- * @description Error message for Packet Queue Length input in Throttling pane of the Settings
102
+ * @description Error message for packet queue length input in throttling pane of the Settings panel.
103
103
  */
104
- packetQueueLengthMustBeAnIntegerGreaterOrEqualToZero: 'Packet Queue Length must be greater or equal to 0',
104
+ packetQueueLengthMustBeAnIntegerGreaterOrEqualToZero: 'Packet queue length must be greater than or equal to 0',
105
105
  /**
106
- * @description Text in Throttling Settings Tab of the Network panel, indicating the download or
106
+ * @description Text in throttling settings tab of the Network panel, indicating the download or
107
107
  * upload speed that will be applied in kilobits per second.
108
108
  * @example {25} PH1
109
109
  */
110
110
  dskbits: '{PH1} `kbit/s`',
111
111
  /**
112
- * @description Text in Throttling Settings Tab of the Network panel, indicating the download or
112
+ * @description Text in throttling settings tab of the Network panel, indicating the download or
113
113
  * upload speed that will be applied in megabits per second.
114
114
  * @example {25.4} PH1
115
115
  */
116
116
  fsmbits: '{PH1} `Mbit/s`',
117
117
  /**
118
- * @description Label for the column Packet Reordering to indicate it is enabled in the Throttling Settings Tab.
118
+ * @description Label for the column packet reordering to indicate it is enabled in the throttling settings tab.
119
119
  */
120
120
  on: 'On',
121
121
  /**
122
- * @description Label for the column Packet Reordering to indicate it is disabled in the Throttling Settings Tab.
122
+ * @description Label for the column packet reordering to indicate it is disabled in the throttling settings tab.
123
123
  */
124
124
  off: 'Off',
125
125
 
126
126
  /**
127
- * @description Text in Throttling Settings Tab of the Settings panel
127
+ * @description Text in throttling settings tab of the Settings panel.
128
128
  */
129
129
  cpuThrottlingPresets: 'CPU throttling presets',
130
130
  /**
@@ -169,11 +169,11 @@ const UIStrings = {
169
169
  /**
170
170
  * @description Text to explain an issue that may impact the CPU calibration process.
171
171
  */
172
- calibrationWarningRunningOnBattery: 'Device is running on battery, please plug in charger for best results',
172
+ calibrationWarningRunningOnBattery: 'Device is running on battery. Plug in charger for best results',
173
173
  /**
174
174
  * @description Text to explain an issue that may impact the CPU calibration process.
175
175
  */
176
- calibrationWarningLowBattery: 'Device battery is low (<20%), results may be impacted by CPU throttling',
176
+ calibrationWarningLowBattery: 'Device battery is low (<20%). Results may be impacted by CPU throttling',
177
177
  /**
178
178
  * @description Text label for a menu item indicating that a specific slowdown multiplier is applied.
179
179
  * @example {2} PH1
@@ -10,23 +10,23 @@ import type * as MobileThrottling from './mobile_throttling.js';
10
10
 
11
11
  const UIStrings = {
12
12
  /**
13
- * @description Text for throttling the network
13
+ * @description Text for throttling the network.
14
14
  */
15
15
  throttling: 'Throttling',
16
16
  /**
17
- * @description Command for showing the Mobile Throttling tool.
17
+ * @description Command for showing the mobile throttling tool.
18
18
  */
19
19
  showThrottling: 'Show Throttling',
20
20
  /**
21
- * @description Title of an action in the network conditions tool to network offline
21
+ * @description Title of an action in the network conditions tool to network offline.
22
22
  */
23
23
  goOffline: 'Go offline',
24
24
  /**
25
- * @description A tag of Mobile related settings that can be searched in the command menu
25
+ * @description A tag of mobile-related settings that can be searched in the command menu.
26
26
  */
27
27
  device: 'device',
28
28
  /**
29
- * @description A tag of Network related actions that can be searched in the command menu
29
+ * @description A tag of network-related actions that can be searched in the command menu.
30
30
  */
31
31
  throttlingTag: 'throttling',
32
32
  /**
@@ -40,7 +40,7 @@ const UIStrings = {
40
40
  */
41
41
  enableFastGThrottling: 'Enable fast `3G` throttling',
42
42
  /**
43
- * @description Title of an action in the network conditions tool to network online
43
+ * @description Title of an action in the network conditions tool to network online.
44
44
  */
45
45
  goOnline: 'Go online',
46
46
  } as const;
@@ -352,7 +352,7 @@ export class RequestHeadersView extends UI.Widget.Widget {
352
352
  const uiSourceCode = this.#workspace.uiSourceCodeForURL(this.#getHeaderOverridesFileUrl());
353
353
  if (uiSourceCode) {
354
354
  revealHeadersFile = (): void => {
355
- Sources.SourcesPanel.SourcesPanel.instance().showUISourceCode(uiSourceCode);
355
+ void Sources.SourcesPanel.SourcesPanel.instance().showUISourceCode(uiSourceCode);
356
356
  void Sources.SourcesPanel.SourcesPanel.instance().revealInNavigator(uiSourceCode);
357
357
  };
358
358
  }