chrome-devtools-frontend 1.0.1669021 → 1.0.1672557

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 (302) 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 +5 -5
  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.ts +949 -0
  15. package/front_end/core/root/Runtime.ts +21 -138
  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/{SupportedCSSProperties.js → SupportedCSSProperties.ts} +16 -0
  32. package/front_end/generated/protocol-mapping.d.ts +0 -42
  33. package/front_end/generated/protocol-proxy-api.d.ts +0 -38
  34. package/front_end/generated/protocol.ts +9 -169
  35. package/front_end/models/ai_assistance/AiAgent2.ts +11 -3
  36. package/front_end/models/ai_assistance/AiConversation.ts +1 -0
  37. package/front_end/models/ai_assistance/AiHistoryStorage.ts +8 -5
  38. package/front_end/models/ai_assistance/AiSetting.ts +108 -0
  39. package/front_end/models/ai_assistance/AiUtils.ts +47 -0
  40. package/front_end/models/ai_assistance/ChangeManager.ts +1 -0
  41. package/front_end/models/ai_assistance/ExtensionScope.ts +3 -12
  42. package/front_end/models/ai_assistance/agents/AiAgent.ts +11 -18
  43. package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +3 -0
  44. package/front_end/models/ai_assistance/agents/ExecuteJavascript.ts +42 -17
  45. package/front_end/models/ai_assistance/agents/PerformanceAgent.snapshot.txt +1 -1
  46. package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +3 -2
  47. package/front_end/models/ai_assistance/agents/StorageAgent.ts +253 -155
  48. package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -2
  49. package/front_end/models/ai_assistance/ai_assistance.ts +4 -0
  50. package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +12 -6
  51. package/front_end/models/ai_assistance/data_formatters/FileFormatter.ts +3 -1
  52. package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +1 -0
  53. package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +4 -3
  54. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +1 -1
  55. package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +1 -0
  56. package/front_end/models/ai_assistance/injected.ts +1 -0
  57. package/front_end/models/ai_assistance/performance/AICallTree.ts +1 -0
  58. package/front_end/models/ai_assistance/skills/Skill.ts +1 -1
  59. package/front_end/models/ai_assistance/skills/SkillRegistry.ts +2 -0
  60. package/front_end/models/ai_assistance/skills/performance.md +10 -0
  61. package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +52 -5
  62. package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +4 -4
  63. package/front_end/models/ai_assistance/tools/GetLighthouseAudits.ts +4 -4
  64. package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +5 -4
  65. package/front_end/models/ai_assistance/tools/GetStyles.ts +5 -4
  66. package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +5 -4
  67. package/front_end/models/ai_assistance/tools/README.md +1 -1
  68. package/front_end/models/ai_assistance/tools/RecordPerformanceTrace.ts +63 -0
  69. package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +5 -5
  70. package/front_end/models/ai_assistance/tools/Tool.ts +118 -24
  71. package/front_end/models/ai_assistance/tools/ToolRegistry.ts +2 -0
  72. package/front_end/models/badges/UserBadges.ts +2 -0
  73. package/front_end/models/bindings/NetworkProject.ts +5 -0
  74. package/front_end/models/bindings/ResourceScriptMapping.ts +2 -0
  75. package/front_end/models/bindings/ResourceUtils.ts +3 -0
  76. package/front_end/models/crux-manager/CrUXManager.ts +1 -0
  77. package/front_end/models/emulation/DeviceModeModel.ts +140 -7
  78. package/front_end/models/emulation/EmulatedDevices.ts +246 -793
  79. package/front_end/models/issues_manager/IssuesManager.ts +10 -2
  80. package/front_end/models/live-metrics/LiveMetrics.ts +41 -9
  81. package/front_end/models/logs/LogManager.ts +8 -5
  82. package/front_end/models/logs/NetworkLog.ts +1 -0
  83. package/front_end/models/persistence/IsolatedFileSystemManager.ts +21 -3
  84. package/front_end/models/persistence/NetworkPersistenceManager.ts +6 -0
  85. package/front_end/models/project_settings/ProjectSettingsModel.ts +8 -12
  86. package/front_end/models/trace/Processor.ts +42 -10
  87. package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +12 -19
  88. package/front_end/models/trace/handlers/MetaHandler.ts +38 -5
  89. package/front_end/models/trace/insights/CLSCulprits.ts +1 -2
  90. package/front_end/models/trace/insights/CharacterSet.ts +1 -1
  91. package/front_end/models/trace/insights/Common.ts +21 -2
  92. package/front_end/models/trace/insights/DocumentLatency.ts +1 -1
  93. package/front_end/models/trace/insights/LCPBreakdown.ts +7 -6
  94. package/front_end/models/trace/insights/LCPDiscovery.ts +1 -1
  95. package/front_end/models/trace/insights/ModernHTTP.ts +7 -3
  96. package/front_end/models/trace/insights/NetworkDependencyTree.ts +1 -1
  97. package/front_end/models/trace/insights/RenderBlocking.ts +1 -1
  98. package/front_end/models/trace/insights/ThirdParties.ts +5 -2
  99. package/front_end/models/trace/insights/types.ts +11 -6
  100. package/front_end/models/trace/types/Configuration.ts +5 -0
  101. package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +3 -1
  102. package/front_end/models/workspace/IgnoreListManager.ts +2 -0
  103. package/front_end/models/workspace/UISourceCode.ts +2 -0
  104. package/front_end/models/workspace_diff/WorkspaceDiff.ts +4 -0
  105. package/front_end/panels/ai_assistance/AiAssistancePanel.ts +22 -22
  106. package/front_end/panels/ai_assistance/ai_assistance-meta.ts +0 -7
  107. package/front_end/panels/ai_assistance/components/ChatInput.ts +4 -0
  108. package/front_end/panels/ai_assistance/components/ChatMessage.ts +79 -34
  109. package/front_end/panels/ai_assistance/components/WalkthroughView.ts +1 -2
  110. package/front_end/panels/ai_assistance/components/walkthroughView.css +1 -1
  111. package/front_end/panels/application/ApplicationPanelSidebar.ts +9 -106
  112. package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
  113. package/front_end/panels/application/application.ts +0 -10
  114. package/front_end/panels/application/components/components.ts +0 -4
  115. package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +0 -5
  116. package/front_end/panels/browser_debugger/EventListenerBreakpointsSidebarPane.ts +6 -12
  117. package/front_end/panels/browser_debugger/browser_debugger-meta.ts +5 -3
  118. package/front_end/panels/console/ConsoleFormat.ts +2 -62
  119. package/front_end/panels/console/ConsoleViewMessage.ts +14 -7
  120. package/front_end/panels/elements/ElementsTreeElement.ts +1 -2
  121. package/front_end/panels/emulation/AdvancedApp.ts +1 -2
  122. package/front_end/panels/emulation/DeviceModeToolbar.ts +83 -69
  123. package/front_end/panels/emulation/DeviceModeView.ts +4 -134
  124. package/front_end/panels/emulation/DeviceModeWrapper.ts +52 -69
  125. package/front_end/panels/emulation/MediaQueryInspector.ts +2 -2
  126. package/front_end/panels/emulation/emulation-meta.ts +12 -12
  127. package/front_end/panels/issues/IssuesPane.ts +3 -1
  128. package/front_end/panels/lighthouse/LighthouseController.ts +6 -0
  129. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +17 -21
  130. package/front_end/panels/linear_memory_inspector/components/LinearMemoryNavigator.ts +206 -126
  131. package/front_end/panels/linear_memory_inspector/components/linearMemoryInspector.css +1 -1
  132. package/front_end/panels/mobile_throttling/CalibrationController.ts +1 -1
  133. package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +3 -3
  134. package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +6 -6
  135. package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +14 -12
  136. package/front_end/panels/mobile_throttling/ThrottlingManager.ts +13 -13
  137. package/front_end/panels/mobile_throttling/ThrottlingPresets.ts +10 -10
  138. package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +28 -28
  139. package/front_end/panels/mobile_throttling/mobile_throttling-meta.ts +6 -6
  140. package/front_end/panels/network/RequestHeadersView.ts +1 -1
  141. package/front_end/panels/network/ResourceChunkView.ts +243 -144
  142. package/front_end/panels/network/ResourceDirectSocketChunkView.ts +52 -29
  143. package/front_end/panels/network/ResourceWebSocketFrameView.ts +21 -35
  144. package/front_end/panels/network/resourceChunkView.css +41 -36
  145. package/front_end/panels/profiler/HeapDetachedElementsDataGrid.ts +21 -12
  146. package/front_end/panels/profiler/profiler.ts +4 -0
  147. package/front_end/panels/recorder/RecorderPanel.ts +6 -14
  148. package/front_end/panels/sensors/LocationsSettingsTab.ts +7 -7
  149. package/front_end/panels/settings/AISettingsTab.ts +75 -31
  150. package/front_end/panels/settings/SettingsScreen.ts +8 -13
  151. package/front_end/panels/settings/components/SyncSection.ts +3 -4
  152. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +650 -18
  153. package/front_end/panels/settings/emulation/devicesSettingsTab.css +18 -0
  154. package/front_end/panels/settings/settings-meta.ts +0 -1
  155. package/front_end/panels/sources/CategorizedBreakpointL10n.ts +0 -2
  156. package/front_end/panels/sources/DebuggerPausedMessage.ts +11 -5
  157. package/front_end/panels/sources/DebuggerPlugin.ts +1 -1
  158. package/front_end/panels/sources/EditingLocationHistoryManager.ts +12 -9
  159. package/front_end/panels/sources/SourcesPanel.ts +19 -17
  160. package/front_end/panels/sources/SourcesView.ts +191 -96
  161. package/front_end/panels/sources/TabbedEditorContainer.ts +3 -4
  162. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +2 -5
  163. package/front_end/panels/timeline/TimelinePanel.ts +2 -0
  164. package/front_end/panels/timeline/TimelineUIUtils.ts +15 -0
  165. package/front_end/panels/timeline/components/CWVMetrics.ts +16 -3
  166. package/front_end/panels/timeline/components/cwvMetrics.css +4 -0
  167. package/front_end/panels/timeline/components/liveMetricsView.css +0 -17
  168. package/front_end/panels/timeline/components/metricValueStyles.css +17 -0
  169. package/front_end/panels/timeline/timeline-meta.ts +3 -5
  170. package/front_end/third_party/chromium/README.chromium +1 -1
  171. package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
  172. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  173. package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
  174. package/front_end/third_party/codemirror.next/chunk/cpp.js +1 -1
  175. package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
  176. package/front_end/third_party/codemirror.next/chunk/java.js +1 -1
  177. package/front_end/third_party/codemirror.next/chunk/java.js.map +1 -1
  178. package/front_end/third_party/codemirror.next/chunk/legacy.js +1 -1
  179. package/front_end/third_party/codemirror.next/chunk/less.js +1 -1
  180. package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
  181. package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
  182. package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
  183. package/front_end/third_party/codemirror.next/chunk/php.js +1 -1
  184. package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
  185. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  186. package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
  187. package/front_end/third_party/codemirror.next/chunk/sass.js +1 -1
  188. package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
  189. package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
  190. package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
  191. package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
  192. package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
  193. package/front_end/third_party/codemirror.next/chunk/wast.js.map +1 -1
  194. package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
  195. package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
  196. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +1332 -193
  197. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  198. package/front_end/third_party/codemirror.next/rebuild.sh +1 -1
  199. package/front_end/third_party/puppeteer/README.chromium +2 -2
  200. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +64 -15
  201. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +65 -16
  202. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts +50 -7
  203. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts.map +1 -1
  204. package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js.map +1 -1
  205. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.d.ts +2 -1
  206. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.d.ts.map +1 -1
  207. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.js +5 -5
  208. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/BidiOverCdp.js.map +1 -1
  209. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Connection.d.ts +2 -1
  210. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Connection.d.ts.map +1 -1
  211. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Connection.js +8 -6
  212. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Connection.js.map +1 -1
  213. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Dialog.d.ts.map +1 -1
  214. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Dialog.js +3 -0
  215. package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Dialog.js.map +1 -1
  216. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.d.ts.map +1 -1
  217. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.js +16 -1
  218. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Browser.js.map +1 -1
  219. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Connection.d.ts +5 -1
  220. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Connection.d.ts.map +1 -1
  221. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Connection.js +11 -6
  222. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Connection.js.map +1 -1
  223. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Dialog.d.ts.map +1 -1
  224. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Dialog.js +5 -0
  225. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Dialog.js.map +1 -1
  226. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  227. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/NetworkManager.js +10 -0
  228. package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/NetworkManager.js.map +1 -1
  229. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.js +4 -3
  230. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.js.map +1 -1
  231. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts +27 -2
  232. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.d.ts.map +1 -1
  233. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js +12 -1
  234. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Debug.js.map +1 -1
  235. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/util.d.ts +2 -2
  236. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/util.d.ts.map +1 -1
  237. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/util.js +2 -2
  238. package/front_end/third_party/puppeteer/package/lib/puppeteer/common/util.js.map +1 -1
  239. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  240. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ChromeLauncher.js +2 -0
  241. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ChromeLauncher.js.map +1 -1
  242. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.d.ts +2 -1
  243. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  244. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.js +5 -4
  245. package/front_end/third_party/puppeteer/package/lib/puppeteer/node/ScreenRecorder.js.map +1 -1
  246. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
  247. package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
  248. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
  249. package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
  250. package/front_end/third_party/puppeteer/package/lib/types.d.ts +64 -15
  251. package/front_end/third_party/puppeteer/package/package.json +2 -2
  252. package/front_end/third_party/puppeteer/package/src/api/Page.ts +50 -7
  253. package/front_end/third_party/puppeteer/package/src/bidi/BidiOverCdp.ts +9 -7
  254. package/front_end/third_party/puppeteer/package/src/bidi/Connection.ts +9 -6
  255. package/front_end/third_party/puppeteer/package/src/bidi/Dialog.ts +4 -0
  256. package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +24 -1
  257. package/front_end/third_party/puppeteer/package/src/cdp/Connection.ts +11 -6
  258. package/front_end/third_party/puppeteer/package/src/cdp/Dialog.ts +7 -0
  259. package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +11 -0
  260. package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +7 -3
  261. package/front_end/third_party/puppeteer/package/src/common/Debug.ts +30 -5
  262. package/front_end/third_party/puppeteer/package/src/common/util.ts +2 -2
  263. package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +2 -0
  264. package/front_end/third_party/puppeteer/package/src/node/ScreenRecorder.ts +6 -4
  265. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  266. package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
  267. package/front_end/tsconfig.compatibility.json +2 -1
  268. package/front_end/tsconfig.json +1 -1
  269. package/front_end/ui/components/icon_button/IconButton.ts +1 -1
  270. package/front_end/ui/components/issue_counter/IssueCounter.ts +1 -1
  271. package/front_end/ui/components/settings/SettingCheckbox.ts +4 -7
  272. package/front_end/ui/components/settings/settings.ts +1 -2
  273. package/front_end/ui/legacy/Treeoutline.ts +52 -30
  274. package/front_end/ui/legacy/components/object_ui/CSSStyleSanitizer.ts +74 -0
  275. package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +6 -1
  276. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +47 -54
  277. package/front_end/ui/legacy/components/object_ui/object_ui.ts +2 -0
  278. package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +5 -27
  279. package/front_end/ui/legacy/components/settings_ui/SettingsUI.ts +10 -12
  280. package/front_end/ui/settings/SettingUIRegistration.ts +0 -8
  281. package/front_end/ui/visual_logging/KnownContextValues.ts +37 -0
  282. package/inspector_overlay/tsconfig.json +8 -2
  283. package/package.json +3 -2
  284. package/.agents/skills/gerrit-cli/scripts/gerrit_client_wrapper.py +0 -47
  285. package/front_end/core/sdk/CSSModel.test.api.ts +0 -102
  286. package/front_end/core/sdk/DOMModel.test.api.ts +0 -104
  287. package/front_end/foundation/Universe.test.api.ts +0 -73
  288. package/front_end/panels/application/SharedStorageEventsView.ts +0 -128
  289. package/front_end/panels/application/SharedStorageItemsView.ts +0 -179
  290. package/front_end/panels/application/SharedStorageListTreeElement.ts +0 -65
  291. package/front_end/panels/application/SharedStorageModel.ts +0 -249
  292. package/front_end/panels/application/SharedStorageTreeElement.ts +0 -40
  293. package/front_end/panels/application/components/SharedStorageAccessGrid.ts +0 -191
  294. package/front_end/panels/application/components/SharedStorageMetadataView.ts +0 -133
  295. package/front_end/panels/application/components/sharedStorageAccessGrid.css +0 -29
  296. package/front_end/panels/application/components/sharedStorageMetadataView.css +0 -29
  297. package/front_end/panels/application/sharedStorageEventsView.css +0 -9
  298. package/front_end/panels/network/OriginalResourceChunkView.ts +0 -340
  299. package/front_end/panels/network/originalResourceChunkView.css +0 -49
  300. package/front_end/ui/components/settings/SettingDeprecationWarning.ts +0 -47
  301. package/front_end/ui/components/settings/settingDeprecationWarning.css +0 -14
  302. /package/front_end/generated/{ARIAProperties.js → ARIAProperties.ts} +0 -0
