chrome-devtools-frontend 1.0.941208 → 1.0.943182

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 (289) hide show
  1. package/WATCHLISTS +1 -1
  2. package/config/gni/all_devtools_files.gni +0 -64
  3. package/config/gni/devtools_grd_files.gni +54 -19
  4. package/config/gni/devtools_image_files.gni +1 -3
  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 +1 -32
  8. package/front_end/core/common/Color.ts +5 -0
  9. package/front_end/core/i18n/locales/en-US.json +17 -29
  10. package/front_end/core/i18n/locales/en-XL.json +17 -29
  11. package/front_end/core/sdk/CPUProfilerModel.ts +7 -9
  12. package/front_end/core/sdk/ConsoleModel.ts +27 -33
  13. package/front_end/core/sdk/DebuggerModel.ts +4 -14
  14. package/front_end/core/sdk/sdk-meta.ts +17 -3
  15. package/front_end/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.ts +1 -1
  16. package/front_end/entrypoints/devtools_app/devtools_app.js +1 -1
  17. package/front_end/entrypoints/devtools_app/devtools_app.json +1 -12
  18. package/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.ts +1 -1
  19. package/front_end/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.ts +1 -1
  20. package/front_end/entrypoints/inspector/inspector.js +1 -1
  21. package/front_end/entrypoints/inspector/inspector.json +1 -3
  22. package/front_end/entrypoints/inspector_main/inspector_main-meta.ts +2 -3
  23. package/front_end/entrypoints/js_app/js_app.js +1 -1
  24. package/front_end/entrypoints/js_app/js_app.json +1 -3
  25. package/front_end/entrypoints/main/MainImpl.ts +26 -0
  26. package/front_end/entrypoints/main/main-meta.ts +1 -2
  27. package/front_end/entrypoints/ndb_app/ndb_app.js +1 -1
  28. package/front_end/entrypoints/node_app/node_app-meta.ts +0 -2
  29. package/front_end/entrypoints/node_app/node_app.js +1 -1
  30. package/front_end/entrypoints/node_app/node_app.json +1 -3
  31. package/front_end/entrypoints/node_main/node_main-meta.ts +0 -1
  32. package/front_end/entrypoints/shell/shell.js +0 -11
  33. package/front_end/entrypoints/shell/shell.json +1 -5
  34. package/front_end/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.ts +1 -1
  35. package/front_end/entrypoints/worker_app/worker_app.js +1 -1
  36. package/front_end/entrypoints/worker_app/worker_app.json +1 -7
  37. package/front_end/generated/InspectorBackendCommands.js +19 -0
  38. package/front_end/generated/protocol-mapping.d.ts +31 -1
  39. package/front_end/generated/protocol-proxy-api.d.ts +34 -2
  40. package/front_end/generated/protocol.d.ts +81 -6
  41. package/front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js +2 -2
  42. package/front_end/legacy_test_runner/console_test_runner/console_test_runner.js +5 -1
  43. package/front_end/legacy_test_runner/legacy_test_runner.ts +10 -1
  44. package/front_end/legacy_test_runner/test_runner/TestRunner.js +3 -1
  45. package/front_end/models/formatter/SourceFormatter.ts +0 -10
  46. package/front_end/models/persistence/persistence-meta.ts +0 -1
  47. package/front_end/models/workspace/UISourceCode.ts +9 -42
  48. package/front_end/panels/accessibility/accessibility-meta.ts +0 -1
  49. package/front_end/panels/animation/AnimationTimeline.ts +3 -3
  50. package/front_end/panels/animation/animation-meta.ts +0 -1
  51. package/front_end/panels/application/ApplicationPanelSidebar.ts +3 -3
  52. package/front_end/panels/application/BackForwardCacheStrings.ts +3 -1
  53. package/front_end/panels/application/application-meta.ts +0 -4
  54. package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
  55. package/front_end/panels/application/components/ReportsGrid.ts +1 -1
  56. package/front_end/panels/application/components/stackTraceRow.css +8 -0
  57. package/front_end/panels/browser_debugger/browser_debugger-meta.ts +1 -2
  58. package/front_end/panels/changes/changes-meta.ts +0 -1
  59. package/front_end/panels/console/ConsolePinPane.ts +23 -32
  60. package/front_end/panels/console/ConsoleViewMessage.ts +8 -1
  61. package/front_end/panels/console/console-meta.ts +0 -1
  62. package/front_end/panels/console_counters/console_counters-meta.ts +0 -1
  63. package/front_end/panels/coverage/CoverageDecorationManager.ts +4 -5
  64. package/front_end/panels/coverage/CoverageView.ts +2 -105
  65. package/front_end/panels/coverage/coverage-meta.ts +0 -1
  66. package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +11 -56
  67. package/front_end/panels/css_overview/components/cssOverviewStartView.css +1 -8
  68. package/front_end/panels/css_overview/css_overview-meta.ts +0 -1
  69. package/front_end/panels/developer_resources/developer_resources-meta.ts +0 -1
  70. package/front_end/panels/elements/ElementsTreeElement.ts +4 -9
  71. package/front_end/panels/elements/components/StylePropertyEditor.ts +2 -0
  72. package/front_end/panels/elements/components/adornerSettingsPane.css +0 -4
  73. package/front_end/panels/elements/elements-meta.ts +0 -1
  74. package/front_end/panels/emulation/DeviceModeToolbar.ts +3 -1
  75. package/front_end/panels/emulation/DeviceModeView.ts +2 -1
  76. package/front_end/panels/emulation/InspectedPagePlaceholder.ts +3 -1
  77. package/front_end/panels/emulation/MediaQueryInspector.ts +3 -1
  78. package/front_end/panels/emulation/emulation-meta.ts +2 -5
  79. package/front_end/panels/help/help-meta.ts +0 -1
  80. package/front_end/panels/input/input-meta.ts +0 -1
  81. package/front_end/panels/issues/issues-meta.ts +0 -3
  82. package/front_end/panels/js_profiler/js_profiler-meta.ts +0 -4
  83. package/front_end/panels/layers/layers-meta.ts +0 -4
  84. package/front_end/panels/lighthouse/LighthousePanel.ts +2 -4
  85. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +1 -4
  86. package/front_end/panels/lighthouse/lighthouse-meta.ts +0 -1
  87. package/front_end/panels/lighthouse/lighthouseStartView.css +4 -0
  88. package/front_end/panels/lighthouse/module.json +0 -6
  89. package/front_end/panels/media/media-meta.ts +0 -4
  90. package/front_end/panels/mobile_throttling/mobile_throttling-meta.ts +0 -1
  91. package/front_end/panels/network/ResourceWebSocketFrameView.ts +2 -1
  92. package/front_end/panels/network/network-meta.ts +1 -5
  93. package/front_end/panels/performance_monitor/performance_monitor-meta.ts +0 -1
  94. package/front_end/panels/profiler/CPUProfileView.ts +10 -3
  95. package/front_end/panels/profiler/profiler-meta.ts +0 -3
  96. package/front_end/panels/protocol_monitor/protocol_monitor-meta.ts +0 -1
  97. package/front_end/panels/screencast/screencast-meta.ts +0 -4
  98. package/front_end/panels/security/security-meta.ts +0 -4
  99. package/front_end/panels/sensors/sensors-meta.ts +0 -1
  100. package/front_end/panels/settings/emulation/emulation-meta.ts +0 -1
  101. package/front_end/panels/settings/settings-meta.ts +0 -1
  102. package/front_end/panels/sources/BreakpointEditDialog.ts +16 -30
  103. package/front_end/panels/sources/CSSPlugin.ts +310 -331
  104. package/front_end/panels/sources/CallStackSidebarPane.ts +28 -34
  105. package/front_end/panels/sources/CoveragePlugin.ts +121 -6
  106. package/front_end/panels/sources/DebuggerPlugin.ts +1166 -1243
  107. package/front_end/panels/sources/EditingLocationHistoryManager.ts +71 -101
  108. package/front_end/panels/sources/GoToLineQuickOpen.ts +4 -3
  109. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +3 -3
  110. package/front_end/panels/sources/JavaScriptCompilerPlugin.ts +26 -23
  111. package/front_end/panels/sources/Plugin.ts +20 -4
  112. package/front_end/panels/sources/ProfilePlugin.ts +185 -0
  113. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +3 -3
  114. package/front_end/panels/sources/ScriptOriginPlugin.ts +0 -10
  115. package/front_end/panels/sources/SnippetsPlugin.ts +1 -10
  116. package/front_end/panels/sources/SourcesPanel.ts +6 -5
  117. package/front_end/panels/sources/SourcesView.ts +10 -8
  118. package/front_end/panels/sources/TabbedEditorContainer.ts +31 -27
  119. package/front_end/panels/sources/UISourceCodeFrame.ts +335 -470
  120. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +3 -2
  121. package/front_end/panels/sources/sources-legacy.ts +0 -6
  122. package/front_end/panels/sources/sources-meta.ts +2 -6
  123. package/front_end/panels/sources/sources.ts +0 -2
  124. package/front_end/panels/timeline/timeline-meta.ts +2 -9
  125. package/front_end/panels/web_audio/web_audio-meta.ts +0 -1
  126. package/front_end/panels/webauthn/webauthn-meta.ts +0 -1
  127. package/front_end/third_party/codemirror.next/bundle.ts +9 -13
  128. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  129. package/front_end/third_party/codemirror.next/chunk/javascript.js +2 -2
  130. package/front_end/third_party/codemirror.next/chunk/markdown.js +2 -6
  131. package/front_end/third_party/codemirror.next/chunk/php.js +2 -6
  132. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  133. package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
  134. package/front_end/third_party/codemirror.next/chunk/xml.js +2 -2
  135. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +279 -198
  136. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  137. package/front_end/third_party/codemirror.next/package.json +13 -11
  138. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1128 -1158
  139. package/front_end/third_party/lighthouse/locales/ar-XB.json +211 -79
  140. package/front_end/third_party/lighthouse/locales/ar.json +213 -81
  141. package/front_end/third_party/lighthouse/locales/bg.json +211 -79
  142. package/front_end/third_party/lighthouse/locales/ca.json +212 -80
  143. package/front_end/third_party/lighthouse/locales/cs.json +211 -79
  144. package/front_end/third_party/lighthouse/locales/da.json +211 -79
  145. package/front_end/third_party/lighthouse/locales/de.json +211 -79
  146. package/front_end/third_party/lighthouse/locales/el.json +213 -81
  147. package/front_end/third_party/lighthouse/locales/en-GB.json +211 -79
  148. package/front_end/third_party/lighthouse/locales/en-US.json +186 -75
  149. package/front_end/third_party/lighthouse/locales/en-XA.json +211 -79
  150. package/front_end/third_party/lighthouse/locales/en-XL.json +186 -75
  151. package/front_end/third_party/lighthouse/locales/es-419.json +211 -79
  152. package/front_end/third_party/lighthouse/locales/es.json +212 -80
  153. package/front_end/third_party/lighthouse/locales/fi.json +211 -79
  154. package/front_end/third_party/lighthouse/locales/fil.json +211 -79
  155. package/front_end/third_party/lighthouse/locales/fr.json +211 -79
  156. package/front_end/third_party/lighthouse/locales/he.json +212 -80
  157. package/front_end/third_party/lighthouse/locales/hi.json +214 -82
  158. package/front_end/third_party/lighthouse/locales/hr.json +211 -79
  159. package/front_end/third_party/lighthouse/locales/hu.json +211 -79
  160. package/front_end/third_party/lighthouse/locales/id.json +211 -79
  161. package/front_end/third_party/lighthouse/locales/it.json +211 -79
  162. package/front_end/third_party/lighthouse/locales/ja.json +211 -79
  163. package/front_end/third_party/lighthouse/locales/ko.json +211 -79
  164. package/front_end/third_party/lighthouse/locales/lt.json +211 -79
  165. package/front_end/third_party/lighthouse/locales/lv.json +214 -82
  166. package/front_end/third_party/lighthouse/locales/nl.json +211 -79
  167. package/front_end/third_party/lighthouse/locales/no.json +211 -79
  168. package/front_end/third_party/lighthouse/locales/pl.json +211 -79
  169. package/front_end/third_party/lighthouse/locales/pt-PT.json +211 -79
  170. package/front_end/third_party/lighthouse/locales/pt.json +211 -79
  171. package/front_end/third_party/lighthouse/locales/ro.json +212 -80
  172. package/front_end/third_party/lighthouse/locales/ru.json +211 -79
  173. package/front_end/third_party/lighthouse/locales/sk.json +211 -79
  174. package/front_end/third_party/lighthouse/locales/sl.json +211 -79
  175. package/front_end/third_party/lighthouse/locales/sr-Latn.json +211 -79
  176. package/front_end/third_party/lighthouse/locales/sr.json +211 -79
  177. package/front_end/third_party/lighthouse/locales/sv.json +211 -79
  178. package/front_end/third_party/lighthouse/locales/ta.json +218 -86
  179. package/front_end/third_party/lighthouse/locales/te.json +251 -119
  180. package/front_end/third_party/lighthouse/locales/th.json +211 -79
  181. package/front_end/third_party/lighthouse/locales/tr.json +211 -79
  182. package/front_end/third_party/lighthouse/locales/uk.json +212 -80
  183. package/front_end/third_party/lighthouse/locales/vi.json +211 -79
  184. package/front_end/third_party/lighthouse/locales/zh-HK.json +211 -79
  185. package/front_end/third_party/lighthouse/locales/zh-TW.json +211 -79
  186. package/front_end/third_party/lighthouse/locales/zh.json +211 -79
  187. package/front_end/third_party/lighthouse/report/bundle.d.ts +72 -34
  188. package/front_end/third_party/lighthouse/report/bundle.js +698 -492
  189. package/front_end/third_party/lighthouse/report-assets/report-generator.js +1 -2
  190. package/front_end/third_party/lighthouse/report-assets/report.js +40 -35
  191. package/front_end/third_party/lighthouse/report-assets/standalone-template.html +2 -4
  192. package/front_end/ui/components/code_highlighter/CodeHighlighter.ts +60 -68
  193. package/front_end/ui/components/data_grid/dataGrid.css +12 -10
  194. package/front_end/ui/components/docs/component_docs.ts +14 -0
  195. package/front_end/ui/components/docs/create_breadcrumbs.ts +1 -1
  196. package/front_end/ui/components/docs/css_overview/start_view.html +25 -0
  197. package/front_end/ui/components/docs/css_overview/start_view.ts +14 -0
  198. package/front_end/ui/components/docs/icon_button/basic.ts +3 -3
  199. package/front_end/ui/components/docs/toggle_dark_mode.ts +1 -0
  200. package/front_end/ui/components/docs/toggle_fonts.ts +2 -0
  201. package/front_end/ui/components/helpers/get-stylesheet.ts +0 -15
  202. package/front_end/ui/components/linear_memory_inspector/linear_memory_inspector-meta.ts +1 -2
  203. package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
  204. package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
  205. package/front_end/ui/components/text_editor/TextEditor.ts +79 -36
  206. package/front_end/ui/components/text_editor/config.ts +42 -26
  207. package/front_end/ui/components/text_editor/javascript.ts +2 -3
  208. package/front_end/ui/components/text_editor/position.ts +17 -0
  209. package/front_end/ui/components/text_editor/text_editor.ts +1 -0
  210. package/front_end/ui/components/text_editor/theme.ts +5 -1
  211. package/front_end/ui/components/tree_outline/TreeOutline.ts +63 -8
  212. package/front_end/ui/components/tree_outline/TreeOutlineUtils.ts +8 -6
  213. package/front_end/ui/legacy/Dialog.ts +3 -1
  214. package/front_end/ui/legacy/DropTarget.ts +2 -1
  215. package/front_end/ui/legacy/EmptyWidget.ts +2 -1
  216. package/front_end/ui/legacy/FilterBar.ts +2 -1
  217. package/front_end/ui/legacy/GlassPane.ts +4 -2
  218. package/front_end/ui/legacy/Infobar.ts +5 -8
  219. package/front_end/ui/legacy/InspectorView.ts +6 -1
  220. package/front_end/ui/legacy/ListWidget.ts +2 -1
  221. package/front_end/ui/legacy/PopoverHelper.ts +2 -1
  222. package/front_end/ui/legacy/ProgressIndicator.ts +2 -1
  223. package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +2 -1
  224. package/front_end/ui/legacy/ReportView.ts +2 -1
  225. package/front_end/ui/legacy/RootView.ts +2 -1
  226. package/front_end/ui/legacy/SearchableView.ts +2 -1
  227. package/front_end/ui/legacy/ShortcutRegistry.ts +11 -7
  228. package/front_end/ui/legacy/SoftContextMenu.ts +3 -2
  229. package/front_end/ui/legacy/SoftDropDown.ts +4 -2
  230. package/front_end/ui/legacy/SplitWidget.ts +2 -1
  231. package/front_end/ui/legacy/SuggestBox.ts +2 -1
  232. package/front_end/ui/legacy/TabbedPane.ts +2 -1
  233. package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -1
  234. package/front_end/ui/legacy/TextPrompt.ts +2 -1
  235. package/front_end/ui/legacy/Toolbar.ts +3 -2
  236. package/front_end/ui/legacy/Treeoutline.ts +4 -3
  237. package/front_end/ui/legacy/UIUtils.ts +17 -14
  238. package/front_end/ui/legacy/ViewManager.ts +2 -1
  239. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +1 -2
  240. package/front_end/ui/legacy/components/inline_editor/cssAngle.css +4 -0
  241. package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts +2 -2
  242. package/front_end/ui/legacy/components/object_ui/object_ui-meta.ts +0 -4
  243. package/front_end/ui/legacy/components/perf_ui/LineLevelProfile.ts +35 -131
  244. package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +0 -3
  245. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
  246. package/front_end/ui/legacy/components/quick_open/quick_open-meta.ts +2 -3
  247. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +3 -6
  248. package/front_end/ui/legacy/components/source_frame/FontView.ts +4 -1
  249. package/front_end/ui/legacy/components/source_frame/ImageView.ts +4 -1
  250. package/front_end/ui/legacy/components/source_frame/JSONView.ts +4 -1
  251. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +21 -15
  252. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +501 -252
  253. package/front_end/ui/legacy/components/source_frame/XMLView.ts +7 -2
  254. package/front_end/ui/legacy/components/source_frame/source_frame-legacy.ts +0 -11
  255. package/front_end/ui/legacy/components/source_frame/source_frame.ts +0 -2
  256. package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +2 -0
  257. package/front_end/ui/legacy/components/text_editor/cmdevtools.css +3 -1
  258. package/front_end/ui/legacy/components/text_editor/module.json +0 -3
  259. package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -15
  260. package/front_end/ui/legacy/radioButton.css +1 -13
  261. package/front_end/ui/legacy/textButton.css +5 -4
  262. package/front_end/ui/legacy/themeColors.css +36 -0
  263. package/front_end/ui/legacy/theme_support/theme_support_impl.ts +7 -9
  264. package/front_end/ui/legacy/utils/create-shadow-root-with-core-styles.ts +2 -2
  265. package/front_end/ui/legacy/utils/inject-core-styles.ts +7 -4
  266. package/package.json +1 -1
  267. package/scripts/check_gn.js +0 -35
  268. package/scripts/eslint_rules/lib/es_modules_import.js +15 -8
  269. package/scripts/eslint_rules/tests/es_modules_import_test.js +8 -0
  270. package/front_end/Images/radioDot-dark-theme.png +0 -0
  271. package/front_end/Images/radioDot.png +0 -0
  272. package/front_end/emulated_devices/module.json +0 -6
  273. package/front_end/panels/application/module.json +0 -6
  274. package/front_end/panels/emulation/module.json +0 -11
  275. package/front_end/panels/issues/module.json +0 -6
  276. package/front_end/panels/js_profiler/module.json +0 -5
  277. package/front_end/panels/layer_viewer/module.json +0 -5
  278. package/front_end/panels/layers/module.json +0 -5
  279. package/front_end/panels/media/module.json +0 -5
  280. package/front_end/panels/network/module.json +0 -5
  281. package/front_end/panels/profiler/module.json +0 -5
  282. package/front_end/panels/screencast/module.json +0 -6
  283. package/front_end/panels/security/module.json +0 -5
  284. package/front_end/panels/timeline/module.json +0 -7
  285. package/front_end/third_party/lighthouse/report-assets/report.css +0 -1774
  286. package/front_end/ui/legacy/components/source_frame/SourcesTextEditor.ts +0 -1030
  287. package/front_end/ui/legacy/components/source_frame/messagesPopover.css +0 -32
  288. package/front_end/ui/legacy/components/source_frame/module.json +0 -14
  289. 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,32 +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/layer_viewer/module.json",
