chrome-devtools-frontend 1.0.942095 → 1.0.943709

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 (310) hide show
  1. package/WATCHLISTS +1 -1
  2. package/config/gni/all_devtools_files.gni +0 -58
  3. package/config/gni/devtools_grd_files.gni +48 -7
  4. package/config/gni/devtools_image_files.gni +1 -1
  5. package/front_end/.eslintrc.js +11 -1
  6. package/front_end/Images/src/{feedback_thin_16x16_icon.svg → survey_feedback_icon.svg} +1 -1
  7. package/front_end/Tests.js +0 -32
  8. package/front_end/core/i18n/locales/af.json +455 -44
  9. package/front_end/core/i18n/locales/am.json +455 -44
  10. package/front_end/core/i18n/locales/ar.json +455 -44
  11. package/front_end/core/i18n/locales/as.json +455 -44
  12. package/front_end/core/i18n/locales/az.json +455 -44
  13. package/front_end/core/i18n/locales/be.json +456 -45
  14. package/front_end/core/i18n/locales/bg.json +455 -44
  15. package/front_end/core/i18n/locales/bn.json +455 -44
  16. package/front_end/core/i18n/locales/bs.json +455 -44
  17. package/front_end/core/i18n/locales/ca.json +457 -46
  18. package/front_end/core/i18n/locales/cs.json +458 -47
  19. package/front_end/core/i18n/locales/cy.json +455 -44
  20. package/front_end/core/i18n/locales/da.json +455 -44
  21. package/front_end/core/i18n/locales/de.json +455 -44
  22. package/front_end/core/i18n/locales/el.json +455 -44
  23. package/front_end/core/i18n/locales/en-GB.json +449 -38
  24. package/front_end/core/i18n/locales/en-US.json +8 -8
  25. package/front_end/core/i18n/locales/en-XL.json +8 -8
  26. package/front_end/core/i18n/locales/es-419.json +455 -44
  27. package/front_end/core/i18n/locales/es.json +455 -44
  28. package/front_end/core/i18n/locales/et.json +455 -44
  29. package/front_end/core/i18n/locales/eu.json +462 -51
  30. package/front_end/core/i18n/locales/fa.json +455 -44
  31. package/front_end/core/i18n/locales/fi.json +455 -44
  32. package/front_end/core/i18n/locales/fil.json +454 -43
  33. package/front_end/core/i18n/locales/fr-CA.json +455 -44
  34. package/front_end/core/i18n/locales/fr.json +456 -45
  35. package/front_end/core/i18n/locales/gl.json +455 -44
  36. package/front_end/core/i18n/locales/gu.json +456 -45
  37. package/front_end/core/i18n/locales/he.json +455 -44
  38. package/front_end/core/i18n/locales/hi.json +455 -44
  39. package/front_end/core/i18n/locales/hr.json +455 -44
  40. package/front_end/core/i18n/locales/hu.json +455 -44
  41. package/front_end/core/i18n/locales/hy.json +455 -44
  42. package/front_end/core/i18n/locales/id.json +455 -44
  43. package/front_end/core/i18n/locales/is.json +455 -44
  44. package/front_end/core/i18n/locales/it.json +502 -91
  45. package/front_end/core/i18n/locales/ja.json +456 -45
  46. package/front_end/core/i18n/locales/ka.json +455 -44
  47. package/front_end/core/i18n/locales/kk.json +456 -45
  48. package/front_end/core/i18n/locales/km.json +455 -44
  49. package/front_end/core/i18n/locales/kn.json +455 -44
  50. package/front_end/core/i18n/locales/ko.json +455 -44
  51. package/front_end/core/i18n/locales/ky.json +456 -45
  52. package/front_end/core/i18n/locales/lo.json +454 -43
  53. package/front_end/core/i18n/locales/lt.json +455 -44
  54. package/front_end/core/i18n/locales/lv.json +458 -47
  55. package/front_end/core/i18n/locales/mk.json +455 -44
  56. package/front_end/core/i18n/locales/ml.json +461 -50
  57. package/front_end/core/i18n/locales/mn.json +455 -44
  58. package/front_end/core/i18n/locales/mr.json +455 -44
  59. package/front_end/core/i18n/locales/ms.json +455 -44
  60. package/front_end/core/i18n/locales/my.json +456 -45
  61. package/front_end/core/i18n/locales/ne.json +456 -45
  62. package/front_end/core/i18n/locales/nl.json +532 -121
  63. package/front_end/core/i18n/locales/no.json +455 -44
  64. package/front_end/core/i18n/locales/or.json +455 -44
  65. package/front_end/core/i18n/locales/pa.json +455 -44
  66. package/front_end/core/i18n/locales/pl.json +455 -44
  67. package/front_end/core/i18n/locales/pt-PT.json +504 -93
  68. package/front_end/core/i18n/locales/pt.json +454 -43
  69. package/front_end/core/i18n/locales/ro.json +455 -44
  70. package/front_end/core/i18n/locales/ru.json +455 -44
  71. package/front_end/core/i18n/locales/si.json +455 -44
  72. package/front_end/core/i18n/locales/sk.json +456 -45
  73. package/front_end/core/i18n/locales/sl.json +455 -44
  74. package/front_end/core/i18n/locales/sq.json +455 -44
  75. package/front_end/core/i18n/locales/sr-Latn.json +455 -44
  76. package/front_end/core/i18n/locales/sr.json +455 -44
  77. package/front_end/core/i18n/locales/sv.json +456 -45
  78. package/front_end/core/i18n/locales/sw.json +455 -44
  79. package/front_end/core/i18n/locales/ta.json +456 -45
  80. package/front_end/core/i18n/locales/te.json +454 -43
  81. package/front_end/core/i18n/locales/th.json +455 -44
  82. package/front_end/core/i18n/locales/tr.json +455 -44
  83. package/front_end/core/i18n/locales/uk.json +455 -44
  84. package/front_end/core/i18n/locales/ur.json +455 -44
  85. package/front_end/core/i18n/locales/uz.json +455 -44
  86. package/front_end/core/i18n/locales/vi.json +455 -44
  87. package/front_end/core/i18n/locales/zh-HK.json +459 -48
  88. package/front_end/core/i18n/locales/zh-TW.json +457 -46
  89. package/front_end/core/i18n/locales/zh.json +460 -49
  90. package/front_end/core/i18n/locales/zu.json +455 -44
  91. package/front_end/core/protocol_client/InspectorBackend.ts +4 -0
  92. package/front_end/core/sdk/AccessibilityModel.ts +99 -78
  93. package/front_end/core/sdk/CPUProfilerModel.ts +7 -9
  94. package/front_end/core/sdk/ConsoleModel.ts +27 -33
  95. package/front_end/core/sdk/DebuggerModel.ts +4 -14
  96. package/front_end/core/sdk/NetworkManager.ts +3 -0
  97. package/front_end/core/sdk/ServiceWorkerCacheModel.ts +13 -12
  98. package/front_end/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.ts +1 -1
  99. package/front_end/entrypoints/devtools_app/devtools_app.js +1 -1
  100. package/front_end/entrypoints/devtools_app/devtools_app.json +1 -6
  101. package/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.ts +1 -1
  102. package/front_end/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.ts +1 -1
  103. package/front_end/entrypoints/inspector/inspector.js +1 -1
  104. package/front_end/entrypoints/inspector/inspector.json +1 -3
  105. package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +2 -3
  106. package/front_end/entrypoints/js_app/js_app.js +1 -1
  107. package/front_end/entrypoints/js_app/js_app.json +1 -3
  108. package/front_end/entrypoints/main/MainImpl.ts +2 -2
  109. package/front_end/entrypoints/main/main-meta.ts +1 -2
  110. package/front_end/entrypoints/ndb_app/ndb_app.js +1 -1
  111. package/front_end/entrypoints/node_app/node_app-meta.ts +0 -2
  112. package/front_end/entrypoints/node_app/node_app.js +1 -1
  113. package/front_end/entrypoints/node_app/node_app.json +1 -3
  114. package/front_end/entrypoints/node_main/node_main-meta.ts +0 -1
  115. package/front_end/entrypoints/shell/shell.json +1 -5
  116. package/front_end/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.ts +1 -1
  117. package/front_end/entrypoints/worker_app/worker_app.js +1 -1
  118. package/front_end/entrypoints/worker_app/worker_app.json +1 -3
  119. package/front_end/generated/InspectorBackendCommands.js +21 -1
  120. package/front_end/generated/protocol-mapping.d.ts +32 -1
  121. package/front_end/generated/protocol-proxy-api.d.ts +36 -2
  122. package/front_end/generated/protocol.d.ts +120 -7
  123. package/front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js +2 -2
  124. package/front_end/legacy_test_runner/console_test_runner/console_test_runner.js +5 -1
  125. package/front_end/legacy_test_runner/test_runner/TestRunner.js +3 -1
  126. package/front_end/models/persistence/persistence-meta.ts +0 -1
  127. package/front_end/panels/accessibility/accessibility-meta.ts +0 -1
  128. package/front_end/panels/animation/animation-meta.ts +0 -1
  129. package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -1
  130. package/front_end/panels/application/BackForwardCacheStrings.ts +3 -1
  131. package/front_end/panels/application/BackForwardCacheView.ts +26 -26
  132. package/front_end/panels/application/application-meta.ts +0 -1
  133. package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
  134. package/front_end/panels/application/components/ReportsGrid.ts +1 -1
  135. package/front_end/panels/application/components/stackTraceRow.css +8 -0
  136. package/front_end/panels/browser_debugger/browser_debugger-meta.ts +1 -2
  137. package/front_end/panels/changes/changes-meta.ts +0 -1
  138. package/front_end/panels/console/ConsolePinPane.ts +2 -6
  139. package/front_end/panels/console/ConsoleViewMessage.ts +8 -1
  140. package/front_end/panels/console/console-meta.ts +0 -1
  141. package/front_end/panels/console_counters/console_counters-meta.ts +0 -1
  142. package/front_end/panels/coverage/coverage-meta.ts +0 -1
  143. package/front_end/panels/css_overview/css_overview-meta.ts +0 -1
  144. package/front_end/panels/developer_resources/developer_resources-meta.ts +0 -1
  145. package/front_end/panels/elements/AccessibilityTreeUtils.ts +1 -1
  146. package/front_end/panels/elements/AccessibilityTreeView.ts +4 -3
  147. package/front_end/panels/elements/components/StylePropertyEditor.ts +2 -0
  148. package/front_end/panels/elements/elements-meta.ts +0 -1
  149. package/front_end/panels/emulation/DeviceModeToolbar.ts +3 -1
  150. package/front_end/panels/emulation/DeviceModeView.ts +2 -1
  151. package/front_end/panels/emulation/InspectedPagePlaceholder.ts +3 -1
  152. package/front_end/panels/emulation/MediaQueryInspector.ts +3 -1
  153. package/front_end/panels/emulation/emulation-meta.ts +0 -3
  154. package/front_end/panels/help/help-meta.ts +0 -1
  155. package/front_end/panels/input/input-meta.ts +0 -1
  156. package/front_end/panels/issues/issues-meta.ts +0 -1
  157. package/front_end/panels/js_profiler/js_profiler-meta.ts +0 -4
  158. package/front_end/panels/layers/layers-meta.ts +0 -4
  159. package/front_end/panels/lighthouse/LighthousePanel.ts +2 -4
  160. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +1 -4
  161. package/front_end/panels/lighthouse/lighthouse-meta.ts +0 -1
  162. package/front_end/panels/lighthouse/module.json +0 -6
  163. package/front_end/panels/media/media-meta.ts +0 -1
  164. package/front_end/panels/mobile_throttling/mobile_throttling-meta.ts +0 -1
  165. package/front_end/panels/network/network-meta.ts +1 -2
  166. package/front_end/panels/performance_monitor/performance_monitor-meta.ts +0 -1
  167. package/front_end/panels/profiler/CPUProfileView.ts +10 -3
  168. package/front_end/panels/profiler/profiler-meta.ts +0 -3
  169. package/front_end/panels/protocol_monitor/protocol_monitor-meta.ts +0 -1
  170. package/front_end/panels/screencast/screencast-meta.ts +0 -4
  171. package/front_end/panels/security/security-meta.ts +0 -1
  172. package/front_end/panels/sensors/sensors-meta.ts +0 -1
  173. package/front_end/panels/settings/emulation/emulation-meta.ts +0 -1
  174. package/front_end/panels/settings/settings-meta.ts +0 -1
  175. package/front_end/panels/sources/Plugin.ts +0 -3
  176. package/front_end/panels/sources/UISourceCodeFrame.ts +23 -49
  177. package/front_end/panels/sources/sources-meta.ts +2 -6
  178. package/front_end/panels/timeline/timeline-meta.ts +2 -9
  179. package/front_end/panels/web_audio/web_audio-meta.ts +0 -1
  180. package/front_end/panels/webauthn/webauthn-meta.ts +0 -1
  181. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  182. package/front_end/third_party/codemirror.next/package.json +1 -1
  183. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1128 -1158
  184. package/front_end/third_party/lighthouse/locales/ar-XB.json +211 -79
  185. package/front_end/third_party/lighthouse/locales/ar.json +213 -81
  186. package/front_end/third_party/lighthouse/locales/bg.json +211 -79
  187. package/front_end/third_party/lighthouse/locales/ca.json +212 -80
  188. package/front_end/third_party/lighthouse/locales/cs.json +211 -79
  189. package/front_end/third_party/lighthouse/locales/da.json +211 -79
  190. package/front_end/third_party/lighthouse/locales/de.json +211 -79
  191. package/front_end/third_party/lighthouse/locales/el.json +213 -81
  192. package/front_end/third_party/lighthouse/locales/en-GB.json +211 -79
  193. package/front_end/third_party/lighthouse/locales/en-US.json +186 -75
  194. package/front_end/third_party/lighthouse/locales/en-XA.json +211 -79
  195. package/front_end/third_party/lighthouse/locales/en-XL.json +186 -75
  196. package/front_end/third_party/lighthouse/locales/es-419.json +211 -79
  197. package/front_end/third_party/lighthouse/locales/es.json +212 -80
  198. package/front_end/third_party/lighthouse/locales/fi.json +211 -79
  199. package/front_end/third_party/lighthouse/locales/fil.json +211 -79
  200. package/front_end/third_party/lighthouse/locales/fr.json +211 -79
  201. package/front_end/third_party/lighthouse/locales/he.json +212 -80
  202. package/front_end/third_party/lighthouse/locales/hi.json +214 -82
  203. package/front_end/third_party/lighthouse/locales/hr.json +211 -79
  204. package/front_end/third_party/lighthouse/locales/hu.json +211 -79
  205. package/front_end/third_party/lighthouse/locales/id.json +211 -79
  206. package/front_end/third_party/lighthouse/locales/it.json +211 -79
  207. package/front_end/third_party/lighthouse/locales/ja.json +211 -79
  208. package/front_end/third_party/lighthouse/locales/ko.json +211 -79
  209. package/front_end/third_party/lighthouse/locales/lt.json +211 -79
  210. package/front_end/third_party/lighthouse/locales/lv.json +214 -82
  211. package/front_end/third_party/lighthouse/locales/nl.json +211 -79
  212. package/front_end/third_party/lighthouse/locales/no.json +211 -79
  213. package/front_end/third_party/lighthouse/locales/pl.json +211 -79
  214. package/front_end/third_party/lighthouse/locales/pt-PT.json +211 -79
  215. package/front_end/third_party/lighthouse/locales/pt.json +211 -79
  216. package/front_end/third_party/lighthouse/locales/ro.json +212 -80
  217. package/front_end/third_party/lighthouse/locales/ru.json +211 -79
  218. package/front_end/third_party/lighthouse/locales/sk.json +211 -79
  219. package/front_end/third_party/lighthouse/locales/sl.json +211 -79
  220. package/front_end/third_party/lighthouse/locales/sr-Latn.json +211 -79
  221. package/front_end/third_party/lighthouse/locales/sr.json +211 -79
  222. package/front_end/third_party/lighthouse/locales/sv.json +211 -79
  223. package/front_end/third_party/lighthouse/locales/ta.json +218 -86
  224. package/front_end/third_party/lighthouse/locales/te.json +251 -119
  225. package/front_end/third_party/lighthouse/locales/th.json +211 -79
  226. package/front_end/third_party/lighthouse/locales/tr.json +211 -79
  227. package/front_end/third_party/lighthouse/locales/uk.json +212 -80
  228. package/front_end/third_party/lighthouse/locales/vi.json +211 -79
  229. package/front_end/third_party/lighthouse/locales/zh-HK.json +211 -79
  230. package/front_end/third_party/lighthouse/locales/zh-TW.json +211 -79
  231. package/front_end/third_party/lighthouse/locales/zh.json +211 -79
  232. package/front_end/third_party/lighthouse/report/bundle.d.ts +72 -34
  233. package/front_end/third_party/lighthouse/report/bundle.js +698 -492
  234. package/front_end/third_party/lighthouse/report-assets/report-generator.js +1 -2
  235. package/front_end/third_party/lighthouse/report-assets/report.js +40 -35
  236. package/front_end/third_party/lighthouse/report-assets/standalone-template.html +2 -4
  237. package/front_end/ui/components/docs/component_docs.ts +14 -0
  238. package/front_end/ui/components/docs/create_breadcrumbs.ts +1 -1
  239. package/front_end/ui/components/docs/icon_button/basic.ts +3 -3
  240. package/front_end/ui/components/docs/toggle_dark_mode.ts +1 -0
  241. package/front_end/ui/components/docs/toggle_fonts.ts +2 -0
  242. package/front_end/ui/components/helpers/get-stylesheet.ts +0 -15
  243. package/front_end/ui/components/linear_memory_inspector/linear_memory_inspector-meta.ts +1 -2
  244. package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
  245. package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
  246. package/front_end/ui/components/tree_outline/TreeOutline.ts +71 -8
  247. package/front_end/ui/components/tree_outline/TreeOutlineUtils.ts +8 -6
  248. package/front_end/ui/legacy/Dialog.ts +11 -4
  249. package/front_end/ui/legacy/DropTarget.ts +2 -1
  250. package/front_end/ui/legacy/EmptyWidget.ts +2 -1
  251. package/front_end/ui/legacy/FilterBar.ts +2 -1
  252. package/front_end/ui/legacy/GlassPane.ts +4 -2
  253. package/front_end/ui/legacy/Infobar.ts +3 -2
  254. package/front_end/ui/legacy/InspectorView.ts +6 -1
  255. package/front_end/ui/legacy/ListWidget.ts +2 -1
  256. package/front_end/ui/legacy/PopoverHelper.ts +2 -1
  257. package/front_end/ui/legacy/ProgressIndicator.ts +2 -1
  258. package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +2 -1
  259. package/front_end/ui/legacy/ReportView.ts +2 -1
  260. package/front_end/ui/legacy/RootView.ts +2 -1
  261. package/front_end/ui/legacy/SearchableView.ts +2 -1
  262. package/front_end/ui/legacy/SoftContextMenu.ts +3 -2
  263. package/front_end/ui/legacy/SoftDropDown.ts +4 -2
  264. package/front_end/ui/legacy/SplitWidget.ts +2 -1
  265. package/front_end/ui/legacy/SuggestBox.ts +2 -1
  266. package/front_end/ui/legacy/TabbedPane.ts +2 -1
  267. package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -1
  268. package/front_end/ui/legacy/TextPrompt.ts +2 -1
  269. package/front_end/ui/legacy/Toolbar.ts +3 -2
  270. package/front_end/ui/legacy/Treeoutline.ts +4 -3
  271. package/front_end/ui/legacy/UIUtils.ts +17 -14
  272. package/front_end/ui/legacy/ViewManager.ts +2 -1
  273. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +1 -2
  274. package/front_end/ui/legacy/components/inline_editor/cssAngle.css +4 -0
  275. package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts +2 -2
  276. package/front_end/ui/legacy/components/object_ui/object_ui-meta.ts +0 -4
  277. package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +0 -3
  278. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
  279. package/front_end/ui/legacy/components/quick_open/quick_open-meta.ts +2 -3
  280. package/front_end/ui/legacy/components/source_frame/FontView.ts +4 -1
  281. package/front_end/ui/legacy/components/source_frame/ImageView.ts +4 -1
  282. package/front_end/ui/legacy/components/source_frame/JSONView.ts +4 -1
  283. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +3 -1
  284. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +6 -6
  285. package/front_end/ui/legacy/components/source_frame/XMLView.ts +7 -2
  286. package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +2 -0
  287. package/front_end/ui/legacy/components/text_editor/module.json +0 -3
  288. package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -15
  289. package/front_end/ui/legacy/textButton.css +5 -4
  290. package/front_end/ui/legacy/theme_support/theme_support_impl.ts +7 -9
  291. package/front_end/ui/legacy/utils/create-shadow-root-with-core-styles.ts +2 -2
  292. package/front_end/ui/legacy/utils/inject-core-styles.ts +7 -4
  293. package/inspector_overlay/css_grid_label_helpers.ts +1 -1
  294. package/inspector_overlay/highlight_common.ts +1 -1
  295. package/inspector_overlay/tool_highlight.ts +1 -1
  296. package/package.json +1 -1
  297. package/scripts/check_gn.js +0 -35
  298. package/scripts/eslint_rules/lib/es_modules_import.js +15 -24
  299. package/scripts/eslint_rules/tests/es_modules_import_test.js +8 -16
  300. package/front_end/emulated_devices/module.json +0 -6
  301. package/front_end/panels/emulation/module.json +0 -11
  302. package/front_end/panels/js_profiler/module.json +0 -5
  303. package/front_end/panels/layers/module.json +0 -4
  304. package/front_end/panels/profiler/module.json +0 -5
  305. package/front_end/panels/screencast/module.json +0 -6
  306. package/front_end/panels/timeline/module.json +0 -6
  307. package/front_end/third_party/lighthouse/report-assets/report.css +0 -1774
  308. package/front_end/ui/legacy/components/source_frame/messagesPopover.css +0 -32
  309. package/front_end/ui/legacy/components/source_frame/module.json +0 -14
  310. package/front_end/ui/legacy/module.json +0 -41