@@ -0,0 +1,949 @@
1
+ // Copyright 2026 The Chromium Authors
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ /**
6
+ * Codes below are used to collect UMA histograms in the Chromium port.
7
+ * Do not change the values below, additional actions are needed on the Chromium side
8
+ * in order to add more codes.
9
+ *
10
+ * The numeric enum values are not necessarily continuous! It is possible that
11
+ * values have been removed, which results in gaps in the sequence of values.
12
+ * When adding a new value:
13
+ * 1. Add an entry to the bottom of the enum before 'MAX_VALUE'.
14
+ * 2. Set the value of the new entry to the current value of 'MAX_VALUE'.
15
+ * 2. Increment the value of 'MAX_VALUE' by 1.
16
+ * When removing a value which is no longer needed:
17
+ * 1. Delete the line with the unneeded value
18
+ * 2. Do not update any 'MAX_VALUE' or any other value.
19
+ **/
20
+ // LINT.IfChange(DevToolsMetrics)
21
+ export enum Action {
22
+ /* eslint-disable @typescript-eslint/naming-convention */
23
+ WindowDocked = 1,
24
+ WindowUndocked = 2,
25
+ ScriptsBreakpointSet = 3,
26
+ TimelineStarted = 4,
27
+ ProfilesCPUProfileTaken = 5,
28
+ ProfilesHeapProfileTaken = 6,
29
+ ConsoleEvaluated = 8,
30
+ FileSavedInWorkspace = 9,
31
+ DeviceModeEnabled = 10,
32
+ AnimationsPlaybackRateChanged = 11,
33
+ RevisionApplied = 12,
34
+ FileSystemDirectoryContentReceived = 13,
35
+ StyleRuleEdited = 14,
36
+ CommandEvaluatedInConsolePanel = 15,
37
+ DOMPropertiesExpanded = 16,
38
+ ResizedViewInResponsiveMode = 17,
39
+ TimelinePageReloadStarted = 18,
40
+ ConnectToNodeJSFromFrontend = 19,
41
+ ConnectToNodeJSDirectly = 20,
42
+ CpuThrottlingEnabled = 21,
43
+ CpuProfileNodeFocused = 22,
44
+ CpuProfileNodeExcluded = 23,
45
+ SelectFileFromFilePicker = 24,
46
+ SelectCommandFromCommandMenu = 25,
47
+ ChangeInspectedNodeInElementsPanel = 26,
48
+ StyleRuleCopied = 27,
49
+ CoverageStarted = 28,
50
+ LighthouseStarted = 29,
51
+ LighthouseFinished = 30,
52
+ ShowedThirdPartyBadges = 31,
53
+ LighthouseViewTrace = 32,
54
+ FilmStripStartedRecording = 33,
55
+ CoverageReportFiltered = 34,
56
+ CoverageStartedPerBlock = 35,
57
+ 'SettingsOpenedFromGear-deprecated' = 36,
58
+ 'SettingsOpenedFromMenu-deprecated' = 37,
59
+ 'SettingsOpenedFromCommandMenu-deprecated' = 38,
60
+ TabMovedToDrawer = 39,
61
+ TabMovedToMainPanel = 40,
62
+ CaptureCssOverviewClicked = 41,
63
+ VirtualAuthenticatorEnvironmentEnabled = 42,
64
+ SourceOrderViewActivated = 43,
65
+ UserShortcutAdded = 44,
66
+ ShortcutRemoved = 45,
67
+ ShortcutModified = 46,
68
+ CustomPropertyLinkClicked = 47,
69
+ CustomPropertyEdited = 48,
70
+ ServiceWorkerNetworkRequestClicked = 49,
71
+ ServiceWorkerNetworkRequestClosedQuickly = 50,
72
+ NetworkPanelServiceWorkerRespondWith = 51,
73
+ NetworkPanelCopyValue = 52,
74
+ ConsoleSidebarOpened = 53,
75
+ PerfPanelTraceImported = 54,
76
+ PerfPanelTraceExported = 55,
77
+ StackFrameRestarted = 56,
78
+ CaptureTestProtocolClicked = 57,
79
+ BreakpointRemovedFromRemoveButton = 58,
80
+ BreakpointGroupExpandedStateChanged = 59,
81
+ HeaderOverrideFileCreated = 60,
82
+ HeaderOverrideEnableEditingClicked = 61,
83
+ HeaderOverrideHeaderAdded = 62,
84
+ HeaderOverrideHeaderEdited = 63,
85
+ HeaderOverrideHeaderRemoved = 64,
86
+ HeaderOverrideHeadersFileEdited = 65,
87
+ PersistenceNetworkOverridesEnabled = 66,
88
+ PersistenceNetworkOverridesDisabled = 67,
89
+ BreakpointRemovedFromContextMenu = 68,
90
+ BreakpointsInFileRemovedFromRemoveButton = 69,
91
+ BreakpointsInFileRemovedFromContextMenu = 70,
92
+ BreakpointsInFileCheckboxToggled = 71,
93
+ BreakpointsInFileEnabledDisabledFromContextMenu = 72,
94
+ BreakpointConditionEditedFromSidebar = 73,
95
+ WorkspaceTabAddFolder = 74,
96
+ WorkspaceTabRemoveFolder = 75,
97
+ OverrideTabAddFolder = 76,
98
+ OverrideTabRemoveFolder = 77,
99
+ WorkspaceSourceSelected = 78,
100
+ OverridesSourceSelected = 79,
101
+ StyleSheetInitiatorLinkClicked = 80,
102
+ BreakpointRemovedFromGutterContextMenu = 81,
103
+ BreakpointRemovedFromGutterToggle = 82,
104
+ StylePropertyInsideKeyframeEdited = 83,
105
+ OverrideContentFromSourcesContextMenu = 84,
106
+ OverrideContentFromNetworkContextMenu = 85,
107
+ OverrideScript = 86,
108
+ OverrideStyleSheet = 87,
109
+ OverrideDocument = 88,
110
+ OverrideFetchXHR = 89,
111
+ OverrideImage = 90,
112
+ OverrideFont = 91,
113
+ OverrideContentContextMenuSetup = 92,
114
+ OverrideContentContextMenuAbandonSetup = 93,
115
+ OverrideContentContextMenuActivateDisabled = 94,
116
+ OverrideContentContextMenuOpenExistingFile = 95,
117
+ OverrideContentContextMenuSaveNewFile = 96,
118
+ ShowAllOverridesFromSourcesContextMenu = 97,
119
+ ShowAllOverridesFromNetworkContextMenu = 98,
120
+ AnimationGroupsCleared = 99,
121
+ AnimationsPaused = 100,
122
+ AnimationsResumed = 101,
123
+ AnimatedNodeDescriptionClicked = 102,
124
+ AnimationGroupScrubbed = 103,
125
+ AnimationGroupReplayed = 104,
126
+ OverrideTabDeleteFolderContextMenu = 105,
127
+ WorkspaceDropFolder = 107,
128
+ WorkspaceSelectFolder = 108,
129
+ OverrideContentContextMenuSourceMappedWarning = 109,
130
+ OverrideContentContextMenuRedirectToDeployed = 110,
131
+ NewStyleRuleAdded = 111,
132
+ TraceExpanded = 112,
133
+ InsightConsoleMessageShown = 113,
134
+ InsightRequestedViaContextMenu = 114,
135
+ InsightRequestedViaHoverButton = 115,
136
+ InsightRatedPositive = 117,
137
+ InsightRatedNegative = 118,
138
+ InsightClosed = 119,
139
+ InsightErrored = 120,
140
+ InsightHoverButtonShown = 121,
141
+ SelfXssWarningConsoleMessageShown = 122,
142
+ SelfXssWarningDialogShown = 123,
143
+ SelfXssAllowPastingInConsole = 124,
144
+ SelfXssAllowPastingInDialog = 125,
145
+ ToggleEmulateFocusedPageFromStylesPaneOn = 126,
146
+ ToggleEmulateFocusedPageFromStylesPaneOff = 127,
147
+ ToggleEmulateFocusedPageFromRenderingTab = 128,
148
+ ToggleEmulateFocusedPageFromCommandMenu = 129,
149
+ InsightGenerated = 130,
150
+ InsightErroredApi = 131,
151
+ InsightErroredMarkdown = 132,
152
+ ToggleShowWebVitals = 133,
153
+ InsightErroredPermissionDenied = 134,
154
+ InsightErroredCannotSend = 135,
155
+ InsightErroredRequestFailed = 136,
156
+ InsightErroredCannotParseChunk = 137,
157
+ InsightErroredUnknownChunk = 138,
158
+ InsightErroredOther = 139,
159
+ AutofillReceived = 140,
160
+ AutofillReceivedAndTabAutoOpened = 141,
161
+ AnimationGroupSelected = 142,
162
+ ScrollDrivenAnimationGroupSelected = 143,
163
+ ScrollDrivenAnimationGroupScrubbed = 144,
164
+ AiAssistanceOpenedFromElementsPanel = 145,
165
+ AiAssistanceOpenedFromStylesTab = 146,
166
+ ConsoleFilterByContext = 147,
167
+ ConsoleFilterBySource = 148,
168
+ ConsoleFilterByUrl = 149,
169
+ InsightConsentReminderShown = 150,
170
+ InsightConsentReminderCanceled = 151,
171
+ InsightConsentReminderConfirmed = 152,
172
+ InsightsOnboardingShown = 153,
173
+ InsightsOnboardingCanceledOnPage1 = 154,
174
+ InsightsOnboardingCanceledOnPage2 = 155,
175
+ InsightsOnboardingConfirmed = 156,
176
+ InsightsOnboardingNextPage = 157,
177
+ InsightsOnboardingPrevPage = 158,
178
+ InsightsOnboardingFeatureDisabled = 159,
179
+ InsightsOptInTeaserShown = 160,
180
+ InsightsOptInTeaserSettingsLinkClicked = 161,
181
+ InsightsOptInTeaserConfirmedInSettings = 162,
182
+ InsightsReminderTeaserShown = 163,
183
+ InsightsReminderTeaserConfirmed = 164,
184
+ InsightsReminderTeaserCanceled = 165,
185
+ InsightsReminderTeaserSettingsLinkClicked = 166,
186
+ InsightsReminderTeaserAbortedInSettings = 167,
187
+ GeneratingInsightWithoutDisclaimer = 168,
188
+ AiAssistanceOpenedFromElementsPanelFloatingButton = 169,
189
+ AiAssistanceOpenedFromNetworkPanel = 170,
190
+ AiAssistanceOpenedFromSourcesPanel = 171,
191
+ AiAssistanceOpenedFromSourcesPanelFloatingButton = 172,
192
+ AiAssistanceOpenedFromPerformancePanelCallTree = 173,
193
+ AiAssistanceOpenedFromNetworkPanelFloatingButton = 174,
194
+ AiAssistancePanelOpened = 175,
195
+ AiAssistanceQuerySubmitted = 176,
196
+ AiAssistanceAnswerReceived = 177,
197
+ AiAssistanceDynamicSuggestionClicked = 178,
198
+ AiAssistanceSideEffectConfirmed = 179,
199
+ AiAssistanceSideEffectRejected = 180,
200
+ AiAssistanceError = 181,
201
+ AiCodeCompletionResponseServedFromCache = 184,
202
+ AiCodeCompletionRequestTriggered = 185,
203
+ AiCodeCompletionSuggestionDisplayed = 186,
204
+ AiCodeCompletionSuggestionAccepted = 187,
205
+ AiCodeCompletionError = 188,
206
+ AttributeLinkClicked = 189,
207
+ InsightRequestedViaTeaser = 190,
208
+ InsightTeaserGenerationStarted = 191,
209
+ InsightTeaserGenerationCompleted = 192,
210
+ InsightTeaserGenerationAborted = 193,
211
+ InsightTeaserGenerationErrored = 194,
212
+ AiCodeGenerationSuggestionDisplayed = 195,
213
+ AiCodeGenerationSuggestionAccepted = 196,
214
+ InsightTeaserModelDownloadStarted = 197,
215
+ InsightTeaserModelDownloadCompleted = 198,
216
+ AiCodeGenerationError = 199,
217
+ AiCodeGenerationRequestTriggered = 200,
218
+ AiCodeCompletionRequestTriggeredFromConsole = 201,
219
+ AiCodeCompletionRequestTriggeredFromSources = 202,
220
+ AiCodeCompletionRequestTriggeredFromStyles = 203,
221
+ AiCodeGenerationRequestTriggeredFromConsole = 204,
222
+ AiCodeGenerationRequestTriggeredFromSources = 205,
223
+ AiCodeCompletionFreCompletedFromConsole = 206,
224
+ AiCodeCompletionFreCompletedFromSources = 207,
225
+ AiAssistanceOpenedFromApplicationPanelFloatingButton = 208,
226
+ AiAssistanceOpenedFromApplicationPanel = 209,
227
+ MAX_VALUE = 210,
228
+ /* eslint-enable @typescript-eslint/naming-convention */
229
+ }
230
+
231
+ export enum PanelCodes {
232
+ /* eslint-disable @typescript-eslint/naming-convention */
233
+ elements = 1,
234
+ resources = 2,
235
+ network = 3,
236
+ sources = 4,
237
+ timeline = 5,
238
+ 'heap-profiler' = 6,
239
+ console = 8,
240
+ layers = 9,
241
+ 'console-view' = 10,
242
+ animations = 11,
243
+ 'network.config' = 12,
244
+ rendering = 13,
245
+ sensors = 14,
246
+ 'sources.search' = 15,
247
+ security = 16,
248
+ 'js-profiler' = 17,
249
+ lighthouse = 18,
250
+ coverage = 19,
251
+ 'protocol-monitor' = 20,
252
+ 'remote-devices' = 21,
253
+ 'web-audio' = 22,
254
+ 'changes.changes' = 23,
255
+ 'performance.monitor' = 24,
256
+ 'release-note' = 25,
257
+
258
+ 'sources.quick' = 27,
259
+ 'network.blocked-urls' = 28,
260
+ 'settings-preferences' = 29,
261
+ 'settings-workspace' = 30,
262
+ 'settings-experiments' = 31,
263
+ 'settings-blackbox' = 32,
264
+ 'settings-devices' = 33,
265
+ 'settings-throttling-conditions' = 34,
266
+ 'settings-emulation-locations' = 35,
267
+ 'settings-shortcuts' = 36,
268
+ 'issues-pane' = 37,
269
+ 'settings-keybinds' = 38,
270
+ cssoverview = 39,
271
+ 'chrome-recorder' = 40,
272
+ 'trust-tokens' = 41,
273
+ 'reporting-api' = 42,
274
+ 'interest-groups' = 43,
275
+ 'back-forward-cache' = 44,
276
+ 'service-worker-cache' = 45,
277
+ 'background-service-background-fetch' = 46,
278
+ 'background-service-background-sync' = 47,
279
+ 'background-service-push-messaging' = 48,
280
+ 'background-service-notifications' = 49,
281
+ 'background-service-payment-handler' = 50,
282
+ 'background-service-periodic-background-sync' = 51,
283
+ 'service-workers' = 52,
284
+ 'app-manifest' = 53,
285
+ storage = 54,
286
+ cookies = 55,
287
+ 'frame-details' = 56,
288
+ 'frame-resource' = 57,
289
+ 'frame-window' = 58,
290
+ 'frame-worker' = 59,
291
+ 'dom-storage' = 60,
292
+ 'indexed-db' = 61,
293
+ 'web-sql' = 62,
294
+ 'performance-insights' = 63,
295
+ preloading = 64,
296
+ 'bounce-tracking-mitigations' = 65,
297
+ 'developer-resources' = 66,
298
+ 'autofill-view' = 67,
299
+ freestyler = 68,
300
+ ads = 69,
301
+ /* eslint-enable @typescript-eslint/naming-convention */
302
+ MAX_VALUE = 70,
303
+ }
304
+
305
+ export enum MediaTypes {
306
+ /* eslint-disable @typescript-eslint/naming-convention */
307
+ Unknown = 0,
308
+ 'text/css' = 2,
309
+ 'text/html' = 3,
310
+ 'application/xml' = 4,
311
+ 'application/wasm' = 5,
312
+ 'application/manifest+json' = 6,
313
+ 'application/x-aspx' = 7,
314
+ 'application/jsp' = 8,
315
+ 'text/x-c++src' = 9,
316
+ 'text/x-coffeescript' = 10,
317
+ 'application/vnd.dart' = 11,
318
+ 'text/typescript' = 12,
319
+ 'text/typescript-jsx' = 13,
320
+ 'application/json' = 14,
321
+ 'text/x-csharp' = 15,
322
+ 'text/x-java' = 16,
323
+ 'text/x-less' = 17,
324
+ 'application/x-httpd-php' = 18,
325
+ 'text/x-python' = 19,
326
+ 'text/x-sh' = 20,
327
+ 'text/x-gss' = 21,
328
+ 'text/x-sass' = 22,
329
+ 'text/x-scss' = 23,
330
+ 'text/markdown' = 24,
331
+ 'text/x-clojure' = 25,
332
+ 'text/jsx' = 26,
333
+ 'text/x-go' = 27,
334
+ 'text/x-kotlin' = 28,
335
+ 'text/x-scala' = 29,
336
+ 'text/x.svelte' = 30,
337
+ 'text/javascript+plain' = 31,
338
+ 'text/javascript+minified' = 32,
339
+ 'text/javascript+sourcemapped' = 33,
340
+ 'text/x.angular' = 34,
341
+ 'text/x.vue' = 35,
342
+ 'text/javascript+snippet' = 36,
343
+ 'text/javascript+eval' = 37, // Scripts resulting from console inputs or page "eval"s with no sourceUrl comment.
344
+ /* eslint-enable @typescript-eslint/naming-convention */
345
+ MAX_VALUE = 38,
346
+ }
347
+
348
+ export enum KeybindSetSettings {
349
+ /* eslint-disable @typescript-eslint/naming-convention */
350
+ devToolsDefault = 0,
351
+ vsCode = 1,
352
+ /* eslint-enable @typescript-eslint/naming-convention */
353
+ MAX_VALUE = 2,
354
+ }
355
+
356
+ export enum KeyboardShortcutAction {
357
+ /* eslint-disable @typescript-eslint/naming-convention */
358
+ OtherShortcut = 0,
359
+ 'quick-open.show-command-menu' = 1,
360
+ 'console.clear' = 2,
361
+ 'console.toggle' = 3,
362
+ 'debugger.step' = 4,
363
+ 'debugger.step-into' = 5,
364
+ 'debugger.step-out' = 6,
365
+ 'debugger.step-over' = 7,
366
+ 'debugger.toggle-breakpoint' = 8,
367
+ 'debugger.toggle-breakpoint-enabled' = 9,
368
+ 'debugger.toggle-pause' = 10,
369
+ 'elements.edit-as-html' = 11,
370
+ 'elements.hide-element' = 12,
371
+ 'elements.redo' = 13,
372
+ 'elements.toggle-element-search' = 14,
373
+ 'elements.undo' = 15,
374
+ 'main.search-in-panel.find' = 16,
375
+ 'main.toggle-drawer' = 17,
376
+ 'network.hide-request-details' = 18,
377
+ 'network.search' = 19,
378
+ 'network.toggle-recording' = 20,
379
+ 'quick-open.show' = 21,
380
+ 'settings.show' = 22,
381
+ 'sources.search' = 23,
382
+ 'background-service.toggle-recording' = 24,
383
+ 'components.collect-garbage' = 25,
384
+ 'console.clear.history' = 26,
385
+ 'console.create-pin' = 27,
386
+ 'coverage.start-with-reload' = 28,
387
+ 'coverage.toggle-recording' = 29,
388
+ 'debugger.breakpoint-input-window' = 30,
389
+ 'debugger.evaluate-selection' = 31,
390
+ 'debugger.next-call-frame' = 32,
391
+ 'debugger.previous-call-frame' = 33,
392
+ 'debugger.run-snippet' = 34,
393
+ 'debugger.toggle-breakpoints-active' = 35,
394
+ 'elements.capture-area-screenshot' = 36,
395
+ 'emulation.capture-full-height-screenshot' = 37,
396
+ 'emulation.capture-node-screenshot' = 38,
397
+ 'emulation.capture-screenshot' = 39,
398
+ 'emulation.show-sensors' = 40,
399
+ 'emulation.toggle-device-mode' = 41,
400
+ 'help.release-notes' = 42,
401
+ 'help.report-issue' = 43,
402
+ 'input.start-replaying' = 44,
403
+ 'input.toggle-pause' = 45,
404
+ 'input.toggle-recording' = 46,
405
+ 'inspector-main.focus-debuggee' = 47,
406
+ 'inspector-main.hard-reload' = 48,
407
+ 'inspector-main.reload' = 49,
408
+ 'main.debug-reload' = 52,
409
+ 'main.next-tab' = 53,
410
+ 'main.previous-tab' = 54,
411
+ 'main.search-in-panel.cancel' = 55,
412
+ 'main.search-in-panel.find-next' = 56,
413
+ 'main.search-in-panel.find-previous' = 57,
414
+ 'main.toggle-dock' = 58,
415
+ 'main.zoom-in' = 59,
416
+ 'main.zoom-out' = 60,
417
+ 'main.zoom-reset' = 61,
418
+ 'network-conditions.network-low-end-mobile' = 62,
419
+ 'network-conditions.network-mid-tier-mobile' = 63,
420
+ 'network-conditions.network-offline' = 64,
421
+ 'network-conditions.network-online' = 65,
422
+ 'profiler.heap-toggle-recording' = 66,
423
+ 'profiler.js-toggle-recording' = 67,
424
+ 'resources.clear' = 68,
425
+ 'settings.documentation' = 69,
426
+ 'settings.shortcuts' = 70,
427
+ 'sources.add-folder-to-workspace' = 71,
428
+ 'sources.add-to-watch' = 72,
429
+ 'sources.close-all' = 73,
430
+ 'sources.close-editor-tab' = 74,
431
+ 'sources.create-snippet' = 75,
432
+ 'sources.go-to-line' = 76,
433
+ 'sources.go-to-member' = 77,
434
+ 'sources.jump-to-next-location' = 78,
435
+ 'sources.jump-to-previous-location' = 79,
436
+ 'sources.rename' = 80,
437
+ 'sources.save' = 81,
438
+ 'sources.save-all' = 82,
439
+ 'sources.switch-file' = 83,
440
+ 'timeline.jump-to-next-frame' = 84,
441
+ 'timeline.jump-to-previous-frame' = 85,
442
+ 'timeline.load-from-file' = 86,
443
+ 'timeline.next-recording' = 87,
444
+ 'timeline.previous-recording' = 88,
445
+ 'timeline.record-reload' = 89,
446
+ 'timeline.save-to-file' = 90,
447
+ 'timeline.show-history' = 91,
448
+ 'timeline.toggle-recording' = 92,
449
+ 'sources.increment-css' = 93,
450
+ 'sources.increment-css-by-ten' = 94,
451
+ 'sources.decrement-css' = 95,
452
+ 'sources.decrement-css-by-ten' = 96,
453
+ 'layers.reset-view' = 97,
454
+ 'layers.pan-mode' = 98,
455
+ 'layers.rotate-mode' = 99,
456
+ 'layers.zoom-in' = 100,
457
+ 'layers.zoom-out' = 101,
458
+ 'layers.up' = 102,
459
+ 'layers.down' = 103,
460
+ 'layers.left' = 104,
461
+ 'layers.right' = 105,
462
+ 'help.report-translation-issue' = 106,
463
+ 'rendering.toggle-prefers-color-scheme' = 107,
464
+ 'chrome-recorder.start-recording' = 108,
465
+ 'chrome-recorder.replay-recording' = 109,
466
+ 'chrome-recorder.toggle-code-view' = 110,
467
+ 'chrome-recorder.copy-recording-or-step' = 111,
468
+ 'elements.new-style-rule' = 114,
469
+ 'elements.refresh-event-listeners' = 115,
470
+ 'coverage.clear' = 116,
471
+ 'coverage.export' = 117,
472
+ 'timeline.dim-third-parties' = 118,
473
+ 'main.toggle-drawer-orientation' = 119,
474
+ /* eslint-enable @typescript-eslint/naming-convention */
475
+ MAX_VALUE = 120,
476
+ }
477
+
478
+ /** Update DevToolsIssuesPanelOpenedFrom in tools/metrics/histograms/metadata/dev/enums.xml if new enum is added. **/
479
+ export enum IssueOpener {
480
+ CONSOLE_INFO_BAR = 0,
481
+ LEARN_MORE_LINK_COEP = 1,
482
+ STATUS_BAR_ISSUES_COUNTER = 2,
483
+ HAMBURGER_MENU = 3,
484
+ ADORNER = 4,
485
+ COMMAND_MENU = 5,
486
+ MORE_TOOLS_MENU = 6,
487
+ MAX_VALUE = 7,
488
+ }
489
+
490
+ /**
491
+ * This list should contain the currently active Devtools Experiments,
492
+ * gaps are expected.
493
+ */
494
+ export enum DevtoolsExperiments {
495
+ /* eslint-disable @typescript-eslint/naming-convention */
496
+ 'protocol-monitor' = 13,
497
+ 'instrumentation-breakpoints' = 61,
498
+ 'durable-messages' = 110,
499
+ 'jpeg-xl' = 111,
500
+ 'plus-button' = 112,
501
+ /* eslint-enable @typescript-eslint/naming-convention */
502
+
503
+ // Increment this when new experiments are added.
504
+ MAX_VALUE = 113,
505
+ }
506
+
507
+ /** Update DevToolsIssuesPanelIssueExpanded from tools/metrics/histograms/enums.xml if new enum is added. **/
508
+ export enum IssueExpanded {
509
+ /* eslint-disable @typescript-eslint/naming-convention */
510
+ CrossOriginEmbedderPolicy = 0,
511
+ MixedContent = 1,
512
+ SameSiteCookie = 2,
513
+ HeavyAd = 3,
514
+ ContentSecurityPolicy = 4,
515
+ Other = 5,
516
+ Generic = 6,
517
+ ThirdPartyPhaseoutCookie = 7,
518
+ GenericCookie = 8,
519
+ /* eslint-enable @typescript-eslint/naming-convention */
520
+ MAX_VALUE = 9,
521
+ }
522
+
523
+ export enum IssueResourceOpened {
524
+ /* eslint-disable @typescript-eslint/naming-convention */
525
+ CrossOriginEmbedderPolicyRequest = 0,
526
+ CrossOriginEmbedderPolicyElement = 1,
527
+ MixedContentRequest = 2,
528
+ SameSiteCookieCookie = 3,
529
+ SameSiteCookieRequest = 4,
530
+ HeavyAdElement = 5,
531
+ ContentSecurityPolicyDirective = 6,
532
+ ContentSecurityPolicyElement = 7,
533
+ /* eslint-enable @typescript-eslint/naming-convention */
534
+ MAX_VALUE = 13,
535
+ }
536
+
537
+ /**
538
+ * This list should contain the currently active issue types,
539
+ * gaps are expected.
540
+ */
541
+ export enum IssueCreated {
542
+ /* eslint-disable @typescript-eslint/naming-convention */
543
+ MixedContentIssue = 0,
544
+ 'ContentSecurityPolicyIssue::kInlineViolation' = 1,
545
+ 'ContentSecurityPolicyIssue::kEvalViolation' = 2,
546
+ 'ContentSecurityPolicyIssue::kURLViolation' = 3,
547
+ 'ContentSecurityPolicyIssue::kTrustedTypesSinkViolation' = 4,
548
+ 'ContentSecurityPolicyIssue::kTrustedTypesPolicyViolation' = 5,
549
+ 'HeavyAdIssue::NetworkTotalLimit' = 6,
550
+ 'HeavyAdIssue::CpuTotalLimit' = 7,
551
+ 'HeavyAdIssue::CpuPeakLimit' = 8,
552
+ 'CrossOriginEmbedderPolicyIssue::CoepFrameResourceNeedsCoepHeader' = 9,
553
+ 'CrossOriginEmbedderPolicyIssue::CoopSandboxedIFrameCannotNavigateToCoopPage' = 10,
554
+ 'CrossOriginEmbedderPolicyIssue::CorpNotSameOrigin' = 11,
555
+ 'CrossOriginEmbedderPolicyIssue::CorpNotSameOriginAfterDefaultedToSameOriginByCoep' = 12,
556
+ 'CrossOriginEmbedderPolicyIssue::CorpNotSameSite' = 13,
557
+ 'CookieIssue::ExcludeSameSiteNoneInsecure::ReadCookie' = 14,
558
+ 'CookieIssue::ExcludeSameSiteNoneInsecure::SetCookie' = 15,
559
+ 'CookieIssue::WarnSameSiteNoneInsecure::ReadCookie' = 16,
560
+ 'CookieIssue::WarnSameSiteNoneInsecure::SetCookie' = 17,
561
+ 'CookieIssue::ExcludeSameSiteUnspecifiedTreatedAsLax::ReadCookie' = 30,
562
+ 'CookieIssue::ExcludeSameSiteUnspecifiedTreatedAsLax::SetCookie' = 31,
563
+ 'CookieIssue::WarnSameSiteUnspecifiedLaxAllowUnsafe::ReadCookie' = 32,
564
+ 'CookieIssue::WarnSameSiteUnspecifiedLaxAllowUnsafe::SetCookie' = 33,
565
+ 'CookieIssue::WarnSameSiteUnspecifiedCrossSiteContext::ReadCookie' = 34,
566
+ 'CookieIssue::WarnSameSiteUnspecifiedCrossSiteContext::SetCookie' = 35,
567
+ 'SharedArrayBufferIssue::TransferIssue' = 36,
568
+ 'SharedArrayBufferIssue::CreationIssue' = 37,
569
+
570
+ 'CorsIssue::InsecureLocalNetwork' = 42,
571
+ 'CorsIssue::InvalidHeaders' = 44,
572
+ 'CorsIssue::WildcardOriginWithCredentials' = 45,
573
+ 'CorsIssue::PreflightResponseInvalid' = 46,
574
+ 'CorsIssue::OriginMismatch' = 47,
575
+ 'CorsIssue::AllowCredentialsRequired' = 48,
576
+ 'CorsIssue::MethodDisallowedByPreflightResponse' = 49,
577
+ 'CorsIssue::HeaderDisallowedByPreflightResponse' = 50,
578
+ 'CorsIssue::RedirectContainsCredentials' = 51,
579
+ 'CorsIssue::DisallowedByMode' = 52,
580
+ 'CorsIssue::CorsDisabledScheme' = 53,
581
+ 'CorsIssue::PreflightMissingAllowExternal' = 54,
582
+ 'CorsIssue::PreflightInvalidAllowExternal' = 55,
583
+ 'CorsIssue::NoCorsRedirectModeNotFollow' = 57,
584
+ 'QuirksModeIssue::QuirksMode' = 58,
585
+ 'QuirksModeIssue::LimitedQuirksMode' = 59,
586
+ DeprecationIssue = 60,
587
+ 'ClientHintIssue::MetaTagAllowListInvalidOrigin' = 61,
588
+ 'ClientHintIssue::MetaTagModifiedHTML' = 62,
589
+ 'GenericIssue::CrossOriginPortalPostMessageError' = 64,
590
+ 'GenericIssue::FormLabelForNameError' = 65,
591
+ 'GenericIssue::FormDuplicateIdForInputError' = 66,
592
+ 'GenericIssue::FormInputWithNoLabelError' = 67,
593
+ 'GenericIssue::FormAutocompleteAttributeEmptyError' = 68,
594
+ 'GenericIssue::FormEmptyIdAndNameAttributesForInputError' = 69,
595
+ 'GenericIssue::FormAriaLabelledByToNonExistingIdError' = 70,
596
+ 'GenericIssue::FormInputAssignedAutocompleteValueToIdOrNameAttributeError' = 71,
597
+ 'GenericIssue::FormLabelHasNeitherForNorNestedInputError' = 72,
598
+ 'GenericIssue::FormLabelForMatchesNonExistingIdError' = 73,
599
+ 'GenericIssue::FormHasPasswordFieldWithoutUsernameFieldError' = 74,
600
+ 'GenericIssue::FormInputHasWrongButWellIntendedAutocompleteValueError' = 75,
601
+ 'StylesheetLoadingIssue::LateImportRule' = 76,
602
+ 'StylesheetLoadingIssue::RequestFailed' = 77,
603
+ 'CookieIssue::WarnThirdPartyPhaseout::ReadCookie' = 82,
604
+ 'CookieIssue::WarnThirdPartyPhaseout::SetCookie' = 83,
605
+ 'CookieIssue::ExcludeThirdPartyPhaseout::ReadCookie' = 84,
606
+ 'CookieIssue::ExcludeThirdPartyPhaseout::SetCookie' = 85,
607
+ 'ElementAccessibilityIssue::DisallowedSelectChild' = 86,
608
+ 'ElementAccessibilityIssue::DisallowedOptGroupChild' = 87,
609
+ 'ElementAccessibilityIssue::NonPhrasingContentOptionChild' = 88,
610
+ 'ElementAccessibilityIssue::InteractiveContentOptionChild' = 89,
611
+ 'ElementAccessibilityIssue::InteractiveContentLegendChild' = 90,
612
+ 'SRIMessageSignatureIssue::MissingSignatureHeader' = 91,
613
+ 'SRIMessageSignatureIssue::MissingSignatureInputHeader' = 92,
614
+ 'SRIMessageSignatureIssue::InvalidSignatureHeader' = 93,
615
+ 'SRIMessageSignatureIssue::InvalidSignatureInputHeader' = 94,
616
+ 'SRIMessageSignatureIssue::SignatureHeaderValueIsNotByteSequence' = 95,
617
+ 'SRIMessageSignatureIssue::SignatureHeaderValueIsParameterized' = 96,
618
+ 'SRIMessageSignatureIssue::SignatureHeaderValueIsIncorrectLength' = 97,
619
+ 'SRIMessageSignatureIssue::SignatureInputHeaderMissingLabel' = 98,
620
+ 'SRIMessageSignatureIssue::SignatureInputHeaderValueNotInnerList' = 99,
621
+ 'SRIMessageSignatureIssue::SignatureInputHeaderValueMissingComponents' = 100,
622
+ 'SRIMessageSignatureIssue::SignatureInputHeaderInvalidComponentType' = 101,
623
+ 'SRIMessageSignatureIssue::SignatureInputHeaderInvalidComponentName' = 102,
624
+ 'SRIMessageSignatureIssue::SignatureInputHeaderInvalidHeaderComponentParameter' = 103,
625
+ 'SRIMessageSignatureIssue::SignatureInputHeaderInvalidDerivedComponentParameter' = 104,
626
+ 'SRIMessageSignatureIssue::SignatureInputHeaderKeyIdLength' = 105,
627
+ 'SRIMessageSignatureIssue::SignatureInputHeaderInvalidParameter' = 106,
628
+ 'SRIMessageSignatureIssue::SignatureInputHeaderMissingRequiredParameters' = 107,
629
+ 'SRIMessageSignatureIssue::ValidationFailedSignatureExpired' = 108,
630
+ 'SRIMessageSignatureIssue::ValidationFailedInvalidLength' = 109,
631
+ 'SRIMessageSignatureIssue::ValidationFailedSignatureMismatch' = 110,
632
+ 'CorsIssue::LocalNetworkAccessPermissionDenied' = 111,
633
+ 'SRIMessageSignatureIssue::ValidationFailedIntegrityMismatch' = 112,
634
+ 'ElementAccessibilityIssue::InteractiveContentSummaryDescendant' = 113,
635
+ 'CorsIssue::InvalidLocalNetworkAccess' = 114,
636
+ /* eslint-enable @typescript-eslint/naming-convention */
637
+ MAX_VALUE = 115,
638
+ }
639
+
640
+ export enum DeveloperResourceLoaded {
641
+ LOAD_THROUGH_PAGE_VIA_TARGET = 0,
642
+ /* LOAD_THROUGH_PAGE_VIA_FRAME = 1 was barely used */
643
+ LOAD_THROUGH_PAGE_FAILURE = 2,
644
+ LOAD_THROUGH_PAGE_FALLBACK = 3,
645
+ FALLBACK_AFTER_FAILURE = 4,
646
+ FALLBACK_PER_OVERRIDE = 5,
647
+ FALLBACK_PER_PROTOCOL = 6,
648
+ FALLBACK_FAILURE = 7,
649
+ MAX_VALUE = 8,
650
+ }
651
+
652
+ export enum DeveloperResourceScheme {
653
+ OTHER = 0,
654
+ UKNOWN = 1,
655
+ HTTP = 2,
656
+ HTTPS = 3,
657
+ HTTP_LOCALHOST = 4,
658
+ HTTPS_LOCALHOST = 5,
659
+ DATA = 6,
660
+ FILE = 7,
661
+ BLOB = 8,
662
+ MAX_VALUE = 9,
663
+ }
664
+
665
+ export enum Language {
666
+ /* eslint-disable @typescript-eslint/naming-convention */
667
+ af = 1,
668
+ am = 2,
669
+ ar = 3,
670
+ as = 4,
671
+ az = 5,
672
+ be = 6,
673
+ bg = 7,
674
+ bn = 8,
675
+ bs = 9,
676
+ ca = 10,
677
+ cs = 11,
678
+ cy = 12,
679
+ da = 13,
680
+ de = 14,
681
+ el = 15,
682
+ 'en-GB' = 16,
683
+ 'en-US' = 17,
684
+ 'es-419' = 18,
685
+ es = 19,
686
+ et = 20,
687
+ eu = 21,
688
+ fa = 22,
689
+ fi = 23,
690
+ fil = 24,
691
+ 'fr-CA' = 25,
692
+ fr = 26,
693
+ gl = 27,
694
+ gu = 28,
695
+ he = 29,
696
+ hi = 30,
697
+ hr = 31,
698
+ hu = 32,
699
+ hy = 33,
700
+ id = 34,
701
+ is = 35,
702
+ it = 36,
703
+ ja = 37,
704
+ ka = 38,
705
+ kk = 39,
706
+ km = 40,
707
+ kn = 41,
708
+ ko = 42,
709
+ ky = 43,
710
+ lo = 44,
711
+ lt = 45,
712
+ lv = 46,
713
+ mk = 47,
714
+ ml = 48,
715
+ mn = 49,
716
+ mr = 50,
717
+ ms = 51,
718
+ my = 52,
719
+ ne = 53,
720
+ nl = 54,
721
+ no = 55,
722
+ or = 56,
723
+ pa = 57,
724
+ pl = 58,
725
+ 'pt-PT' = 59,
726
+ pt = 60,
727
+ ro = 61,
728
+ ru = 62,
729
+ si = 63,
730
+ sk = 64,
731
+ sl = 65,
732
+ sq = 66,
733
+ 'sr-Latn' = 67,
734
+ sr = 68,
735
+ sv = 69,
736
+ sw = 70,
737
+ ta = 71,
738
+ te = 72,
739
+ th = 73,
740
+ tr = 74,
741
+ uk = 75,
742
+ ur = 76,
743
+ uz = 77,
744
+ vi = 78,
745
+ zh = 79,
746
+ 'zh-HK' = 80,
747
+ 'zh-TW' = 81,
748
+ zu = 82,
749
+ /* eslint-enable @typescript-eslint/naming-convention */
750
+ MAX_VALUE = 83,
751
+ }
752
+
753
+ export enum SyncSetting {
754
+ CHROME_SYNC_DISABLED = 1,
755
+ CHROME_SYNC_SETTINGS_DISABLED = 2,
756
+ DEVTOOLS_SYNC_SETTING_DISABLED = 3,
757
+ DEVTOOLS_SYNC_SETTING_ENABLED = 4,
758
+ MAX_VALUE = 5,
759
+ }
760
+
761
+ export enum RecordingToggled {
762
+ RECORDING_STARTED = 1,
763
+ RECORDING_FINISHED = 2,
764
+ MAX_VALUE = 3,
765
+ }
766
+
767
+ export enum RecordingAssertion {
768
+ ASSERTION_ADDED = 1,
769
+ PROPERTY_ASSERTION_EDITED = 2,
770
+ ATTRIBUTE_ASSERTION_EDITED = 3,
771
+ MAX_VALUE = 4,
772
+ }
773
+
774
+ export enum RecordingReplayFinished {
775
+ SUCCESS = 1,
776
+ TIMEOUT_ERROR_SELECTORS = 2,
777
+ TIMEOUT_ERROR_TARGET = 3,
778
+ OTHER_ERROR = 4,
779
+ MAX_VALUE = 5,
780
+ }
781
+
782
+ export enum RecordingReplaySpeed {
783
+ NORMAL = 1,
784
+ SLOW = 2,
785
+ VERY_SLOW = 3,
786
+ EXTREMELY_SLOW = 4,
787
+ MAX_VALUE = 5,
788
+ }
789
+
790
+ export enum RecordingReplayStarted {
791
+ REPLAY_ONLY = 1,
792
+ REPLAY_WITH_PERFORMANCE_TRACING = 2,
793
+ REPLAY_VIA_EXTENSION = 3,
794
+ MAX_VALUE = 4,
795
+ }
796
+
797
+ export enum RecordingEdited {
798
+ SELECTOR_PICKER_USED = 1,
799
+ STEP_ADDED = 2,
800
+ STEP_REMOVED = 3,
801
+ SELECTOR_ADDED = 4,
802
+ SELECTOR_REMOVED = 5,
803
+ SELECTOR_PART_ADDED = 6,
804
+ SELECTOR_PART_EDITED = 7,
805
+ SELECTOR_PART_REMOVED = 8,
806
+ TYPE_CHANGED = 9,
807
+ OTHER_EDITING = 10,
808
+ MAX_VALUE = 11,
809
+ }
810
+
811
+ export enum RecordingExported {
812
+ TO_PUPPETEER = 1,
813
+ TO_JSON = 2,
814
+ TO_PUPPETEER_REPLAY = 3,
815
+ TO_EXTENSION = 4,
816
+ TO_LIGHTHOUSE = 5,
817
+ MAX_VALUE = 6,
818
+ }
819
+
820
+ export enum RecordingCodeToggled {
821
+ CODE_SHOWN = 1,
822
+ CODE_HIDDEN = 2,
823
+ MAX_VALUE = 3,
824
+ }
825
+
826
+ export enum RecordingCopiedToClipboard {
827
+ COPIED_RECORDING_WITH_PUPPETEER = 1,
828
+ COPIED_RECORDING_WITH_JSON = 2,
829
+ COPIED_RECORDING_WITH_REPLAY = 3,
830
+ COPIED_RECORDING_WITH_EXTENSION = 4,
831
+ COPIED_STEP_WITH_PUPPETEER = 5,
832
+ COPIED_STEP_WITH_JSON = 6,
833
+ COPIED_STEP_WITH_REPLAY = 7,
834
+ COPIED_STEP_WITH_EXTENSION = 8,
835
+ MAX_VALUE = 9,
836
+ }
837
+
838
+ export enum ManifestSectionCodes {
839
+ /* eslint-disable @typescript-eslint/naming-convention -- Indexed access. */
840
+ OtherSection = 0,
841
+ Identity = 1,
842
+ Presentation = 2,
843
+ 'Protocol Handlers' = 3,
844
+ Icons = 4,
845
+ 'Window Controls Overlay' = 5,
846
+ /* eslint-enable @typescript-eslint/naming-convention */
847
+ MAX_VALUE = 6,
848
+ }
849
+
850
+ export enum LighthouseModeRun {
851
+ NAVIGATION = 0,
852
+ TIMESPAN = 1,
853
+ SNAPSHOT = 2,
854
+ LEGACY_NAVIGATION = 3,
855
+ MAX_VALUE = 4,
856
+ }
857
+
858
+ export enum LighthouseCategoryUsed {
859
+ PERFORMANCE = 0,
860
+ ACCESSIBILITY = 1,
861
+ BEST_PRACTICES = 2,
862
+ SEO = 3,
863
+ PWA = 4,
864
+ PUB_ADS = 5,
865
+ AGENTIC_BROWSING = 6,
866
+ MAX_VALUE = 7,
867
+ }
868
+
869
+ export enum SwatchType {
870
+ VAR_LINK = 0,
871
+ ANIMATION_NAME_LINK = 1,
872
+ COLOR = 2,
873
+ ANIMATION_TIMING = 3,
874
+ SHADOW = 4,
875
+ GRID = 5,
876
+ FLEX = 6,
877
+ ANGLE = 7,
878
+ LENGTH = 8,
879
+ POSITION_TRY_LINK = 10,
880
+ ATTR_LINK = 11,
881
+ GRID_LANES = 12,
882
+ MAX_VALUE = 13,
883
+ }
884
+
885
+ export enum BadgeType {
886
+ GRID = 0,
887
+ SUBGRID = 1,
888
+ FLEX = 2,
889
+ AD = 3,
890
+ SCROLL_SNAP = 4,
891
+ CONTAINER = 5,
892
+ SLOT = 6,
893
+ TOP_LAYER = 7,
894
+ REVEAL = 8,
895
+ MAX_VALUE = 9,
896
+ }
897
+
898
+ export enum AnimationsPlaybackRate {
899
+ PERCENT_100 = 0,
900
+ PERCENT_25 = 1,
901
+ PERCENT_10 = 2,
902
+ OTHER = 3,
903
+ MAX_VALUE = 4,
904
+ }
905
+
906
+ export enum TimelineNavigationSetting {
907
+ // Setting is set to classic when the first trace of the session is recorded or loaded.
908
+ CLASSIC_AT_SESSION_FIRST_TRACE = 0,
909
+ // Setting is set to modern when the first trace of the session is recorded or loaded.
910
+ MODERN_AT_SESSION_FIRST_TRACE = 1,
911
+ SWITCHED_TO_CLASSIC = 2,
912
+ SWITCHED_TO_MODERN = 3,
913
+ MAX_VALUE = 4,
914
+ }
915
+
916
+ export enum BuiltInAiAvailability {
917
+ UNAVAILABLE_HAS_GPU = 0,
918
+ DOWNLOADABLE_HAS_GPU = 1,
919
+ DOWNLOADING_HAS_GPU = 2,
920
+ AVAILABLE_HAS_GPU = 3,
921
+ DISABLED_HAS_GPU = 4,
922
+ UNAVAILABLE_NO_GPU = 5,
923
+ DOWNLOADABLE_NO_GPU = 6,
924
+ DOWNLOADING_NO_GPU = 7,
925
+ AVAILABLE_NO_GPU = 8,
926
+ DISABLED_NO_GPU = 9,
927
+ MAX_VALUE = 10,
928
+ }
929
+ export enum ResendRequestType {
930
+ XHR = 0,
931
+ FETCH = 1,
932
+ SCRIPT = 2,
933
+ STYLESHEET = 3,
934
+ IMAGE = 4,
935
+ MEDIA = 5,
936
+ FONT = 6,
937
+ WASM = 7,
938
+ MANIFEST = 8,
939
+ TEXT_TRACK = 9,
940
+ SOURCE_MAP_SCRIPT = 10,
941
+ SOURCE_MAP_STYLE_SHEET = 11,
942
+ DOCUMENT = 12,
943
+ PREFETCH = 13,
944
+ PING = 14,
945
+ OTHER = 15,
946
+ MAX_VALUE = 16,
947
+ }
948
+
949
+ // LINT.ThenChange(/front_end/devtools_compatibility.js)