60
- "front_end/panels/layers/module.json",
61
- "front_end/panels/media/module.json",
62
52
  "front_end/entrypoints/ndb_app/ndb_app.json",
63
53
  "front_end/legacy_test_runner/network_test_runner/network_test_runner.js",
64
- "front_end/panels/network/module.json",
65
54
  "front_end/entrypoints/node_main/nodeConnectionsPanel.css",
66
55
  "front_end/legacy_test_runner/performance_test_runner/performance_test_runner.js",
67
56
  "front_end/legacy_test_runner/performance_test_runner/TimelineDataTestRunner.js",
68
57
  "front_end/legacy_test_runner/performance_test_runner/TimelineTestRunner.js",
69
- "front_end/panels/profiler/module.json",
70
- "front_end/panels/issues/module.json",
71
58
  "front_end/models/issues_manager/descriptions/arAttributionEventSourceTriggerDataTooLarge.md",
72
59
  "front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyFrameOrigin.md",
73
60
  "front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyOrigin.md",
@@ -125,20 +112,9 @@ all_devtools_files = [
125
112
  "front_end/models/issues_manager/descriptions/TwaDigitalAssetLinksFailed.md",
126
113
  "front_end/models/issues_manager/descriptions/TwaHttpError.md",
127
114
  "front_end/models/issues_manager/descriptions/TwaPageUnavailableOffline.md",
128
- "front_end/panels/application/module.json",
129
- "front_end/panels/screencast/module.json",
130
115
  "front_end/legacy_test_runner/sdk_test_runner/sdk_test_runner.js",
131
116
  "front_end/legacy_test_runner/security_test_runner/security_test_runner.js",
132
- "front_end/panels/security/module.json",
133
117
  "front_end/entrypoints/shell/shell.json",
134
- "front_end/ui/legacy/components/source_frame/fontView.css",
135
- "front_end/ui/legacy/components/source_frame/imageView.css",
136
- "front_end/ui/legacy/components/source_frame/jsonView.css",
137
- "front_end/ui/legacy/components/source_frame/messagesPopover.css",
138
- "front_end/ui/legacy/components/source_frame/module.json",
139
- "front_end/ui/legacy/components/source_frame/resourceSourceFrame.css",
140
- "front_end/ui/legacy/components/source_frame/xmlTree.css",
141
- "front_end/ui/legacy/components/source_frame/xmlView.css",
142
118
  "front_end/legacy_test_runner/sources_test_runner/sources_test_runner.js",
143
119
  "front_end/legacy_test_runner/sources_test_runner/AutocompleteTestRunner.js",
144
120
  "front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js",
@@ -149,48 +125,8 @@ all_devtools_files = [
149
125
  "front_end/ui/legacy/components/text_editor/autocompleteTooltip.css",
150
126
  "front_end/ui/legacy/components/text_editor/cmdevtools.css",
151
127
  "front_end/ui/legacy/components/text_editor/module.json",
152
- "front_end/third_party/lighthouse/report-assets/report.css",
153
128
  "front_end/third_party/lighthouse/report-assets/report.js",
154
129
  "front_end/third_party/lighthouse/report-assets/standalone-template.html",
155
- "front_end/panels/timeline/module.json",
156
- "front_end/ui/legacy/checkboxTextLabel.css",
157
- "front_end/ui/legacy/closeButton.css",
158
- "front_end/ui/legacy/confirmDialog.css",
159
- "front_end/ui/legacy/dialog.css",
160
- "front_end/ui/legacy/dropTarget.css",
161
- "front_end/ui/legacy/emptyWidget.css",
162
- "front_end/ui/legacy/filter.css",
163
- "front_end/ui/legacy/glassPane.css",
164
- "front_end/ui/legacy/infobar.css",
165
- "front_end/ui/legacy/inlineButton.css",
166
- "front_end/ui/legacy/inspectorCommon.css",
167
- "front_end/ui/legacy/themeColors.css",
168
- "front_end/ui/legacy/inspectorSyntaxHighlight.css",
169
- "front_end/ui/legacy/inspectorSyntaxHighlightDark.css",
170
- "front_end/ui/legacy/inspectorViewTabbedPane.css",
171
- "front_end/ui/legacy/listWidget.css",
172
- "front_end/ui/legacy/module.json",
173
- "front_end/ui/legacy/popover.css",
174
- "front_end/ui/legacy/progressIndicator.css",
175
- "front_end/ui/legacy/radioButton.css",
176
- "front_end/ui/legacy/remoteDebuggingTerminatedScreen.css",
177
- "front_end/ui/legacy/reportView.css",
178
- "front_end/ui/legacy/rootView.css",
179
- "front_end/ui/legacy/searchableView.css",
180
- "front_end/ui/legacy/slider.css",
181
- "front_end/ui/legacy/smallBubble.css",
182
- "front_end/ui/legacy/softContextMenu.css",
183
- "front_end/ui/legacy/softDropDown.css",
184
- "front_end/ui/legacy/softDropDownButton.css",
185
- "front_end/ui/legacy/splitWidget.css",
186
- "front_end/ui/legacy/suggestBox.css",
187
- "front_end/ui/legacy/tabbedPane.css",
188
- "front_end/ui/legacy/targetCrashedScreen.css",
189
- "front_end/ui/legacy/textButton.css",
190
- "front_end/ui/legacy/textPrompt.css",
191
- "front_end/ui/legacy/toolbar.css",
192
- "front_end/ui/legacy/treeoutline.css",
193
- "front_end/ui/legacy/viewContainers.css",
194
130
  ]
195
131
 
196
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",
@@ -121,8 +120,6 @@ grd_files_release_sources = [
121
120
  "front_end/Images/profileGroupIcon.png",
122
121
  "front_end/Images/profileIcon.png",
123
122
  "front_end/Images/profileSmallIcon.png",
124
- "front_end/Images/radioDot-dark-theme.png",
125
- "front_end/Images/radioDot.png",
126
123
  "front_end/Images/refresh_12x12_icon.svg",
127
124
  "front_end/Images/resizeDiagonal.svg",
128
125
  "front_end/Images/resizeHorizontal.svg",
@@ -135,6 +132,7 @@ grd_files_release_sources = [
135
132
  "front_end/Images/smallIcons.svg",
136
133
  "front_end/Images/sources_panel_icon.svg",
137
134
  "front_end/Images/speech.png",
135
+ "front_end/Images/survey_feedback_icon.svg",
138
136
  "front_end/Images/switcherIcon.svg",
139
137
  "front_end/Images/three_dots_menu_icon.svg",
140
138
  "front_end/Images/toolbarResizerVertical.png",
@@ -164,7 +162,6 @@ grd_files_release_sources = [
164
162
  "front_end/device_mode_emulation_frame.html",
165
163
  "front_end/devtools_app.html",
166
164
  "front_end/devtools_compatibility.js",
167
- "front_end/emulated_devices/emulated_devices_module.js",
168
165
  "front_end/emulated_devices/optimized/MotoG4-landscape.avif",
169
166
  "front_end/emulated_devices/optimized/MotoG4-portrait.avif",
170
167
  "front_end/emulated_devices/optimized/Nexus5X-landscape.avif",
@@ -336,7 +333,6 @@ grd_files_release_sources = [
336
333
  "front_end/panels/application/application-legacy.js",
337
334
  "front_end/panels/application/application-meta.js",
338
335
  "front_end/panels/application/application.js",
339
- "front_end/panels/application/application_module.js",
340
336
  "front_end/panels/application/components/components.js",
341
337
  "front_end/panels/browser_debugger/browser_debugger-legacy.js",
342
338
  "front_end/panels/browser_debugger/browser_debugger-meta.js",
@@ -373,24 +369,19 @@ grd_files_release_sources = [
373
369
  "front_end/panels/issues/components/components.js",
374
370
  "front_end/panels/issues/issues-meta.js",
375
371
  "front_end/panels/issues/issues.js",
376
- "front_end/panels/issues/issues_module.js",
377
372
  "front_end/panels/js_profiler/js_profiler-meta.js",
378
373
  "front_end/panels/js_profiler/js_profiler.js",
379
- "front_end/panels/js_profiler/js_profiler_module.js",
380
374
  "front_end/panels/layer_viewer/layer_viewer-legacy.js",
381
375
  "front_end/panels/layer_viewer/layer_viewer-meta.js",
382
376
  "front_end/panels/layer_viewer/layer_viewer.js",
383
- "front_end/panels/layer_viewer/layer_viewer_module.js",
384
377
  "front_end/panels/layers/layers-meta.js",
385
378
  "front_end/panels/layers/layers.js",
386
- "front_end/panels/layers/layers_module.js",
387
379
  "front_end/panels/lighthouse/lighthouse-legacy.js",
388
380
  "front_end/panels/lighthouse/lighthouse-meta.js",
389
381
  "front_end/panels/lighthouse/lighthouse.js",
390
382
  "front_end/panels/lighthouse/lighthouse_module.js",
391
383
  "front_end/panels/media/media-meta.js",
392
384
  "front_end/panels/media/media.js",
393
- "front_end/panels/media/media_module.js",
394
385
  "front_end/panels/mobile_throttling/mobile_throttling-legacy.js",
395
386
  "front_end/panels/mobile_throttling/mobile_throttling-meta.js",
396
387
  "front_end/panels/mobile_throttling/mobile_throttling.js",
@@ -399,13 +390,11 @@ grd_files_release_sources = [
399
390
  "front_end/panels/network/network-legacy.js",
400
391
  "front_end/panels/network/network-meta.js",
401
392
  "front_end/panels/network/network.js",
402
- "front_end/panels/network/network_module.js",
403
393
  "front_end/panels/performance_monitor/performance_monitor-meta.js",
404
394
  "front_end/panels/performance_monitor/performance_monitor.js",
405
395
  "front_end/panels/profiler/profiler-legacy.js",
406
396
  "front_end/panels/profiler/profiler-meta.js",
407
397
  "front_end/panels/profiler/profiler.js",
408
- "front_end/panels/profiler/profiler_module.js",
409
398
  "front_end/panels/protocol_monitor/protocol_monitor-meta.js",
410
399
  "front_end/panels/protocol_monitor/protocol_monitor.js",
411
400
  "front_end/panels/screencast/screencast-meta.js",
@@ -415,7 +404,6 @@ grd_files_release_sources = [
415
404
  "front_end/panels/security/security-legacy.js",
416
405
  "front_end/panels/security/security-meta.js",
417
406
  "front_end/panels/security/security.js",
418
- "front_end/panels/security/security_module.js",
419
407
  "front_end/panels/sensors/sensors-meta.js",
420
408
  "front_end/panels/sensors/sensors.js",
421
409
  "front_end/panels/settings/components/components.js",
@@ -435,7 +423,6 @@ grd_files_release_sources = [
435
423
  "front_end/panels/timeline/timeline-legacy.js",
436
424
  "front_end/panels/timeline/timeline-meta.js",
437
425
  "front_end/panels/timeline/timeline.js",
438
- "front_end/panels/timeline/timeline_module.js",
439
426
  "front_end/panels/utils/utils.js",
440
427
  "front_end/panels/web_audio/graph_visualizer/graph_visualizer.js",
441
428
  "front_end/panels/web_audio/web_audio-legacy.js",
@@ -448,10 +435,7 @@ grd_files_release_sources = [
448
435
  "front_end/third_party/chromium/client-variations/client-variations.js",
449
436
  "front_end/third_party/codemirror.next/chunk/codemirror.js",
450
437
  "front_end/third_party/codemirror.next/chunk/cpp.js",
451
- "front_end/third_party/codemirror.next/chunk/css.js",
452
- "front_end/third_party/codemirror.next/chunk/html.js",
453
438
  "front_end/third_party/codemirror.next/chunk/java.js",
454
- "front_end/third_party/codemirror.next/chunk/javascript.js",
455
439
  "front_end/third_party/codemirror.next/chunk/json.js",
456
440
  "front_end/third_party/codemirror.next/chunk/legacy.js",
457
441
  "front_end/third_party/codemirror.next/chunk/markdown.js",
@@ -483,6 +467,7 @@ grd_files_release_sources = [
483
467
  "front_end/ui/components/linear_memory_inspector/linear_memory_inspector.js",
484
468
  "front_end/ui/components/linkifier/linkifier.js",
485
469
  "front_end/ui/components/markdown_view/markdown_view.js",
470
+ "front_end/ui/components/panel_feedback/panel_feedback.js",
486
471
  "front_end/ui/components/render_coordinator/render_coordinator.js",
487
472
  "front_end/ui/components/report_view/report_view.js",
488
473
  "front_end/ui/components/request_link_icon/request_link_icon.js",
@@ -974,6 +959,10 @@ grd_files_debug_sources = [
974
959
  "front_end/panels/emulation/InspectedPagePlaceholder.js",
975
960
  "front_end/panels/emulation/MediaQueryInspector.js",
976
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",
977
966
  "front_end/panels/event_listeners/EventListenersUtils.js",
978
967
  "front_end/panels/event_listeners/EventListenersView.js",
979
968
  "front_end/panels/event_listeners/eventListenersView.css.js",
@@ -1195,6 +1184,7 @@ grd_files_debug_sources = [
1195
1184
  "front_end/panels/sources/OpenFileQuickOpen.js",
1196
1185
  "front_end/panels/sources/OutlineQuickOpen.js",
1197
1186
  "front_end/panels/sources/Plugin.js",
1187
+ "front_end/panels/sources/ProfilePlugin.js",
1198
1188
  "front_end/panels/sources/ScopeChainSidebarPane.js",
1199
1189
  "front_end/panels/sources/ScriptFormatterEditorAction.js",
1200
1190
  "front_end/panels/sources/ScriptOriginPlugin.js",
@@ -1306,7 +1296,6 @@ grd_files_debug_sources = [
1306
1296
  "front_end/third_party/i18n/localized-string-set.js",
1307
1297
  "front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js",
1308
1298
  "front_end/third_party/lighthouse/report-assets/report-generator.js",
1309
- "front_end/third_party/lighthouse/report-assets/report.css.js",
1310
1299
  "front_end/third_party/lighthouse/report-assets/report.js",
1311
1300
  "front_end/third_party/lighthouse/report/bundle.js",
1312
1301
  "front_end/third_party/lit-html/directive.js",
@@ -1395,6 +1384,9 @@ grd_files_debug_sources = [
1395
1384
  "front_end/ui/components/markdown_view/markdownImage.css.js",
1396
1385
  "front_end/ui/components/markdown_view/markdownLink.css.js",
1397
1386
  "front_end/ui/components/markdown_view/markdownView.css.js",
1387
+ "front_end/ui/components/panel_feedback/FeedbackButton.js",
1388
+ "front_end/ui/components/panel_feedback/PanelFeedback.js",
1389
+ "front_end/ui/components/panel_feedback/panelFeedback.css.js",
1398
1390
  "front_end/ui/components/render_coordinator/RenderCoordinator.js",
1399
1391
  "front_end/ui/components/report_view/ReportView.js",
1400
1392
  "front_end/ui/components/report_view/report.css.js",
@@ -1412,6 +1404,7 @@ grd_files_debug_sources = [
1412
1404
  "front_end/ui/components/text_editor/config.js",
1413
1405
  "front_end/ui/components/text_editor/cursor_tooltip.js",
1414
1406
  "front_end/ui/components/text_editor/javascript.js",
1407
+ "front_end/ui/components/text_editor/position.js",
1415
1408
  "front_end/ui/components/text_editor/theme.js",
1416
1409
  "front_end/ui/components/text_prompt/TextPrompt.js",
1417
1410
  "front_end/ui/components/text_prompt/textPrompt.css.js",
@@ -1474,6 +1467,8 @@ grd_files_debug_sources = [
1474
1467
  "front_end/ui/legacy/XLink.js",
1475
1468
  "front_end/ui/legacy/XWidget.js",
1476
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",
1477
1472
  "front_end/ui/legacy/components/color_picker/ContrastDetails.js",
1478
1473
  "front_end/ui/legacy/components/color_picker/ContrastInfo.js",
1479
1474
  "front_end/ui/legacy/components/color_picker/ContrastOverlay.js",
@@ -1558,8 +1553,13 @@ grd_files_debug_sources = [
1558
1553
  "front_end/ui/legacy/components/source_frame/PreviewFactory.js",
1559
1554
  "front_end/ui/legacy/components/source_frame/ResourceSourceFrame.js",
1560
1555
  "front_end/ui/legacy/components/source_frame/SourceFrame.js",
1561
- "front_end/ui/legacy/components/source_frame/SourcesTextEditor.js",
1562
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",
1563
1563
  "front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.js",
1564
1564
  "front_end/ui/legacy/components/text_editor/TextEditorAutocompleteController.js",
1565
1565
  "front_end/ui/legacy/components/text_editor/cm_modes.js",
@@ -1570,15 +1570,50 @@ grd_files_debug_sources = [
1570
1570
  "front_end/ui/legacy/components/utils/TargetDetachedDialog.js",
1571
1571
  "front_end/ui/legacy/components/utils/imagePreview.css.js",
1572
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",
1573
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",
1574
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",
1575
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",
1576
1610
  "front_end/ui/legacy/utils/append-style.js",
1577
1611
  "front_end/ui/legacy/utils/create-shadow-root-with-core-styles.js",
1578
1612
  "front_end/ui/legacy/utils/focus-changed.js",
1579
1613
  "front_end/ui/legacy/utils/inject-core-styles.js",
1580
1614
  "front_end/ui/legacy/utils/measured-scrollbar-width.js",
1581
1615
  "front_end/ui/legacy/utils/register-custom-element.js",
1616
+ "front_end/ui/legacy/viewContainers.css.legacy.js",
1582
1617
  "front_end/ui/lit-html/static.js",
1583
1618
  ]
1584
1619
 
@@ -21,8 +21,6 @@ devtools_image_files = [
21
21
  "profileGroupIcon.png",
22
22
  "profileIcon.png",
23
23
  "profileSmallIcon.png",
24
- "radioDot-dark-theme.png",
25
- "radioDot.png",
26
24
  "resourcesTimeGraphIcon.avif",
27
25
  "searchNext.png",
28
26
  "searchPrev.png",
@@ -65,7 +63,6 @@ devtools_svg_sources = [
65
63
  "errorWave.svg",
66
64
  "error_icon.svg",
67
65
  "feedback_button_icon.svg",
68
- "feedback_thin_16x16_icon.svg",
69
66
  "flex-direction-icon.svg",
70
67
  "flex-nowrap-icon.svg",
71
68
  "flex-wrap-icon.svg",
@@ -134,6 +131,7 @@ devtools_svg_sources = [
134
131
  "settings_14x14_icon.svg",
135
132
  "smallIcons.svg",
136
133
  "sources_panel_icon.svg",
134
+ "survey_feedback_icon.svg",
137
135
  "switcherIcon.svg",
138
136
  "three_dots_menu_icon.svg",
139
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>
@@ -146,6 +146,7 @@
146
146
  await Promise.all([
147
147
  self.runtime.loadLegacyModule('core/common/common-legacy.js'),
148
148
  self.runtime.loadLegacyModule('core/sdk/sdk-legacy.js'),
149
+ self.runtime.loadLegacyModule('core/host/host-legacy.js'),
149
150
  self.runtime.loadLegacyModule('ui/legacy/legacy-legacy.js'),
150
151
  self.runtime.loadLegacyModule('models/workspace/workspace-legacy.js'),
151
152
  ]);
@@ -1453,38 +1454,6 @@
1453
1454
  this.releaseControl();
1454
1455
  };
1455
1456
 
1456
- TestSuite.prototype.testInputDispatchEventsToCorrectTarget = async function() {
1457
- this.takeControl();
1458
-
1459
- const mainTarget = self.SDK.targetManager.mainTarget();
1460
- const otherTarget = await createIsolatedTarget('about:blank');
1461
-
1462
- const setupLogging = `
1463
- window.logs = [];
1464
- ['dragenter', 'keydown', 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup',
1465
- 'click', 'touchcancel', 'touchend', 'touchmove', 'touchstart',
1466
- ].forEach((event) => window.addEventListener(event, (e) => logs.push(e.type)));`;
1467
- await evalCode(mainTarget, setupLogging);
1468
- await evalCode(otherTarget, setupLogging);
1469
-
1470
- const inputAgent = mainTarget.inputAgent();
1471
- await inputAgent.invoke_dispatchMouseEvent({type: 'mousePressed', button: 'left', clickCount: 1, x: 100, y: 250});
1472
- await inputAgent.invoke_dispatchMouseEvent({type: 'mouseMoved', button: 'left', clickCount: 1, x: 110, y: 270});
1473
- await inputAgent.invoke_dispatchMouseEvent({type: 'mouseReleased', button: 'left', clickCount: 1, x: 110, y: 270});
1474
- await inputAgent.invoke_dispatchDragEvent(
1475
- {type: 'dragEnter', x: 100, y: 250, data: {items: [], dragOperationsMask: 1}});
1476
- await inputAgent.invoke_synthesizeTapGesture({x: 100, y: 250});
1477
- await inputAgent.invoke_dispatchKeyEvent({type: 'keyDown', key: 'a'});
1478
-
1479
- const mainTargetEvents = await evalCode(mainTarget, ' logs.join(\' \')');
1480
- const otherTargetEvents = await evalCode(otherTarget, 'logs.join(\' \')');
1481
- this.assertEquals(
1482
- 'mainTargetEvents: mouseover mousedown mousemove mouseup click dragenter keydown; otherTargetEvents: ',
1483
- `mainTargetEvents: ${mainTargetEvents}; otherTargetEvents: ${otherTargetEvents}`);
1484
-
1485
- this.releaseControl();
1486
- };
1487
-
1488
1457
  TestSuite.prototype.testLoadResourceForFrontend = async function(baseURL, fileURL) {
1489
1458
  const test = this;
1490
1459
  const loggedHeaders = new Set(['cache-control', 'pragma']);
@@ -662,6 +662,11 @@ export class Color {
662
662
  setFormat(format: Format): void {
663
663
  this.#formatInternal = format;
664
664
  }
665
+
666
+ equal(other: Color): boolean {
667
+ return this.#rgbaInternal.every((v, i) => v === other.#rgbaInternal[i]) &&
668
+ this.#formatInternal === other.#formatInternal;
669
+ }
665
670
  }
666
671
 
667
672
  export const Regex: RegExp =
@@ -632,6 +632,9 @@
632
632
  "core/sdk/sdk-meta.ts | doNotShowGridTrackSizes": {
633
633
  "message": "Do not show grid track sizes"
634
634
  },
635
+ "core/sdk/sdk-meta.ts | doNotShowRulersOnHover": {
636
+ "message": "Do not show rulers on hover"
637
+ },
635
638
  "core/sdk/sdk-meta.ts | emulateAchromatopsia": {
636
639
  "message": "Emulate achromatopsia"
637
640
  },
@@ -785,8 +788,8 @@
785
788
  "core/sdk/sdk-meta.ts | showPaintFlashingRectangles": {
786
789
  "message": "Show paint flashing rectangles"
787
790
  },
788
- "core/sdk/sdk-meta.ts | showRulers": {
789
- "message": "Show rulers"
791
+ "core/sdk/sdk-meta.ts | showRulersOnHover": {
792
+ "message": "Show rulers on hover"
790
793
  },
791
794
  "core/sdk/sdk-meta.ts | showScrollPerformanceBottlenecks": {
792
795
  "message": "Show scroll performance bottlenecks"
@@ -2574,7 +2577,7 @@
2574
2577
  "message": "Pages that show Printing UI are not currently eligible for back/forward cache."
2575
2578
  },
2576
2579
  "panels/application/BackForwardCacheStrings.ts | relatedActiveContentsExist": {
2577
- "message": "The page was opened using window.open() and another tab has a reference to it, or the page opened a window."
2580
+ "message": "The page was opened using 'window.open()' and another tab has a reference to it, or the page opened a window."
2578
2581
  },
2579
2582
  "panels/application/BackForwardCacheStrings.ts | rendererProcessCrashed": {
2580
2583
  "message": "The renderer process for the page in back/forward cache crashed."
@@ -4115,21 +4118,12 @@
4115
4118
  "panels/coverage/CoverageView.ts | urlFilter": {
4116
4119
  "message": "URL filter"
4117
4120
  },
4118
- "panels/css_overview/components/CSSOverviewStartView.ts | activelyWorkingAndLookingForS": {
4119
- "message": "Our team is actively working on this feature and we are looking for your {PH1}!"
4120
- },
4121
4121
  "panels/css_overview/components/CSSOverviewStartView.ts | captureOverview": {
4122
4122
  "message": "Capture overview"
4123
4123
  },
4124
4124
  "panels/css_overview/components/CSSOverviewStartView.ts | capturePageCSSOverview": {
4125
4125
  "message": "Capture an overview of your page’s CSS"
4126
4126
  },
4127
- "panels/css_overview/components/CSSOverviewStartView.ts | feedbackInline": {
4128
- "message": "feedback"
4129
- },
4130
- "panels/css_overview/components/CSSOverviewStartView.ts | feedbackStandalone": {
4131
- "message": "Feedback"
4132
- },
4133
4127
  "panels/css_overview/components/CSSOverviewStartView.ts | identifyCSSImprovements": {
4134
4128
  "message": "Identify potential CSS improvements"
4135
4129
  },
@@ -4139,15 +4133,9 @@
4139
4133
  "panels/css_overview/components/CSSOverviewStartView.ts | locateAffectedElements": {
4140
4134
  "message": "Locate the affected elements in the Elements panel"
4141
4135
  },
4142
- "panels/css_overview/components/CSSOverviewStartView.ts | previewFeature": {
4143
- "message": "Preview feature"
4144
- },
4145
4136
  "panels/css_overview/components/CSSOverviewStartView.ts | quickStartWithCSSOverview": {
4146
4137
  "message": "Quick start: get started with the new CSS Overview panel"
4147
4138
  },
4148
- "panels/css_overview/components/CSSOverviewStartView.ts | videoAndDocumentation": {
4149
- "message": "Video and documentation"
4150
- },
4151
4139
  "panels/css_overview/css_overview-meta.ts | cssOverview": {
4152
4140
  "message": "CSS Overview"
4153
4141
  },
@@ -4995,7 +4983,7 @@
4995
4983
  "message": "Hide media queries"
4996
4984
  },
4997
4985
  "panels/emulation/emulation-meta.ts | hideRulers": {
4998
- "message": "Hide rulers"
4986
+ "message": "Hide rulers in the Device Mode toolbar"
4999
4987
  },
5000
4988
  "panels/emulation/emulation-meta.ts | showDeviceFrame": {
5001
4989
  "message": "Show device frame"
@@ -5004,7 +4992,7 @@
5004
4992
  "message": "Show media queries"
5005
4993
  },
5006
4994
  "panels/emulation/emulation-meta.ts | showRulers": {
5007
- "message": "Show rulers"
4995
+ "message": "Show rulers in the Device Mode toolbar"
5008
4996
  },
5009
4997
  "panels/emulation/emulation-meta.ts | toggleDeviceToolbar": {
5010
4998
  "message": "Toggle device toolbar"
@@ -9437,6 +9425,15 @@
9437
9425
  "panels/sources/OutlineQuickOpen.ts | openAJavascriptOrCssFileToSee": {
9438
9426
  "message": "Open a JavaScript or CSS file to see symbols"
9439
9427
  },
9428
+ "panels/sources/ProfilePlugin.ts | kb": {
9429
+ "message": "kB"
9430
+ },
9431
+ "panels/sources/ProfilePlugin.ts | mb": {
9432
+ "message": "MB"
9433
+ },
9434
+ "panels/sources/ProfilePlugin.ts | ms": {
9435
+ "message": "ms"
9436
+ },
9440
9437
  "panels/sources/ScopeChainSidebarPane.ts | closure": {
9441
9438
  "message": "Closure"
9442
9439
  },
@@ -11849,15 +11846,6 @@
11849
11846
  "ui/legacy/components/perf_ui/FlameChart.ts | sSelected": {
11850
11847
  "message": "{PH1} selected"
11851
11848
  },
11852
- "ui/legacy/components/perf_ui/LineLevelProfile.ts | kb": {
11853
- "message": "kB"
11854
- },
11855
- "ui/legacy/components/perf_ui/LineLevelProfile.ts | mb": {
11856
- "message": "MB"
11857
- },
11858
- "ui/legacy/components/perf_ui/LineLevelProfile.ts | ms": {
11859
- "message": "ms"
11860
- },
11861
11849
  "ui/legacy/components/perf_ui/NetworkPriorities.ts | high": {
11862
11850
  "message": "High"
11863
11851
  },