chrome-devtools-frontend 1.0.937244 → 1.0.939066

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 (339) hide show
  1. package/.stylelintrc.json +15 -11
  2. package/config/gni/all_devtools_files.gni +0 -19
  3. package/config/gni/devtools_grd_files.gni +2 -9
  4. package/front_end/Images/whatsnew.avif +0 -0
  5. package/front_end/Tests.js +30 -30
  6. package/front_end/core/host/InspectorFrontendHost.ts +16 -30
  7. package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -0
  8. package/front_end/core/host/UserMetrics.ts +25 -0
  9. package/front_end/core/i18n/locales/en-US.json +4 -1
  10. package/front_end/core/i18n/locales/en-XL.json +4 -1
  11. package/front_end/core/platform/string-utilities.ts +23 -0
  12. package/front_end/core/sdk/DOMModel.ts +1 -1
  13. package/front_end/core/sdk/EmulationModel.ts +11 -0
  14. package/front_end/core/sdk/NetworkManager.ts +1 -0
  15. package/front_end/core/sdk/sdk-meta.ts +30 -1
  16. package/front_end/entrypoints/devtools_app/devtools_app.json +0 -4
  17. package/front_end/entrypoints/inspector_main/RenderingOptions.ts +9 -2
  18. package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +0 -3
  19. package/front_end/entrypoints/inspector_main/renderingOptions.css +2 -2
  20. package/front_end/entrypoints/lighthouse_worker/LighthouseService.ts +3 -1
  21. package/front_end/entrypoints/main/MainImpl.ts +15 -0
  22. package/front_end/entrypoints/main/main-meta.ts +0 -2
  23. package/front_end/entrypoints/node_app/node_app-meta.ts +0 -3
  24. package/front_end/entrypoints/node_app/node_app.js +3 -0
  25. package/front_end/entrypoints/node_main/nodeConnectionsPanel.css +2 -2
  26. package/front_end/entrypoints/shell/shell.json +3 -7
  27. package/front_end/entrypoints/worker_app/worker_app.json +0 -2
  28. package/front_end/generated/InspectorBackendCommands.js +14 -5
  29. package/front_end/generated/SupportedCSSProperties.js +8 -4
  30. package/front_end/generated/protocol-mapping.d.ts +10 -0
  31. package/front_end/generated/protocol-proxy-api.d.ts +19 -0
  32. package/front_end/generated/protocol.d.ts +56 -1
  33. package/front_end/legacy_test_runner/test_runner/test_runner.js +2 -4
  34. package/front_end/models/issues_manager/DeprecationIssue.ts +67 -0
  35. package/front_end/models/issues_manager/IssuesManager.ts +5 -0
  36. package/front_end/models/issues_manager/descriptions/deprecation.md +3 -0
  37. package/front_end/models/issues_manager/issues_manager.ts +2 -0
  38. package/front_end/models/persistence/editFileSystemView.css +1 -1
  39. package/front_end/models/persistence/workspaceSettingsTab.css +1 -1
  40. package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +8 -1
  41. package/front_end/panels/accessibility/accessibility-meta.ts +0 -3
  42. package/front_end/panels/accessibility/accessibilityNode.css +2 -2
  43. package/front_end/panels/accessibility/axBreadcrumbs.css +1 -1
  44. package/front_end/panels/animation/animationTimeline.css +5 -5
  45. package/front_end/panels/application/components/ReportsGrid.ts +38 -4
  46. package/front_end/panels/application/components/frameDetailsReportView.css +1 -1
  47. package/front_end/panels/application/components/reportingApiGrid.css +4 -0
  48. package/front_end/panels/application/module.json +1 -3
  49. package/front_end/panels/application/resourcesPanel.css +1 -1
  50. package/front_end/panels/application/resourcesSidebar.css +1 -1
  51. package/front_end/panels/browser_debugger/browser_debugger-meta.ts +0 -5
  52. package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +2 -5
  53. package/front_end/panels/changes/changesSidebar.css +1 -1
  54. package/front_end/panels/changes/changesView.css +2 -2
  55. package/front_end/panels/console/console-meta.ts +1 -3
  56. package/front_end/panels/console/consolePrompt.css +1 -1
  57. package/front_end/panels/console/consoleSidebar.css +4 -4
  58. package/front_end/panels/console/consoleView.css +2 -2
  59. package/front_end/panels/coverage/coverage-meta.ts +0 -3
  60. package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +18 -17
  61. package/front_end/panels/css_overview/CSSOverviewPanel.ts +31 -10
  62. package/front_end/panels/css_overview/components/cssOverviewStartView.css +1 -1
  63. package/front_end/panels/css_overview/cssOverviewCompletedView.css +8 -8
  64. package/front_end/panels/elements/StylePropertyTreeElement.ts +3 -0
  65. package/front_end/panels/elements/classesPaneWidget.css +1 -1
  66. package/front_end/panels/elements/components/adornerSettingsPane.css +1 -1
  67. package/front_end/panels/elements/computedStyleWidgetTree.css +1 -1
  68. package/front_end/panels/elements/elements-meta.ts +0 -2
  69. package/front_end/panels/elements/elementsPanel.css +1 -1
  70. package/front_end/panels/elements/elementsTreeOutline.css +1 -1
  71. package/front_end/panels/elements/layoutPane.css +1 -1
  72. package/front_end/panels/elements/platformFontsWidget.css +1 -1
  73. package/front_end/panels/elements/stylesSectionTree.css +1 -1
  74. package/front_end/panels/elements/stylesSidebarPane.css +8 -0
  75. package/front_end/panels/event_listeners/EventListenersView.ts +5 -4
  76. package/front_end/panels/event_listeners/eventListenersView.css +3 -2
  77. package/front_end/panels/help/ReleaseNoteText.ts +28 -0
  78. package/front_end/panels/issues/IssueKindView.ts +0 -6
  79. package/front_end/panels/issues/IssueView.ts +19 -27
  80. package/front_end/panels/issues/components/HideIssuesMenu.ts +7 -11
  81. package/front_end/panels/issues/components/hideIssuesMenu.css +8 -0
  82. package/front_end/panels/issues/issuesTree.css +28 -5
  83. package/front_end/panels/lighthouse/lighthouseStartView.css +2 -2
  84. package/front_end/panels/lighthouse/module.json +0 -1
  85. package/front_end/panels/media/module.json +0 -1
  86. package/front_end/panels/media/playerListView.css +1 -1
  87. package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +1 -1
  88. package/front_end/panels/network/NetworkSearchScope.ts +3 -1
  89. package/front_end/panels/network/blockedURLsPane.css +1 -1
  90. package/front_end/panels/network/module.json +0 -1
  91. package/front_end/panels/network/networkConfigView.css +1 -1
  92. package/front_end/panels/network/networkLogView.css +3 -3
  93. package/front_end/panels/profiler/profileLauncherView.css +3 -3
  94. package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +3 -0
  95. package/front_end/panels/protocol_monitor/protocol_monitor-meta.ts +0 -2
  96. package/front_end/panels/security/mainView.css +2 -2
  97. package/front_end/panels/security/originView.css +1 -1
  98. package/front_end/panels/sensors/sensors.css +2 -2
  99. package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +1 -1
  100. package/front_end/panels/settings/emulation/devicesSettingsTab.css +4 -4
  101. package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +1 -1
  102. package/front_end/panels/settings/settingsScreen.css +2 -2
  103. package/front_end/panels/sources/CoveragePlugin.ts +7 -2
  104. package/front_end/panels/sources/JavaScriptBreakpointsSidebarPane.ts +14 -17
  105. package/front_end/panels/sources/callStackSidebarPane.css +1 -1
  106. package/front_end/panels/sources/dialog.css +1 -1
  107. package/front_end/panels/sources/javaScriptBreakpointsSidebarPane.css +19 -45
  108. package/front_end/panels/sources/navigatorTree.css +4 -4
  109. package/front_end/panels/sources/sources-meta.ts +0 -2
  110. package/front_end/panels/sources/sourcesPanel.css +2 -2
  111. package/front_end/panels/sources/threadsSidebarPane.css +1 -1
  112. package/front_end/panels/timeline/components/WebVitalsTooltip.css +1 -1
  113. package/front_end/panels/timeline/historyToolbarButton.css +1 -1
  114. package/front_end/panels/timeline/module.json +0 -1
  115. package/front_end/panels/timeline/timelineStatusDialog.css +1 -1
  116. package/front_end/panels/webauthn/webauthnPane.css +2 -2
  117. package/front_end/third_party/puppeteer/package/CHANGELOG.md +29 -0
  118. package/front_end/third_party/puppeteer/package/README.md +12 -14
  119. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +2 -0
  120. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
  121. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js +13 -5
  122. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
  123. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +2 -2
  124. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  125. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +10 -1
  126. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
  127. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +25 -7
  128. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
  129. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +6 -6
  130. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
  131. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts +3 -1
  132. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -1
  133. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js +16 -12
  134. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -1
  135. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js +2 -2
  136. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
  137. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +10 -1
  138. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
  139. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +9 -1
  140. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
  141. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js +1 -1
  142. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -1
  143. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js +8 -8
  144. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
  145. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js +2 -2
  146. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
  147. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +21 -9
  148. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
  149. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +155 -72
  150. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
  151. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +5 -0
  152. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  153. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +32 -29
  154. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
  155. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  156. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +14 -4
  157. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
  158. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +2 -3
  159. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
  160. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js +3 -4
  161. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js.map +1 -1
  162. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +3 -3
  163. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
  164. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +13 -12
  165. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
  166. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +1 -1
  167. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
  168. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
  169. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js +2 -5
  170. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
  171. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +33 -4
  172. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
  173. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +92 -46
  174. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
  175. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js +5 -5
  176. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
  177. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +3 -1
  178. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
  179. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +3 -2
  180. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
  181. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts +21 -0
  182. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +1 -0
  183. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js +30 -0
  184. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js.map +1 -0
  185. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js +1 -1
  186. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
  187. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js +5 -5
  188. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js.map +1 -1
  189. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +14 -14
  190. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
  191. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  192. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js +11 -5
  193. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
  194. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts +4 -0
  195. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
  196. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
  197. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js +30 -15
  198. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
  199. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +1 -1
  200. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
  201. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +2 -2
  202. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js.map +1 -1
  203. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js +1 -1
  204. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js.map +1 -1
  205. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js +1 -1
  206. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js.map +1 -1
  207. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js +1 -1
  208. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js.map +1 -1
  209. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +2 -0
  210. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
  211. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js +9 -1
  212. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js.map +1 -1
  213. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +10 -1
  214. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
  215. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +22 -4
  216. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
  217. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts +3 -1
  218. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -1
  219. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js +6 -2
  220. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js.map +1 -1
  221. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +10 -1
  222. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
  223. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +7 -0
  224. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
  225. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +21 -9
  226. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
  227. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +150 -68
  228. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
  229. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +5 -0
  230. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
  231. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +22 -19
  232. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
  233. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
  234. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +15 -4
  235. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
  236. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +2 -3
  237. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
  238. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js +2 -3
  239. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js.map +1 -1
  240. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +3 -3
  241. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
  242. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +2 -1
  243. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
  244. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
  245. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js +1 -4
  246. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
  247. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +33 -4
  248. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
  249. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +69 -23
  250. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js.map +1 -1
  251. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +3 -1
  252. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
  253. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +3 -2
  254. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
  255. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts +21 -0
  256. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts.map +1 -0
  257. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js +26 -0
  258. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js.map +1 -0
  259. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js +1 -1
  260. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js.map +1 -1
  261. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +1 -1
  262. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
  263. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
  264. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js +7 -1
  265. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
  266. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts +4 -0
  267. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
  268. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
  269. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js +27 -12
  270. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +1 -1
  271. package/front_end/third_party/puppeteer/package/lib/types.d.ts +3862 -3771
  272. package/front_end/third_party/puppeteer/package/package.json +33 -40
  273. package/front_end/ui/components/adorners/adorner.css +1 -1
  274. package/front_end/ui/components/data_grid/DataGrid.ts +3 -1
  275. package/front_end/ui/components/data_grid/DataGridUtils.ts +8 -5
  276. package/front_end/ui/components/data_grid/dataGrid.css +0 -5
  277. package/front_end/ui/components/expandable_list/expandableList.css +1 -1
  278. package/front_end/ui/components/icon_button/iconButton.css +1 -0
  279. package/front_end/ui/components/linear_memory_inspector/valueInterpreterDisplay.css +1 -2
  280. package/front_end/ui/components/linear_memory_inspector/valueInterpreterSettings.css +1 -1
  281. package/front_end/ui/components/report_view/reportKey.css +1 -1
  282. package/front_end/ui/components/report_view/reportValue.css +1 -1
  283. package/front_end/ui/components/settings/settingCheckbox.css +1 -1
  284. package/front_end/ui/legacy/ContextMenu.ts +10 -3
  285. package/front_end/ui/legacy/ListWidget.ts +2 -4
  286. package/front_end/ui/legacy/SoftContextMenu.ts +9 -2
  287. package/front_end/ui/legacy/XLink.ts +6 -6
  288. package/front_end/ui/legacy/checkboxTextLabel.css +2 -2
  289. package/front_end/ui/legacy/components/color_picker/spectrum.css +9 -9
  290. package/front_end/ui/legacy/components/data_grid/dataGrid.css +2 -2
  291. package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +3 -3
  292. package/front_end/ui/legacy/components/inline_editor/cssLength.css +1 -1
  293. package/front_end/ui/legacy/components/inline_editor/cssShadowEditor.css +1 -1
  294. package/front_end/ui/legacy/components/inline_editor/fontEditor.css +1 -1
  295. package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -2
  296. package/front_end/ui/legacy/components/perf_ui/module.json +1 -3
  297. package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +13 -7
  298. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
  299. package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
  300. package/front_end/ui/legacy/components/source_frame/module.json +0 -1
  301. package/front_end/ui/legacy/components/text_editor/cmdevtools.css +6 -14
  302. package/front_end/ui/legacy/emptyWidget.css +1 -1
  303. package/front_end/ui/legacy/filter.css +1 -1
  304. package/front_end/ui/legacy/infobar.css +2 -2
  305. package/front_end/ui/legacy/inspectorCommon.css +46 -46
  306. package/front_end/ui/legacy/inspectorSyntaxHighlight.css +4 -4
  307. package/front_end/ui/legacy/inspectorSyntaxHighlightDark.css +1 -1
  308. package/front_end/ui/legacy/inspectorViewTabbedPane.css +1 -1
  309. package/front_end/ui/legacy/searchableView.css +1 -1
  310. package/front_end/ui/legacy/softContextMenu.css +11 -1
  311. package/front_end/ui/legacy/tabbedPane.css +5 -0
  312. package/front_end/ui/legacy/textPrompt.css +1 -1
  313. package/front_end/ui/legacy/themeColors.css +1 -0
  314. package/front_end/ui/legacy/toolbar.css +8 -8
  315. package/front_end/ui/legacy/treeoutline.css +20 -4
  316. package/front_end/ui/legacy/viewContainers.css +6 -1
  317. package/inspector_overlay/common.css +2 -2
  318. package/inspector_overlay/tool_highlight.css +1 -1
  319. package/inspector_overlay/tool_paused.css +2 -2
  320. package/package.json +1 -1
  321. package/scripts/build/ninja/copy-file.js +10 -1
  322. package/scripts/build/ninja/copy-files.js +10 -1
  323. package/scripts/eslint_rules/lib/check_test_definitions.js +2 -1
  324. package/scripts/eslint_rules/lib/es_modules_import.js +21 -20
  325. package/scripts/eslint_rules/lib/l10n_filename_matches.js +4 -3
  326. package/scripts/eslint_rules/lib/migrate_create_shadow_root_with_styles.js +2 -2
  327. package/scripts/eslint_rules/lib/migrate_register_required_css.js +1 -1
  328. package/scripts/eslint_rules/tests/check_test_definitions_test.js +34 -0
  329. package/scripts/eslint_rules/tests/es_modules_import_test.js +3 -2
  330. package/scripts/eslint_rules/tests/migrate_create_shadow_root_with_styles_test.js +1 -1
  331. package/scripts/eslint_rules/tests/migrate_register_required_css_test.js +1 -1
  332. package/front_end/entrypoints/inspector_main/module.json +0 -9
  333. package/front_end/panels/accessibility/module.json +0 -7
  334. package/front_end/panels/browser_debugger/module.json +0 -7
  335. package/front_end/panels/console/module.json +0 -6
  336. package/front_end/panels/coverage/module.json +0 -6
  337. package/front_end/panels/elements/module.json +0 -6
  338. package/front_end/panels/protocol_monitor/module.json +0 -6
  339. package/front_end/panels/sources/module.json +0 -7