package/WATCHLISTS CHANGED
@@ -14,7 +14,7 @@
14
14
  'filepath': '.',
15
15
  },
16
16
  'chromedriver': {
17
- 'filepath': 'front_end/emulated_devices/module.json',
17
+ 'filepath': 'front_end/emulated_devices/',
18
18
  },
19
19
  'lighthouse': {
20
20
  'filepath': '[Ll]ighthouse',
@@ -42,28 +42,19 @@ all_devtools_files = [
42
42
  "front_end/legacy_test_runner/elements_test_runner/ElementsTestRunner.js",
43
43
  "front_end/legacy_test_runner/elements_test_runner/SetOuterHTMLTestRunner.js",
44
44
  "front_end/legacy_test_runner/elements_test_runner/StylesUpdateLinksTestRunner.js",
45
- "front_end/emulated_devices/module.json",
46
- "front_end/panels/emulation/deviceModeToolbar.css",
47
- "front_end/panels/emulation/deviceModeView.css",
48
- "front_end/panels/emulation/inspectedPagePlaceholder.css",
49
- "front_end/panels/emulation/mediaQueryInspector.css",
50
- "front_end/panels/emulation/module.json",
51
45
  "front_end/legacy_test_runner/extensions_test_runner/extensions_test_runner.js",
52
46
  "front_end/legacy_test_runner/extensions_test_runner/ExtensionsNetworkTestRunner.js",
53
47
  "front_end/legacy_test_runner/extensions_test_runner/ExtensionsTestRunner.js",
54
48
  "front_end/legacy_test_runner/heap_profiler_test_runner/heap_profiler_test_runner.js",
55
49
  "front_end/entrypoints/inspector/inspector.js",
56
50
  "front_end/entrypoints/inspector/inspector.json",
57
- "front_end/panels/js_profiler/module.json",
58
51
  "front_end/legacy_test_runner/layers_test_runner/layers_test_runner.js",
59
- "front_end/panels/layers/module.json",
60
52
  "front_end/entrypoints/ndb_app/ndb_app.json",
61
53
  "front_end/legacy_test_runner/network_test_runner/network_test_runner.js",
62
54
  "front_end/entrypoints/node_main/nodeConnectionsPanel.css",
63
55
  "front_end/legacy_test_runner/performance_test_runner/performance_test_runner.js",
64
56
  "front_end/legacy_test_runner/performance_test_runner/TimelineDataTestRunner.js",
65
57
  "front_end/legacy_test_runner/performance_test_runner/TimelineTestRunner.js",
66
- "front_end/panels/profiler/module.json",
67
58
  "front_end/models/issues_manager/descriptions/arAttributionEventSourceTriggerDataTooLarge.md",
68
59
  "front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyFrameOrigin.md",
69
60
  "front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyOrigin.md",
@@ -121,18 +112,9 @@ all_devtools_files = [
121
112
  "front_end/models/issues_manager/descriptions/TwaDigitalAssetLinksFailed.md",
122
113
  "front_end/models/issues_manager/descriptions/TwaHttpError.md",
123
114
  "front_end/models/issues_manager/descriptions/TwaPageUnavailableOffline.md",
124
- "front_end/panels/screencast/module.json",
125
115
  "front_end/legacy_test_runner/sdk_test_runner/sdk_test_runner.js",
126
116
  "front_end/legacy_test_runner/security_test_runner/security_test_runner.js",
127
117
  "front_end/entrypoints/shell/shell.json",
128
- "front_end/ui/legacy/components/source_frame/fontView.css",
129
- "front_end/ui/legacy/components/source_frame/imageView.css",
130
- "front_end/ui/legacy/components/source_frame/jsonView.css",
131
- "front_end/ui/legacy/components/source_frame/messagesPopover.css",
132
- "front_end/ui/legacy/components/source_frame/module.json",
133
- "front_end/ui/legacy/components/source_frame/resourceSourceFrame.css",
134
- "front_end/ui/legacy/components/source_frame/xmlTree.css",
135
- "front_end/ui/legacy/components/source_frame/xmlView.css",
136
118
  "front_end/legacy_test_runner/sources_test_runner/sources_test_runner.js",
137
119
  "front_end/legacy_test_runner/sources_test_runner/AutocompleteTestRunner.js",
138
120
  "front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js",
@@ -143,48 +125,8 @@ all_devtools_files = [
143
125
  "front_end/ui/legacy/components/text_editor/autocompleteTooltip.css",
144
126
  "front_end/ui/legacy/components/text_editor/cmdevtools.css",
145
127
  "front_end/ui/legacy/components/text_editor/module.json",
146
- "front_end/third_party/lighthouse/report-assets/report.css",
147
128
  "front_end/third_party/lighthouse/report-assets/report.js",
148
129
  "front_end/third_party/lighthouse/report-assets/standalone-template.html",
149
- "front_end/panels/timeline/module.json",
150
- "front_end/ui/legacy/checkboxTextLabel.css",
151
- "front_end/ui/legacy/closeButton.css",
152
- "front_end/ui/legacy/confirmDialog.css",
153
- "front_end/ui/legacy/dialog.css",
154
- "front_end/ui/legacy/dropTarget.css",
155
- "front_end/ui/legacy/emptyWidget.css",
156
- "front_end/ui/legacy/filter.css",
157
- "front_end/ui/legacy/glassPane.css",
158
- "front_end/ui/legacy/infobar.css",
159
- "front_end/ui/legacy/inlineButton.css",
160
- "front_end/ui/legacy/inspectorCommon.css",
161
- "front_end/ui/legacy/themeColors.css",
162
- "front_end/ui/legacy/inspectorSyntaxHighlight.css",
163
- "front_end/ui/legacy/inspectorSyntaxHighlightDark.css",
164
- "front_end/ui/legacy/inspectorViewTabbedPane.css",
165
- "front_end/ui/legacy/listWidget.css",
166
- "front_end/ui/legacy/module.json",
167
- "front_end/ui/legacy/popover.css",
168
- "front_end/ui/legacy/progressIndicator.css",
169
- "front_end/ui/legacy/radioButton.css",
170
- "front_end/ui/legacy/remoteDebuggingTerminatedScreen.css",
171
- "front_end/ui/legacy/reportView.css",
172
- "front_end/ui/legacy/rootView.css",
173
- "front_end/ui/legacy/searchableView.css",
174
- "front_end/ui/legacy/slider.css",
175
- "front_end/ui/legacy/smallBubble.css",
176
- "front_end/ui/legacy/softContextMenu.css",
177
- "front_end/ui/legacy/softDropDown.css",
178
- "front_end/ui/legacy/softDropDownButton.css",
179
- "front_end/ui/legacy/splitWidget.css",
180
- "front_end/ui/legacy/suggestBox.css",
181
- "front_end/ui/legacy/tabbedPane.css",
182
- "front_end/ui/legacy/targetCrashedScreen.css",
183
- "front_end/ui/legacy/textButton.css",
184
- "front_end/ui/legacy/textPrompt.css",
185
- "front_end/ui/legacy/toolbar.css",
186
- "front_end/ui/legacy/treeoutline.css",
187
- "front_end/ui/legacy/viewContainers.css",
188
130
  ]
189
131
 
190
132
  lighthouse_locale_files = [
@@ -53,7 +53,6 @@ grd_files_release_sources = [
53
53
  "front_end/Images/errorWave.svg",
54
54
  "front_end/Images/error_icon.svg",
55
55
  "front_end/Images/feedback_button_icon.svg",
56
- "front_end/Images/feedback_thin_16x16_icon.svg",
57
56
  "front_end/Images/flex-direction-icon.svg",
58
57
  "front_end/Images/flex-nowrap-icon.svg",
59
58
  "front_end/Images/flex-wrap-icon.svg",
@@ -133,6 +132,7 @@ grd_files_release_sources = [
133
132
  "front_end/Images/smallIcons.svg",
134
133
  "front_end/Images/sources_panel_icon.svg",
135
134
  "front_end/Images/speech.png",
135
+ "front_end/Images/survey_feedback_icon.svg",
136
136
  "front_end/Images/switcherIcon.svg",
137
137
  "front_end/Images/three_dots_menu_icon.svg",
138
138
  "front_end/Images/toolbarResizerVertical.png",
@@ -162,7 +162,6 @@ grd_files_release_sources = [
162
162
  "front_end/device_mode_emulation_frame.html",
163
163
  "front_end/devtools_app.html",
164
164
  "front_end/devtools_compatibility.js",
165
- "front_end/emulated_devices/emulated_devices_module.js",
166
165
  "front_end/emulated_devices/optimized/MotoG4-landscape.avif",
167
166
  "front_end/emulated_devices/optimized/MotoG4-portrait.avif",
168
167
  "front_end/emulated_devices/optimized/Nexus5X-landscape.avif",
@@ -372,13 +371,11 @@ grd_files_release_sources = [
372
371
  "front_end/panels/issues/issues.js",
373
372
  "front_end/panels/js_profiler/js_profiler-meta.js",
374
373
  "front_end/panels/js_profiler/js_profiler.js",
375
- "front_end/panels/js_profiler/js_profiler_module.js",
376
374
  "front_end/panels/layer_viewer/layer_viewer-legacy.js",
377
375
  "front_end/panels/layer_viewer/layer_viewer-meta.js",
378
376
  "front_end/panels/layer_viewer/layer_viewer.js",
379
377
  "front_end/panels/layers/layers-meta.js",
380
378
  "front_end/panels/layers/layers.js",
381
- "front_end/panels/layers/layers_module.js",
382
379
  "front_end/panels/lighthouse/lighthouse-legacy.js",
383
380
  "front_end/panels/lighthouse/lighthouse-meta.js",
384
381
  "front_end/panels/lighthouse/lighthouse.js",
@@ -398,7 +395,6 @@ grd_files_release_sources = [
398
395
  "front_end/panels/profiler/profiler-legacy.js",
399
396
  "front_end/panels/profiler/profiler-meta.js",
400
397
  "front_end/panels/profiler/profiler.js",
401
- "front_end/panels/profiler/profiler_module.js",
402
398
  "front_end/panels/protocol_monitor/protocol_monitor-meta.js",
403
399
  "front_end/panels/protocol_monitor/protocol_monitor.js",
404
400
  "front_end/panels/screencast/screencast-meta.js",
@@ -427,7 +423,6 @@ grd_files_release_sources = [
427
423
  "front_end/panels/timeline/timeline-legacy.js",
428
424
  "front_end/panels/timeline/timeline-meta.js",
429
425
  "front_end/panels/timeline/timeline.js",
430
- "front_end/panels/timeline/timeline_module.js",
431
426
  "front_end/panels/utils/utils.js",
432
427
  "front_end/panels/web_audio/graph_visualizer/graph_visualizer.js",
433
428
  "front_end/panels/web_audio/web_audio-legacy.js",
@@ -964,6 +959,10 @@ grd_files_debug_sources = [
964
959
  "front_end/panels/emulation/InspectedPagePlaceholder.js",
965
960
  "front_end/panels/emulation/MediaQueryInspector.js",
966
961
  "front_end/panels/emulation/components/DeviceSizeInputElement.js",
962
+ "front_end/panels/emulation/deviceModeToolbar.css.legacy.js",
963
+ "front_end/panels/emulation/deviceModeView.css.legacy.js",
964
+ "front_end/panels/emulation/inspectedPagePlaceholder.css.legacy.js",
965
+ "front_end/panels/emulation/mediaQueryInspector.css.legacy.js",
967
966
  "front_end/panels/event_listeners/EventListenersUtils.js",
968
967
  "front_end/panels/event_listeners/EventListenersView.js",
969
968
  "front_end/panels/event_listeners/eventListenersView.css.js",
@@ -1297,7 +1296,6 @@ grd_files_debug_sources = [
1297
1296
  "front_end/third_party/i18n/localized-string-set.js",
1298
1297
  "front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js",
1299
1298
  "front_end/third_party/lighthouse/report-assets/report-generator.js",
1300
- "front_end/third_party/lighthouse/report-assets/report.css.js",
1301
1299
  "front_end/third_party/lighthouse/report-assets/report.js",
1302
1300
  "front_end/third_party/lighthouse/report/bundle.js",
1303
1301
  "front_end/third_party/lit-html/directive.js",
@@ -1469,6 +1467,8 @@ grd_files_debug_sources = [
1469
1467
  "front_end/ui/legacy/XLink.js",
1470
1468
  "front_end/ui/legacy/XWidget.js",
1471
1469
  "front_end/ui/legacy/ZoomManager.js",
1470
+ "front_end/ui/legacy/checkboxTextLabel.css.legacy.js",
1471
+ "front_end/ui/legacy/closeButton.css.legacy.js",
1472
1472
  "front_end/ui/legacy/components/color_picker/ContrastDetails.js",
1473
1473
  "front_end/ui/legacy/components/color_picker/ContrastInfo.js",
1474
1474
  "front_end/ui/legacy/components/color_picker/ContrastOverlay.js",
@@ -1554,6 +1554,12 @@ grd_files_debug_sources = [
1554
1554
  "front_end/ui/legacy/components/source_frame/ResourceSourceFrame.js",
1555
1555
  "front_end/ui/legacy/components/source_frame/SourceFrame.js",
1556
1556
  "front_end/ui/legacy/components/source_frame/XMLView.js",
1557
+ "front_end/ui/legacy/components/source_frame/fontView.css.legacy.js",
1558
+ "front_end/ui/legacy/components/source_frame/imageView.css.legacy.js",
1559
+ "front_end/ui/legacy/components/source_frame/jsonView.css.legacy.js",
1560
+ "front_end/ui/legacy/components/source_frame/resourceSourceFrame.css.legacy.js",
1561
+ "front_end/ui/legacy/components/source_frame/xmlTree.css.legacy.js",
1562
+ "front_end/ui/legacy/components/source_frame/xmlView.css.legacy.js",
1557
1563
  "front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.js",
1558
1564
  "front_end/ui/legacy/components/text_editor/TextEditorAutocompleteController.js",
1559
1565
  "front_end/ui/legacy/components/text_editor/cm_modes.js",
@@ -1564,15 +1570,50 @@ grd_files_debug_sources = [
1564
1570
  "front_end/ui/legacy/components/utils/TargetDetachedDialog.js",
1565
1571
  "front_end/ui/legacy/components/utils/imagePreview.css.js",
1566
1572
  "front_end/ui/legacy/components/utils/jsUtils.css.js",
1573
+ "front_end/ui/legacy/confirmDialog.css.legacy.js",
1574
+ "front_end/ui/legacy/dialog.css.legacy.js",
1575
+ "front_end/ui/legacy/dropTarget.css.legacy.js",
1567
1576
  "front_end/ui/legacy/emptyWidget.css.js",
1577
+ "front_end/ui/legacy/emptyWidget.css.legacy.js",
1578
+ "front_end/ui/legacy/filter.css.legacy.js",
1579
+ "front_end/ui/legacy/glassPane.css.legacy.js",
1580
+ "front_end/ui/legacy/infobar.css.legacy.js",
1581
+ "front_end/ui/legacy/inlineButton.css.legacy.js",
1568
1582
  "front_end/ui/legacy/inspectorCommon.css.js",
1583
+ "front_end/ui/legacy/inspectorCommon.css.legacy.js",
1584
+ "front_end/ui/legacy/inspectorSyntaxHighlight.css.legacy.js",
1585
+ "front_end/ui/legacy/inspectorSyntaxHighlightDark.css.legacy.js",
1586
+ "front_end/ui/legacy/inspectorViewTabbedPane.css.legacy.js",
1587
+ "front_end/ui/legacy/listWidget.css.legacy.js",
1588
+ "front_end/ui/legacy/popover.css.legacy.js",
1589
+ "front_end/ui/legacy/progressIndicator.css.legacy.js",
1590
+ "front_end/ui/legacy/radioButton.css.legacy.js",
1591
+ "front_end/ui/legacy/remoteDebuggingTerminatedScreen.css.legacy.js",
1592
+ "front_end/ui/legacy/reportView.css.legacy.js",
1593
+ "front_end/ui/legacy/rootView.css.legacy.js",
1594
+ "front_end/ui/legacy/searchableView.css.legacy.js",
1595
+ "front_end/ui/legacy/slider.css.legacy.js",
1596
+ "front_end/ui/legacy/smallBubble.css.legacy.js",
1597
+ "front_end/ui/legacy/softContextMenu.css.legacy.js",
1598
+ "front_end/ui/legacy/softDropDown.css.legacy.js",
1599
+ "front_end/ui/legacy/softDropDownButton.css.legacy.js",
1600
+ "front_end/ui/legacy/splitWidget.css.legacy.js",
1601
+ "front_end/ui/legacy/suggestBox.css.legacy.js",
1602
+ "front_end/ui/legacy/tabbedPane.css.legacy.js",
1603
+ "front_end/ui/legacy/targetCrashedScreen.css.legacy.js",
1604
+ "front_end/ui/legacy/textButton.css.legacy.js",
1605
+ "front_end/ui/legacy/textPrompt.css.legacy.js",
1606
+ "front_end/ui/legacy/themeColors.css.legacy.js",
1569
1607
  "front_end/ui/legacy/theme_support/theme_support_impl.js",
1608
+ "front_end/ui/legacy/toolbar.css.legacy.js",
1609
+ "front_end/ui/legacy/treeoutline.css.legacy.js",
1570
1610
  "front_end/ui/legacy/utils/append-style.js",
1571
1611
  "front_end/ui/legacy/utils/create-shadow-root-with-core-styles.js",
1572
1612
  "front_end/ui/legacy/utils/focus-changed.js",
1573
1613
  "front_end/ui/legacy/utils/inject-core-styles.js",
1574
1614
  "front_end/ui/legacy/utils/measured-scrollbar-width.js",
1575
1615
  "front_end/ui/legacy/utils/register-custom-element.js",
1616
+ "front_end/ui/legacy/viewContainers.css.legacy.js",
1576
1617
  "front_end/ui/lit-html/static.js",
1577
1618
  ]
1578
1619
 
@@ -63,7 +63,6 @@ devtools_svg_sources = [
63
63
  "errorWave.svg",
64
64
  "error_icon.svg",
65
65
  "feedback_button_icon.svg",
66
- "feedback_thin_16x16_icon.svg",
67
66
  "flex-direction-icon.svg",
68
67
  "flex-nowrap-icon.svg",
69
68
  "flex-wrap-icon.svg",
@@ -132,6 +131,7 @@ devtools_svg_sources = [
132
131
  "settings_14x14_icon.svg",
133
132
  "smallIcons.svg",
134
133
  "sources_panel_icon.svg",
134
+ "survey_feedback_icon.svg",
135
135
  "switcherIcon.svg",
136
136
  "three_dots_menu_icon.svg",
137
137
  "trash_bin_icon.svg",
@@ -110,7 +110,17 @@ module.exports = {
110
110
  'format': ['camelCase'],
111
111
  'leadingUnderscore': 'allow',
112
112
  }
113
- ]
113
+ ],
114
+ 'no-restricted-syntax': [
115
+ 'warn', {
116
+ // Matches the common pattern of `.registerRequiredCSS('path\to\module-styles.css');`.
117
+ 'selector':
118
+ 'CallExpression[callee.property.name="registerRequiredCSS"][arguments.length=1]:has(Literal[value=/css$/])',
119
+ 'message': 'Styles should be imported using `import styles from \'[file name].css(.legacy).js\';` and' +
120
+ // Intentional double periods.. since trailing period is stripped from output.
121
+ ' registered using `.registerCSSFiles([styles]);` or `.registerRequiredCSS(legacyStyles);` syntax..',
122
+ }
123
+ ],
114
124
  }
115
125
  },
116
126
  {
@@ -1 +1 @@
1
- <svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 11.5h9a1 1 0 001-1v-8a1 1 0 00-1-1H3a1 1 0 00-1 1v12l3-3zm-2 .586L4.586 10.5H14v-8H3v9.586z" fill="#000"/><path fill="#000" d="M8 4h1v3H8zM8 8h1v1H8z"/></svg>
1
+ <svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 11.5h9a1 1 0 001-1v-8a1 1 0 00-1-1H3a1 1 0 00-1 1v12l3-3zm-2 .586L4.586 10.5H14v-8H3v9.586z" fill="#000"/><path fill="#000" d="M8 4h1v3H8zM8 8h1v1H8z"/></svg>
@@ -1454,38 +1454,6 @@
1454
1454
  this.releaseControl();
1455
1455
  };
1456
1456
 
1457
- TestSuite.prototype.testInputDispatchEventsToCorrectTarget = async function() {
1458
- this.takeControl();
1459
-
1460
- const mainTarget = self.SDK.targetManager.mainTarget();
1461
- const otherTarget = await createIsolatedTarget('about:blank');
1462
-
1463
- const setupLogging = `
1464
- window.logs = [];
1465
- ['dragenter', 'keydown', 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup',
1466
- 'click', 'touchcancel', 'touchend', 'touchmove', 'touchstart',
1467
- ].forEach((event) => window.addEventListener(event, (e) => logs.push(e.type)));`;
1468
- await evalCode(mainTarget, setupLogging);
1469
- await evalCode(otherTarget, setupLogging);
1470
-
1471
- const inputAgent = mainTarget.inputAgent();
1472
- await inputAgent.invoke_dispatchMouseEvent({type: 'mousePressed', button: 'left', clickCount: 1, x: 100, y: 250});
1473
- await inputAgent.invoke_dispatchMouseEvent({type: 'mouseMoved', button: 'left', clickCount: 1, x: 110, y: 270});
1474
- await inputAgent.invoke_dispatchMouseEvent({type: 'mouseReleased', button: 'left', clickCount: 1, x: 110, y: 270});
1475
- await inputAgent.invoke_dispatchDragEvent(
1476
- {type: 'dragEnter', x: 100, y: 250, data: {items: [], dragOperationsMask: 1}});
1477
- await inputAgent.invoke_synthesizeTapGesture({x: 100, y: 250});
1478
- await inputAgent.invoke_dispatchKeyEvent({type: 'keyDown', key: 'a'});
1479
-
1480
- const mainTargetEvents = await evalCode(mainTarget, ' logs.join(\' \')');
1481
- const otherTargetEvents = await evalCode(otherTarget, 'logs.join(\' \')');
1482
- this.assertEquals(
1483
- 'mainTargetEvents: mouseover mousedown mousemove mouseup click dragenter keydown; otherTargetEvents: ',
1484
- `mainTargetEvents: ${mainTargetEvents}; otherTargetEvents: ${otherTargetEvents}`);
1485
-
1486
- this.releaseControl();
1487
- };
1488
-
1489
1457
  TestSuite.prototype.testLoadResourceForFrontend = async function(baseURL, fileURL) {
1490
1458
  const test = this;
1491
1459
  const loggedHeaders = new Set(['cache-control', 'pragma']);