@@ -29,6 +29,8 @@ class LighthousePort {
29
29
  send(message: string): void {
30
30
  notifyFrontendViaWorkerMessage('sendProtocolMessage', {message});
31
31
  }
32
+ close(): void {
33
+ }
32
34
  }
33
35
 
34
36
  const port = new LighthousePort();
@@ -59,7 +61,7 @@ async function start(params: any): Promise<unknown> {
59
61
  const url = params.url;
60
62
 
61
63
  // @ts-expect-error https://github.com/GoogleChrome/lighthouse/issues/11628
62
- return self.runLighthouse(url, flags, config, connection);
64
+ return await self.runLighthouse(url, flags, config, connection);
63
65
  } catch (err) {
64
66
  return ({
65
67
  fatal: true,
@@ -47,6 +47,7 @@ import * as Persistence from '../../models/persistence/persistence.js';
47
47
  import * as Workspace from '../../models/workspace/workspace.js';
48
48
  import * as Snippets from '../../panels/snippets/snippets.js';
49
49
  import * as Timeline from '../../panels/timeline/timeline.js';
50
+ import * as IconButton from '../../ui/components/icon_button/icon_button.js';
50
51
  import * as PerfUI from '../../ui/legacy/components/perf_ui/perf_ui.js';
51
52
  import * as Components from '../../ui/legacy/components/utils/utils.js';
52
53
  import * as UI from '../../ui/legacy/legacy.js';
@@ -147,6 +148,9 @@ export class MainImpl {
147
148
  console.timeStamp('Main._gotPreferences');
148
149
  this.createSettings(prefs);
149
150
  await this.requestAndRegisterLocaleData();
151
+
152
+ Host.userMetrics.syncSetting(Common.Settings.Settings.instance().moduleSetting<boolean>('sync_preferences').get());
153
+
150
154
  this.createAppUI();
151
155
  }
152
156
 
@@ -337,6 +341,7 @@ export class MainImpl {
337
341
  'hideIssuesFeature',
338
342
  'bfcacheDebugging',
339
343
  'cssTypeComponentLength',
344
+ Root.Runtime.ExperimentName.SYNC_SETTINGS,
340
345
  ]);
341
346
 
342
347
  Root.Runtime.experiments.cleanUpStaleExperiments();
@@ -872,6 +877,16 @@ export class MainMenuItem implements UI.Toolbar.Provider {
872
877
  if (location !== 'drawer-view' && location !== 'panel') {
873
878
  continue;
874
879
  }
880
+
881
+ if (viewExtension.isPreviewFeature()) {
882
+ const previewIcon = new IconButton.Icon.Icon();
883
+ previewIcon.data = {iconName: 'ic_preview_feature', color: 'var(--icon-color)', width: '14px', height: '14px'};
884
+ moreTools.defaultSection().appendItem(title, () => {
885
+ UI.ViewManager.ViewManager.instance().showView(id, true, false);
886
+ }, /* disabled=*/ false, previewIcon);
887
+ continue;
888
+ }
889
+
875
890
  moreTools.defaultSection().appendItem(title, () => {
876
891
  UI.ViewManager.ViewManager.instance().showView(id, true, false);
877
892
  });
@@ -237,8 +237,6 @@ async function loadMainModule(): Promise<typeof Main> {
237
237
 
238
238
  async function loadInspectorMainModule(): Promise<typeof InspectorMain> {
239
239
  if (!loadedInspectorMainModule) {
240
- // Side-effect import resources in module.json
241
- await Root.Runtime.Runtime.instance().loadModulePromise('entrypoints/inspector_main');
242
240
  loadedInspectorMainModule = await import('../inspector_main/inspector_main.js');
243
241
  }
244
242
  return loadedInspectorMainModule;
@@ -3,7 +3,6 @@
3
3
  // found in the LICENSE file.
4
4
 
5
5
  import * as i18n from '../../core/i18n/i18n.js';
6
- import * as Root from '../../core/root/root.js';
7
6
  import * as UI from '../../ui/legacy/legacy.js';
8
7
 
9
8
  // eslint-disable-next-line rulesdir/es_modules_import
@@ -27,8 +26,6 @@ let loadedSourcesModule: (typeof Sources|undefined);
27
26
 
28
27
  async function loadHelpModule(): Promise<typeof Sources> {
29
28
  if (!loadedSourcesModule) {
30
- // Side-effect import resources in module.json
31
- await Root.Runtime.Runtime.instance().loadModulePromise('sources');
32
29
  loadedSourcesModule = await import('../../panels/sources/sources.js');
33
30
  }
34
31
  return loadedSourcesModule;
@@ -7,4 +7,7 @@ import '../node_main/node_main-meta.js';
7
7
  import './node_app-meta.js';
8
8
  import * as Startup from '../startup/startup.js'; // eslint-disable-line rulesdir/es_modules_import
9
9
 
10
+ // Side-effect start the `node_main` module, which implements runnables in
11
+ // the NodeMain class
12
+ await import('../node_main/node_main.js');
10
13
  Startup.RuntimeInstantiator.startApplication('node_app');
@@ -13,7 +13,7 @@
13
13
  flex: none;
14
14
  max-width: 600px;
15
15
  max-height: 202px;
16
- margin: 20px 0 5px 0;
16
+ margin: 20px 0 5px;
17
17
  }
18
18
 
19
19
  .network-discovery-list-empty {
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
  .network-discovery-list-item {
28
- padding: 3px 5px 3px 5px;
28
+ padding: 3px 5px;
29
29
  height: 30px;
30
30
  display: flex;
31
31
  align-items: center;
@@ -2,14 +2,10 @@
2
2
  "modules": [
3
3
  { "name": "entrypoints/main", "type": "autostart" },
4
4
  { "name": "ui/legacy", "type": "autostart" },
5
+ { "name": "ui/legacy/components/text_editor", "type": "autostart" },
6
+ { "name": "ui/legacy/components/source_frame", "type": "autostart" },
5
7
 
6
- { "name": "panels/console" },
7
- { "name": "panels/coverage" },
8
8
  { "name": "ui/legacy/components/perf_ui" },
9
- { "name": "panels/profiler" },
10
- { "name": "panels/protocol_monitor"},
11
- { "name": "ui/legacy/components/source_frame" },
12
- { "name": "panels/sources" },
13
- { "name": "ui/legacy/components/text_editor" }
9
+ { "name": "panels/profiler" }
14
10
  ]
15
11
  }
@@ -1,7 +1,5 @@
1
1
  {
2
2
  "modules" : [
3
- { "name": "panels/browser_debugger" },
4
- { "name": "panels/elements" },
5
3
  { "name": "panels/issues" },
6
4
  { "name": "panels/layer_viewer" },
7
5
  { "name": "panels/network" },
@@ -276,7 +276,8 @@ export function registerCommands(inspectorBackend) {
276
276
  QuirksModeIssue: 'QuirksModeIssue',
277
277
  NavigatorUserAgentIssue: 'NavigatorUserAgentIssue',
278
278
  WasmCrossOriginModuleSharingIssue: 'WasmCrossOriginModuleSharingIssue',
279
- GenericIssue: 'GenericIssue'
279
+ GenericIssue: 'GenericIssue',
280
+ DeprecationIssue: 'DeprecationIssue'
280
281
  });
281
282
  inspectorBackend.registerEvent('Audits.issueAdded', ['issue']);
282
283
  inspectorBackend.registerEnum('Audits.GetEncodedResponseRequestEncoding', {Webp: 'webp', Jpeg: 'jpeg', Png: 'png'});
@@ -890,6 +891,14 @@ export function registerCommands(inspectorBackend) {
890
891
  inspectorBackend.registerCommand(
891
892
  'DOMDebugger.setXHRBreakpoint', [{'name': 'url', 'type': 'string', 'optional': false}], []);
892
893
 
894
+ // EventBreakpoints.
895
+ inspectorBackend.registerCommand(
896
+ 'EventBreakpoints.setInstrumentationBreakpoint', [{'name': 'eventName', 'type': 'string', 'optional': false}],
897
+ []);
898
+ inspectorBackend.registerCommand(
899
+ 'EventBreakpoints.removeInstrumentationBreakpoint', [{'name': 'eventName', 'type': 'string', 'optional': false}],
900
+ []);
901
+
893
902
  // DOMSnapshot.
894
903
  inspectorBackend.registerCommand('DOMSnapshot.disable', [], []);
895
904
  inspectorBackend.registerCommand('DOMSnapshot.enable', [], []);
@@ -1630,13 +1639,14 @@ export function registerCommands(inspectorBackend) {
1630
1639
  ]);
1631
1640
  inspectorBackend.registerEvent('Network.requestServedFromCache', ['requestId']);
1632
1641
  inspectorBackend.registerEvent('Network.requestWillBeSent', [
1633
- 'requestId', 'loaderId', 'documentURL', 'request', 'timestamp', 'wallTime', 'initiator', 'redirectResponse', 'type',
1634
- 'frameId', 'hasUserGesture'
1642
+ 'requestId', 'loaderId', 'documentURL', 'request', 'timestamp', 'wallTime', 'initiator', 'redirectHasExtraInfo',
1643
+ 'redirectResponse', 'type', 'frameId', 'hasUserGesture'
1635
1644
  ]);
1636
1645
  inspectorBackend.registerEvent('Network.resourceChangedPriority', ['requestId', 'newPriority', 'timestamp']);
1637
1646
  inspectorBackend.registerEvent('Network.signedExchangeReceived', ['requestId', 'info']);
1638
1647
  inspectorBackend.registerEvent(
1639
- 'Network.responseReceived', ['requestId', 'loaderId', 'timestamp', 'type', 'response', 'frameId']);
1648
+ 'Network.responseReceived',
1649
+ ['requestId', 'loaderId', 'timestamp', 'type', 'response', 'hasExtraInfo', 'frameId']);
1640
1650
  inspectorBackend.registerEvent('Network.webSocketClosed', ['requestId', 'timestamp']);
1641
1651
  inspectorBackend.registerEvent('Network.webSocketCreated', ['requestId', 'url', 'initiator']);
1642
1652
  inspectorBackend.registerEvent('Network.webSocketFrameError', ['requestId', 'timestamp', 'errorMessage']);
@@ -2176,7 +2186,6 @@ export function registerCommands(inspectorBackend) {
2176
2186
  ContentWebUSB: 'ContentWebUSB',
2177
2187
  ContentMediaSession: 'ContentMediaSession',
2178
2188
  ContentMediaSessionService: 'ContentMediaSessionService',
2179
- ContentMediaPlay: 'ContentMediaPlay',
2180
2189
  EmbedderPopupBlockerTabHelper: 'EmbedderPopupBlockerTabHelper',
2181
2190
  EmbedderSafeBrowsingTriggeredPopupBlocker: 'EmbedderSafeBrowsingTriggeredPopupBlocker',
2182
2191
  EmbedderSafeBrowsingThreatDetails: 'EmbedderSafeBrowsingThreatDetails',
@@ -489,7 +489,7 @@ export const generatedProperties = [
489
489
  },
490
490
  {'name': 'font-variation-settings', 'inherited': true, 'keywords': ['normal']},
491
491
  {'name': 'font-weight', 'inherited': true, 'keywords': ['normal', 'bold', 'bolder', 'lighter']},
492
- {'name': 'forced-color-adjust', 'inherited': true, 'keywords': ['auto', 'none']},
492
+ {'name': 'forced-color-adjust', 'inherited': true, 'keywords': ['auto', 'none', 'preserve-parent-color']},
493
493
  {'longhands': ['row-gap', 'column-gap'], 'name': 'gap'},
494
494
  {
495
495
  'longhands': [
@@ -764,7 +764,10 @@ export const generatedProperties = [
764
764
  'name': 'text-decoration'
765
765
  },
766
766
  {'name': 'text-decoration-color', 'keywords': ['currentcolor']},
767
- {'name': 'text-decoration-line', 'keywords': ['none', 'underline', 'overline', 'line-through', 'blink']},
767
+ {
768
+ 'name': 'text-decoration-line',
769
+ 'keywords': ['none', 'underline', 'overline', 'line-through', 'blink', 'spelling-error', 'grammar-error']
770
+ },
768
771
  {'name': 'text-decoration-skip-ink', 'inherited': true, 'keywords': ['none', 'auto']},
769
772
  {'name': 'text-decoration-style', 'keywords': ['solid', 'double', 'dotted', 'dashed', 'wavy']},
770
773
  {'name': 'text-decoration-thickness', 'inherited': true, 'keywords': ['auto', 'from-font']},
@@ -1041,7 +1044,7 @@ export const generatedPropertyValues = {
1041
1044
  },
1042
1045
  'font-variation-settings': {'values': ['normal']},
1043
1046
  'font-weight': {'values': ['normal', 'bold', 'bolder', 'lighter']},
1044
- 'forced-color-adjust': {'values': ['auto', 'none']},
1047
+ 'forced-color-adjust': {'values': ['auto', 'none', 'preserve-parent-color']},
1045
1048
  'grid-auto-columns': {'values': ['auto', 'min-content', 'max-content']},
1046
1049
  'grid-auto-flow': {'values': ['row', 'column']},
1047
1050
  'grid-auto-rows': {'values': ['auto', 'min-content', 'max-content']},
@@ -1152,7 +1155,8 @@ export const generatedPropertyValues = {
1152
1155
  'text-anchor': {'values': ['start', 'middle', 'end']},
1153
1156
  'text-combine-upright': {'values': ['none', 'all']},
1154
1157
  'text-decoration-color': {'values': ['currentcolor']},
1155
- 'text-decoration-line': {'values': ['none', 'underline', 'overline', 'line-through', 'blink']},
1158
+ 'text-decoration-line':
1159
+ {'values': ['none', 'underline', 'overline', 'line-through', 'blink', 'spelling-error', 'grammar-error']},
1156
1160
  'text-decoration-skip-ink': {'values': ['none', 'auto']},
1157
1161
  'text-decoration-style': {'values': ['solid', 'double', 'dotted', 'dashed', 'wavy']},
1158
1162
  'text-decoration-thickness': {'values': ['auto', 'from-font']},
@@ -1361,6 +1361,16 @@ export namespace ProtocolMapping {
1361
1361
  * Sets breakpoint on XMLHttpRequest.
1362
1362
  */
1363
1363
  'DOMDebugger.setXHRBreakpoint': {paramsType: [Protocol.DOMDebugger.SetXHRBreakpointRequest]; returnType: void;};
1364
+ /**
1365
+ * Sets breakpoint on particular native event.
1366
+ */
1367
+ 'EventBreakpoints.setInstrumentationBreakpoint':
1368
+ {paramsType: [Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest]; returnType: void;};
1369
+ /**
1370
+ * Removes breakpoint on particular native event.
1371
+ */
1372
+ 'EventBreakpoints.removeInstrumentationBreakpoint':
1373
+ {paramsType: [Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest]; returnType: void;};
1364
1374
  /**
1365
1375
  * Disables DOM snapshot agent for the given page.
1366
1376
  */
@@ -37,6 +37,8 @@ declare namespace ProtocolProxyApi {
37
37
 
38
38
  DOMDebugger: DOMDebuggerApi;
39
39
 
40
+ EventBreakpoints: EventBreakpointsApi;
41
+
40
42
  DOMSnapshot: DOMSnapshotApi;
41
43
 
42
44
  DOMStorage: DOMStorageApi;
@@ -127,6 +129,8 @@ declare namespace ProtocolProxyApi {
127
129
 
128
130
  DOMDebugger: DOMDebuggerDispatcher;
129
131
 
132
+ EventBreakpoints: EventBreakpointsDispatcher;
133
+
130
134
  DOMSnapshot: DOMSnapshotDispatcher;
131
135
 
132
136
  DOMStorage: DOMStorageDispatcher;
@@ -1164,6 +1168,21 @@ declare namespace ProtocolProxyApi {
1164
1168
  }
1165
1169
  export interface DOMDebuggerDispatcher {}
1166
1170
 
1171
+ export interface EventBreakpointsApi {
1172
+ /**
1173
+ * Sets breakpoint on particular native event.
1174
+ */
1175
+ invoke_setInstrumentationBreakpoint(params: Protocol.EventBreakpoints.SetInstrumentationBreakpointRequest):
1176
+ Promise<Protocol.ProtocolResponseWithError>;
1177
+
1178
+ /**
1179
+ * Removes breakpoint on particular native event.
1180
+ */
1181
+ invoke_removeInstrumentationBreakpoint(params: Protocol.EventBreakpoints.RemoveInstrumentationBreakpointRequest):
1182
+ Promise<Protocol.ProtocolResponseWithError>;
1183
+ }
1184
+ export interface EventBreakpointsDispatcher {}
1185
+
1167
1186
  export interface DOMSnapshotApi {
1168
1187
  /**
1169
1188
  * Disables DOM snapshot agent for the given page.
@@ -964,6 +964,26 @@ declare namespace Protocol {
964
964
  frameId?: Page.FrameId;
965
965
  }
966
966
 
967
+ /**
968
+ * This issue tracks information needed to print a deprecation message.
969
+ * The formatting is inherited from the old console.log version, see more at:
970
+ * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/frame/deprecation.cc
971
+ * TODO(crbug.com/1264960): Re-work format to add i18n support per:
972
+ * https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
973
+ */
974
+ export interface DeprecationIssueDetails {
975
+ affectedFrame?: AffectedFrame;
976
+ sourceCodeLocation: SourceCodeLocation;
977
+ /**
978
+ * The content of the deprecation issue (this won't be translated),
979
+ * e.g. "window.inefficientLegacyStorageMethod will be removed in M97,
980
+ * around January 2022. Please use Web Storage or Indexed Database
981
+ * instead. This standard was abandoned in January, 1970. See
982
+ * https://www.chromestatus.com/feature/5684870116278272 for more details."
983
+ */
984
+ message?: string;
985
+ }
986
+
967
987
  /**
968
988
  * A unique identifier for the type of issue. Each type may use one of the
969
989
  * optional fields in InspectorIssueDetails to convey more specific
@@ -984,6 +1004,7 @@ declare namespace Protocol {
984
1004
  NavigatorUserAgentIssue = 'NavigatorUserAgentIssue',
985
1005
  WasmCrossOriginModuleSharingIssue = 'WasmCrossOriginModuleSharingIssue',
986
1006
  GenericIssue = 'GenericIssue',
1007
+ DeprecationIssue = 'DeprecationIssue',
987
1008
  }
988
1009
 
989
1010
  /**
@@ -1006,6 +1027,7 @@ declare namespace Protocol {
1006
1027
  navigatorUserAgentIssueDetails?: NavigatorUserAgentIssueDetails;
1007
1028
  wasmCrossOriginModuleSharingIssue?: WasmCrossOriginModuleSharingIssueDetails;
1008
1029
  genericIssueDetails?: GenericIssueDetails;
1030
+ deprecationIssueDetails?: DeprecationIssueDetails;
1009
1031
  }
1010
1032
 
1011
1033
  /**
@@ -4074,6 +4096,29 @@ declare namespace Protocol {
4074
4096
  }
4075
4097
  }
4076
4098
 
4099
+ /**
4100
+ * EventBreakpoints permits setting breakpoints on particular operations and
4101
+ * events in targets that run JavaScript but do not have a DOM.
4102
+ * JavaScript execution will stop on these operations as if there was a regular
4103
+ * breakpoint set.
4104
+ */
4105
+ export namespace EventBreakpoints {
4106
+
4107
+ export interface SetInstrumentationBreakpointRequest {
4108
+ /**
4109
+ * Instrumentation name to stop on.
4110
+ */
4111
+ eventName: string;
4112
+ }
4113
+
4114
+ export interface RemoveInstrumentationBreakpointRequest {
4115
+ /**
4116
+ * Instrumentation name to stop on.
4117
+ */
4118
+ eventName: string;
4119
+ }
4120
+ }
4121
+
4077
4122
  /**
4078
4123
  * This domain facilitates obtaining document snapshots with DOM, layout, and style information.
4079
4124
  */
@@ -8528,6 +8573,12 @@ declare namespace Protocol {
8528
8573
  * Request initiator.
8529
8574
  */
8530
8575
  initiator: Initiator;
8576
+ /**
8577
+ * In the case that redirectResponse is populated, this flag indicates whether
8578
+ * requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be or were emitted
8579
+ * for the request which was just redirected.
8580
+ */
8581
+ redirectHasExtraInfo: boolean;
8531
8582
  /**
8532
8583
  * Redirect response data.
8533
8584
  */
@@ -8602,6 +8653,11 @@ declare namespace Protocol {
8602
8653
  * Response data.
8603
8654
  */
8604
8655
  response: Response;
8656
+ /**
8657
+ * Indicates whether requestWillBeSentExtraInfo and responseReceivedExtraInfo events will be
8658
+ * or were emitted for this request.
8659
+ */
8660
+ hasExtraInfo: boolean;
8605
8661
  /**
8606
8662
  * Frame identifier.
8607
8663
  */
@@ -10492,7 +10548,6 @@ declare namespace Protocol {
10492
10548
  ContentWebUSB = 'ContentWebUSB',
10493
10549
  ContentMediaSession = 'ContentMediaSession',
10494
10550
  ContentMediaSessionService = 'ContentMediaSessionService',
10495
- ContentMediaPlay = 'ContentMediaPlay',
10496
10551
  EmbedderPopupBlockerTabHelper = 'EmbedderPopupBlockerTabHelper',
10497
10552
  EmbedderSafeBrowsingTriggeredPopupBlocker = 'EmbedderSafeBrowsingTriggeredPopupBlocker',
10498
10553
  EmbedderSafeBrowsingThreatDetails = 'EmbedderSafeBrowsingThreatDetails',
@@ -59,15 +59,13 @@ export async function _executeTestScript() {
59
59
 
60
60
  // Auto-start unit tests
61
61
  self.test = async function() {
62
- // TODO(crbug.com/1011811): Remove eval when we use TypeScript which does support dynamic imports
63
- await eval(`import("${testScriptURL}")`);
62
+ await import(testScriptURL);
64
63
  };
65
64
  return;
66
65
  }
67
66
 
68
67
  try {
69
- // TODO(crbug.com/1011811): Remove eval when we use TypeScript which does support dynamic imports
70
- await eval(`import("${testScriptURL}")`);
68
+ await import(testScriptURL);
71
69
  } catch (err) {
72
70
  TestRunner.addResult('TEST ENDED EARLY DUE TO UNCAUGHT ERROR:');
73
71
  TestRunner.addResult(err && err.stack || err);
@@ -0,0 +1,67 @@
1
+ // Copyright 2021 The Chromium Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import type * as SDK from '../../core/sdk/sdk.js';
6
+ import type * as Protocol from '../../generated/protocol.js';
7
+
8
+ import {Issue, IssueCategory, IssueKind} from './Issue.js';
9
+ import type {MarkdownIssueDescription} from './MarkdownIssueDescription.js';
10
+
11
+ export const enum IssueCode {
12
+ DeprecationIssue = 'DeprecationIssue',
13
+ }
14
+
15
+ export class DeprecationIssue extends Issue<IssueCode> {
16
+ private issueDetails: Protocol.Audits.DeprecationIssueDetails;
17
+
18
+ constructor(issueDetails: Protocol.Audits.DeprecationIssueDetails, issuesModel: SDK.IssuesModel.IssuesModel) {
19
+ super(IssueCode.DeprecationIssue, issuesModel);
20
+ this.issueDetails = issueDetails;
21
+ }
22
+
23
+ getCategory(): IssueCategory {
24
+ return IssueCategory.Other;
25
+ }
26
+
27
+ details(): Protocol.Audits.DeprecationIssueDetails {
28
+ return this.issueDetails;
29
+ }
30
+
31
+ getDescription(): MarkdownIssueDescription|null {
32
+ return {
33
+ file: 'deprecation.md',
34
+ substitutions: new Map([
35
+ // TODO(crbug.com/1264960): Re-work format to add i18n support per:
36
+ // https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/public/devtools_protocol/README.md
37
+ ['PLACEHOLDER_message', String(this.issueDetails.message)],
38
+ ]),
39
+ links: [],
40
+ };
41
+ }
42
+
43
+ sources(): Iterable<Protocol.Audits.SourceCodeLocation> {
44
+ if (this.issueDetails.sourceCodeLocation) {
45
+ return [this.issueDetails.sourceCodeLocation];
46
+ }
47
+ return [];
48
+ }
49
+
50
+ primaryKey(): string {
51
+ return JSON.stringify(this.issueDetails);
52
+ }
53
+
54
+ getKind(): IssueKind {
55
+ return IssueKind.BreakingChange;
56
+ }
57
+
58
+ static fromInspectorIssue(issuesModel: SDK.IssuesModel.IssuesModel, inspectorIssue: Protocol.Audits.InspectorIssue):
59
+ DeprecationIssue[] {
60
+ const details = inspectorIssue.details.deprecationIssueDetails;
61
+ if (!details) {
62
+ console.warn('Deprecation issue without details received.');
63
+ return [];
64
+ }
65
+ return [new DeprecationIssue(details, issuesModel)];
66
+ }
67
+ }
@@ -11,6 +11,7 @@ import {AttributionReportingIssue} from './AttributionReportingIssue.js';
11
11
  import {ContentSecurityPolicyIssue} from './ContentSecurityPolicyIssue.js';
12
12
  import {CorsIssue} from './CorsIssue.js';
13
13
  import {CrossOriginEmbedderPolicyIssue, isCrossOriginEmbedderPolicyIssue} from './CrossOriginEmbedderPolicyIssue.js';
14
+ import {DeprecationIssue} from './DeprecationIssue.js';
14
15
  import {GenericIssue} from './GenericIssue.js';
15
16
  import {HeavyAdIssue} from './HeavyAdIssue.js';
16
17
  import type {Issue, IssueKind} from './Issue.js';
@@ -99,6 +100,10 @@ const issueCodeHandlers = new Map<
99
100
  Protocol.Audits.InspectorIssueCode.GenericIssue,
100
101
  GenericIssue.fromInspectorIssue,
101
102
  ],
103
+ [
104
+ Protocol.Audits.InspectorIssueCode.DeprecationIssue,
105
+ DeprecationIssue.fromInspectorIssue,
106
+ ],
102
107
  ]);
103
108
 
104
109
  /**
@@ -0,0 +1,3 @@
1
+ # Deprecated Feature Used
2
+
3
+ {PLACEHOLDER_message}
@@ -7,6 +7,7 @@ import * as ContentSecurityPolicyIssue from './ContentSecurityPolicyIssue.js';
7
7
  import * as ContrastCheckTrigger from './ContrastCheckTrigger.js';
8
8
  import * as CorsIssue from './CorsIssue.js';
9
9
  import * as CrossOriginEmbedderPolicyIssue from './CrossOriginEmbedderPolicyIssue.js';
10
+ import * as DeprecationIssue from './DeprecationIssue.js';
10
11
  import * as GenericIssue from './GenericIssue.js';
11
12
  import * as HeavyAdIssue from './HeavyAdIssue.js';
12
13
  import * as Issue from './Issue.js';
@@ -30,6 +31,7 @@ export {
30
31
  ContrastCheckTrigger,
31
32
  CorsIssue,
32
33
  CrossOriginEmbedderPolicyIssue,
34
+ DeprecationIssue,
33
35
  GenericIssue,
34
36
  HeavyAdIssue,
35
37
  Issue,
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  .file-system-list-item {
38
- padding: 3px 5px 3px 5px;
38
+ padding: 3px 5px;
39
39
  height: 30px;
40
40
  display: flex;
41
41
  align-items: center;
@@ -109,6 +109,6 @@
109
109
  * Always show an outline. Needed because we have a white background here.
110
110
  */
111
111
 
112
- .workspace-settings-tab .harmony-input[type=text]:not(.error-input):not(:invalid) {
112
+ .workspace-settings-tab .harmony-input[type="text"]:not(.error-input):not(:invalid) {
113
113
  box-shadow: var(--legacy-focus-ring-inactive-shadow);
114
114
  }
@@ -93,6 +93,9 @@ export class AXBreadcrumbsPane extends AccessibilitySubPane {
93
93
  let parent: AXBreadcrumb|null = null;
94
94
  this.inspectedNodeBreadcrumb = null;
95
95
  for (ancestor of ancestorChain) {
96
+ if (ancestor !== axNode && ancestor.ignored() && ancestor.parentNode()) {
97
+ continue;
98
+ }
96
99
  const breadcrumb = new AXBreadcrumb(ancestor, depth, (ancestor === axNode));
97
100
  if (parent) {
98
101
  parent.appendChild(breadcrumb);
@@ -112,6 +115,10 @@ export class AXBreadcrumbsPane extends AccessibilitySubPane {
112
115
 
113
116
  function append(
114
117
  parentBreadcrumb: AXBreadcrumb, axNode: SDK.AccessibilityModel.AccessibilityNode, localDepth: number): void {
118
+ if (axNode.ignored()) {
119
+ axNode.children().map(child => append(parentBreadcrumb, child, localDepth));
120
+ return;
121
+ }
115
122
  const childBreadcrumb = new AXBreadcrumb(axNode, localDepth, false);
116
123
  parentBreadcrumb.appendChild(childBreadcrumb);
117
124
 
@@ -121,7 +128,7 @@ export class AXBreadcrumbsPane extends AccessibilitySubPane {
121
128
  }
122
129
  }
123
130
 
124
- if (this.inspectedNodeBreadcrumb) {
131
+ if (this.inspectedNodeBreadcrumb && !axNode.ignored()) {
125
132
  for (const child of axNode.children()) {
126
133
  append(this.inspectedNodeBreadcrumb, child, depth);
127
134
  if (child.backendDOMNodeId() === this.collapsingBreadcrumbId) {
@@ -3,7 +3,6 @@
3
3
  // found in the LICENSE file.
4
4
 
5
5
  import * as i18n from '../../core/i18n/i18n.js';
6
- import * as Root from '../../core/root/root.js';
7
6
  import * as UI from '../../ui/legacy/legacy.js';
8
7
 
9
8
  // eslint-disable-next-line rulesdir/es_modules_import
@@ -26,8 +25,6 @@ const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(undefined
26
25
 
27
26
  async function loadAccessibilityModule(): Promise<typeof Accessibility> {
28
27
  if (!loadedAccessibilityModule) {
29
- // Side-effect import resources in module.json
30
- await Root.Runtime.Runtime.instance().loadModulePromise('panels/accessibility');
31
28
  loadedAccessibilityModule = await import('./accessibility.js');
32
29
  }
33
30
  return loadedAccessibilityModule;
@@ -34,7 +34,7 @@ span.ax-value-undefined {
34
34
  text-decoration: line-through;
35
35
  }
36
36
 
37
- .tree-outline span[is=dt-icon-label] {
37
+ .tree-outline span[is="dt-icon-label"] {
38
38
  position: relative;
39
39
  left: -11px;
40
40
  }
@@ -60,7 +60,7 @@ span.ax-value-undefined {
60
60
  left: -2px;
61
61
  }
62
62
 
63
- .tree-outline span[is=dt-icon-label] + .ax-name {
63
+ .tree-outline span[is="dt-icon-label"] + .ax-name {
64
64
  margin-left: -11px;
65
65
  }
66
66
 
@@ -45,7 +45,7 @@
45
45
  -webkit-mask-size: 30px 10px;
46
46
  -webkit-mask-repeat: no-repeat;
47
47
  background-color: var(--color-syntax-7);
48
- content: '';
48
+ content: "";
49
49
  text-shadow: none;
50
50
  margin-right: -2px;
51
51
  height: 12px;