chrome-devtools-frontend 1.0.941095 → 1.0.943017

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 (254) hide show
  1. package/WATCHLISTS +1 -1
  2. package/config/gni/all_devtools_files.gni +0 -62
  3. package/config/gni/devtools_grd_files.gni +55 -19
  4. package/config/gni/devtools_image_files.gni +2 -3
  5. package/front_end/.eslintrc.js +12 -1
  6. package/front_end/Images/src/feedback_button_icon.svg +3 -0
  7. package/front_end/Images/src/{feedback_thin_16x16_icon.svg → survey_feedback_icon.svg} +1 -1
  8. package/front_end/Tests.js +1 -32
  9. package/front_end/core/common/Color.ts +5 -0
  10. package/front_end/core/i18n/locales/en-US.json +20 -29
  11. package/front_end/core/i18n/locales/en-XL.json +20 -29
  12. package/front_end/core/sdk/CPUProfilerModel.ts +7 -9
  13. package/front_end/core/sdk/ConsoleModel.ts +26 -28
  14. package/front_end/core/sdk/DebuggerModel.ts +4 -14
  15. package/front_end/core/sdk/sdk-meta.ts +17 -3
  16. package/front_end/entrypoints/devtools_app/devtools_app.json +1 -11
  17. package/front_end/entrypoints/inspector/inspector.json +1 -3
  18. package/front_end/entrypoints/js_app/js_app.json +1 -3
  19. package/front_end/entrypoints/main/MainImpl.ts +26 -0
  20. package/front_end/entrypoints/node_app/node_app.json +1 -3
  21. package/front_end/entrypoints/shell/shell.js +0 -11
  22. package/front_end/entrypoints/shell/shell.json +1 -5
  23. package/front_end/entrypoints/worker_app/worker_app.json +1 -7
  24. package/front_end/generated/InspectorBackendCommands.js +19 -0
  25. package/front_end/generated/protocol-mapping.d.ts +31 -1
  26. package/front_end/generated/protocol-proxy-api.d.ts +34 -2
  27. package/front_end/generated/protocol.d.ts +81 -6
  28. package/front_end/global_typings/global_defs.d.ts +5 -0
  29. package/front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js +2 -2
  30. package/front_end/legacy_test_runner/console_test_runner/console_test_runner.js +14 -2
  31. package/front_end/legacy_test_runner/legacy_test_runner.ts +10 -1
  32. package/front_end/legacy_test_runner/test_runner/TestRunner.js +11 -0
  33. package/front_end/models/formatter/SourceFormatter.ts +0 -10
  34. package/front_end/models/workspace/UISourceCode.ts +9 -42
  35. package/front_end/panels/animation/AnimationTimeline.ts +3 -3
  36. package/front_end/panels/application/ApplicationPanelSidebar.ts +3 -3
  37. package/front_end/panels/application/BackForwardCacheStrings.ts +3 -1
  38. package/front_end/panels/application/application-meta.ts +0 -3
  39. package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
  40. package/front_end/panels/application/components/ReportsGrid.ts +1 -1
  41. package/front_end/panels/console/ConsolePinPane.ts +21 -26
  42. package/front_end/panels/coverage/CoverageDecorationManager.ts +4 -5
  43. package/front_end/panels/coverage/CoverageView.ts +2 -105
  44. package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +11 -56
  45. package/front_end/panels/css_overview/components/cssOverviewStartView.css +1 -8
  46. package/front_end/panels/elements/ElementsTreeElement.ts +4 -9
  47. package/front_end/panels/elements/components/StylePropertyEditor.ts +2 -0
  48. package/front_end/panels/elements/components/adornerSettingsPane.css +0 -4
  49. package/front_end/panels/emulation/DeviceModeToolbar.ts +3 -1
  50. package/front_end/panels/emulation/DeviceModeView.ts +2 -1
  51. package/front_end/panels/emulation/InspectedPagePlaceholder.ts +3 -1
  52. package/front_end/panels/emulation/MediaQueryInspector.ts +3 -1
  53. package/front_end/panels/emulation/emulation-meta.ts +2 -4
  54. package/front_end/panels/issues/issues-meta.ts +0 -2
  55. package/front_end/panels/js_profiler/js_profiler-meta.ts +0 -3
  56. package/front_end/panels/layers/module.json +0 -1
  57. package/front_end/panels/lighthouse/LighthousePanel.ts +2 -4
  58. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +1 -4
  59. package/front_end/panels/lighthouse/lighthouseStartView.css +4 -0
  60. package/front_end/panels/lighthouse/module.json +0 -6
  61. package/front_end/panels/media/media-meta.ts +0 -3
  62. package/front_end/panels/network/ResourceWebSocketFrameView.ts +2 -1
  63. package/front_end/panels/network/network-meta.ts +0 -3
  64. package/front_end/panels/profiler/CPUProfileView.ts +10 -3
  65. package/front_end/panels/profiler/profiler-meta.ts +0 -2
  66. package/front_end/panels/screencast/screencast-meta.ts +0 -3
  67. package/front_end/panels/security/security-meta.ts +0 -3
  68. package/front_end/panels/sources/BreakpointEditDialog.ts +16 -30
  69. package/front_end/panels/sources/CSSPlugin.ts +310 -331
  70. package/front_end/panels/sources/CallStackSidebarPane.ts +28 -34
  71. package/front_end/panels/sources/CoveragePlugin.ts +121 -6
  72. package/front_end/panels/sources/DebuggerPlugin.ts +1166 -1243
  73. package/front_end/panels/sources/EditingLocationHistoryManager.ts +71 -101
  74. package/front_end/panels/sources/GoToLineQuickOpen.ts +4 -3
  75. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +3 -3
  76. package/front_end/panels/sources/JavaScriptCompilerPlugin.ts +26 -23
  77. package/front_end/panels/sources/Plugin.ts +20 -4
  78. package/front_end/panels/sources/ProfilePlugin.ts +185 -0
  79. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +3 -3
  80. package/front_end/panels/sources/ScriptOriginPlugin.ts +0 -10
  81. package/front_end/panels/sources/SnippetsPlugin.ts +1 -10
  82. package/front_end/panels/sources/SourcesPanel.ts +6 -5
  83. package/front_end/panels/sources/SourcesView.ts +10 -8
  84. package/front_end/panels/sources/TabbedEditorContainer.ts +31 -27
  85. package/front_end/panels/sources/UISourceCodeFrame.ts +335 -470
  86. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +3 -2
  87. package/front_end/panels/sources/sources-legacy.ts +0 -6
  88. package/front_end/panels/sources/sources-meta.ts +1 -4
  89. package/front_end/panels/sources/sources.ts +0 -2
  90. package/front_end/panels/timeline/timeline-meta.ts +0 -5
  91. package/front_end/third_party/codemirror.next/bundle.ts +9 -13
  92. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  93. package/front_end/third_party/codemirror.next/chunk/javascript.js +2 -2
  94. package/front_end/third_party/codemirror.next/chunk/markdown.js +2 -6
  95. package/front_end/third_party/codemirror.next/chunk/php.js +2 -6
  96. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  97. package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
  98. package/front_end/third_party/codemirror.next/chunk/xml.js +2 -2
  99. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +279 -198
  100. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  101. package/front_end/third_party/codemirror.next/package.json +13 -11
  102. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1128 -1158
  103. package/front_end/third_party/lighthouse/locales/ar-XB.json +211 -79
  104. package/front_end/third_party/lighthouse/locales/ar.json +213 -81
  105. package/front_end/third_party/lighthouse/locales/bg.json +211 -79
  106. package/front_end/third_party/lighthouse/locales/ca.json +212 -80
  107. package/front_end/third_party/lighthouse/locales/cs.json +211 -79
  108. package/front_end/third_party/lighthouse/locales/da.json +211 -79
  109. package/front_end/third_party/lighthouse/locales/de.json +211 -79
  110. package/front_end/third_party/lighthouse/locales/el.json +213 -81
  111. package/front_end/third_party/lighthouse/locales/en-GB.json +211 -79
  112. package/front_end/third_party/lighthouse/locales/en-US.json +186 -75
  113. package/front_end/third_party/lighthouse/locales/en-XA.json +211 -79
  114. package/front_end/third_party/lighthouse/locales/en-XL.json +186 -75
  115. package/front_end/third_party/lighthouse/locales/es-419.json +211 -79
  116. package/front_end/third_party/lighthouse/locales/es.json +212 -80
  117. package/front_end/third_party/lighthouse/locales/fi.json +211 -79
  118. package/front_end/third_party/lighthouse/locales/fil.json +211 -79
  119. package/front_end/third_party/lighthouse/locales/fr.json +211 -79
  120. package/front_end/third_party/lighthouse/locales/he.json +212 -80
  121. package/front_end/third_party/lighthouse/locales/hi.json +214 -82
  122. package/front_end/third_party/lighthouse/locales/hr.json +211 -79
  123. package/front_end/third_party/lighthouse/locales/hu.json +211 -79
  124. package/front_end/third_party/lighthouse/locales/id.json +211 -79
  125. package/front_end/third_party/lighthouse/locales/it.json +211 -79
  126. package/front_end/third_party/lighthouse/locales/ja.json +211 -79
  127. package/front_end/third_party/lighthouse/locales/ko.json +211 -79
  128. package/front_end/third_party/lighthouse/locales/lt.json +211 -79
  129. package/front_end/third_party/lighthouse/locales/lv.json +214 -82
  130. package/front_end/third_party/lighthouse/locales/nl.json +211 -79
  131. package/front_end/third_party/lighthouse/locales/no.json +211 -79
  132. package/front_end/third_party/lighthouse/locales/pl.json +211 -79
  133. package/front_end/third_party/lighthouse/locales/pt-PT.json +211 -79
  134. package/front_end/third_party/lighthouse/locales/pt.json +211 -79
  135. package/front_end/third_party/lighthouse/locales/ro.json +212 -80
  136. package/front_end/third_party/lighthouse/locales/ru.json +211 -79
  137. package/front_end/third_party/lighthouse/locales/sk.json +211 -79
  138. package/front_end/third_party/lighthouse/locales/sl.json +211 -79
  139. package/front_end/third_party/lighthouse/locales/sr-Latn.json +211 -79
  140. package/front_end/third_party/lighthouse/locales/sr.json +211 -79
  141. package/front_end/third_party/lighthouse/locales/sv.json +211 -79
  142. package/front_end/third_party/lighthouse/locales/ta.json +218 -86
  143. package/front_end/third_party/lighthouse/locales/te.json +251 -119
  144. package/front_end/third_party/lighthouse/locales/th.json +211 -79
  145. package/front_end/third_party/lighthouse/locales/tr.json +211 -79
  146. package/front_end/third_party/lighthouse/locales/uk.json +212 -80
  147. package/front_end/third_party/lighthouse/locales/vi.json +211 -79
  148. package/front_end/third_party/lighthouse/locales/zh-HK.json +211 -79
  149. package/front_end/third_party/lighthouse/locales/zh-TW.json +211 -79
  150. package/front_end/third_party/lighthouse/locales/zh.json +211 -79
  151. package/front_end/third_party/lighthouse/report/bundle.d.ts +72 -34
  152. package/front_end/third_party/lighthouse/report/bundle.js +698 -492
  153. package/front_end/third_party/lighthouse/report-assets/report-generator.js +1 -2
  154. package/front_end/third_party/lighthouse/report-assets/report.js +40 -35
  155. package/front_end/third_party/lighthouse/report-assets/standalone-template.html +2 -4
  156. package/front_end/ui/components/code_highlighter/CodeHighlighter.ts +60 -68
  157. package/front_end/ui/components/data_grid/dataGrid.css +12 -10
  158. package/front_end/ui/components/docs/css_overview/start_view.html +25 -0
  159. package/front_end/ui/components/docs/css_overview/start_view.ts +14 -0
  160. package/front_end/ui/components/docs/icon_button/basic.ts +3 -3
  161. package/front_end/ui/components/docs/panel_feedback/button.html +25 -0
  162. package/front_end/ui/components/docs/panel_feedback/button.ts +18 -0
  163. package/front_end/ui/components/helpers/get-stylesheet.ts +0 -14
  164. package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
  165. package/front_end/ui/components/panel_feedback/FeedbackButton.ts +67 -0
  166. package/front_end/ui/components/panel_feedback/panel_feedback.ts +1 -0
  167. package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
  168. package/front_end/ui/components/text_editor/TextEditor.ts +79 -36
  169. package/front_end/ui/components/text_editor/config.ts +42 -26
  170. package/front_end/ui/components/text_editor/javascript.ts +2 -3
  171. package/front_end/ui/components/text_editor/position.ts +17 -0
  172. package/front_end/ui/components/text_editor/text_editor.ts +1 -0
  173. package/front_end/ui/components/text_editor/theme.ts +5 -1
  174. package/front_end/ui/legacy/Dialog.ts +3 -1
  175. package/front_end/ui/legacy/DropTarget.ts +2 -1
  176. package/front_end/ui/legacy/EmptyWidget.ts +2 -1
  177. package/front_end/ui/legacy/FilterBar.ts +2 -1
  178. package/front_end/ui/legacy/GlassPane.ts +4 -2
  179. package/front_end/ui/legacy/Infobar.ts +5 -8
  180. package/front_end/ui/legacy/InspectorView.ts +6 -1
  181. package/front_end/ui/legacy/ListWidget.ts +2 -1
  182. package/front_end/ui/legacy/PopoverHelper.ts +2 -1
  183. package/front_end/ui/legacy/ProgressIndicator.ts +2 -1
  184. package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +2 -1
  185. package/front_end/ui/legacy/ReportView.ts +2 -1
  186. package/front_end/ui/legacy/RootView.ts +2 -1
  187. package/front_end/ui/legacy/SearchableView.ts +2 -1
  188. package/front_end/ui/legacy/ShortcutRegistry.ts +11 -7
  189. package/front_end/ui/legacy/SoftContextMenu.ts +2 -1
  190. package/front_end/ui/legacy/SoftDropDown.ts +4 -2
  191. package/front_end/ui/legacy/SplitWidget.ts +2 -1
  192. package/front_end/ui/legacy/SuggestBox.ts +2 -1
  193. package/front_end/ui/legacy/TabbedPane.ts +2 -1
  194. package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -1
  195. package/front_end/ui/legacy/TextPrompt.ts +2 -1
  196. package/front_end/ui/legacy/Toolbar.ts +3 -2
  197. package/front_end/ui/legacy/Treeoutline.ts +3 -2
  198. package/front_end/ui/legacy/UIUtils.ts +16 -13
  199. package/front_end/ui/legacy/ViewManager.ts +2 -1
  200. package/front_end/ui/legacy/Widget.ts +1 -1
  201. package/front_end/ui/legacy/components/object_ui/object_ui-meta.ts +0 -3
  202. package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +2 -1
  203. package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +3 -1
  204. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +2 -1
  205. package/front_end/ui/legacy/components/perf_ui/LineLevelProfile.ts +35 -131
  206. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +2 -1
  207. package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +3 -1
  208. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -1
  209. package/front_end/ui/legacy/components/perf_ui/perf_ui-meta.ts +0 -2
  210. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
  211. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +3 -6
  212. package/front_end/ui/legacy/components/source_frame/FontView.ts +1 -0
  213. package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -0
  214. package/front_end/ui/legacy/components/source_frame/JSONView.ts +1 -0
  215. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +19 -14
  216. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +501 -252
  217. package/front_end/ui/legacy/components/source_frame/XMLView.ts +2 -0
  218. package/front_end/ui/legacy/components/source_frame/module.json +0 -3
  219. package/front_end/ui/legacy/components/source_frame/source_frame-legacy.ts +0 -11
  220. package/front_end/ui/legacy/components/source_frame/source_frame.ts +0 -2
  221. package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +2 -0
  222. package/front_end/ui/legacy/components/text_editor/cmdevtools.css +3 -1
  223. package/front_end/ui/legacy/components/text_editor/module.json +0 -3
  224. package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -15
  225. package/front_end/ui/legacy/radioButton.css +1 -13
  226. package/front_end/ui/legacy/textButton.css +5 -4
  227. package/front_end/ui/legacy/themeColors.css +36 -0
  228. package/front_end/ui/legacy/theme_support/theme_support_impl.ts +7 -9
  229. package/front_end/ui/legacy/utils/append-style.ts +9 -4
  230. package/front_end/ui/legacy/utils/create-shadow-root-with-core-styles.ts +2 -2
  231. package/front_end/ui/legacy/utils/inject-core-styles.ts +7 -4
  232. package/package.json +1 -1
  233. package/scripts/build/generate_css_js_files.js +23 -9
  234. package/scripts/build/ninja/generate_css.gni +10 -1
  235. package/scripts/eslint_rules/lib/check_css_import.js +2 -2
  236. package/scripts/eslint_rules/tests/check_css_import_test.js +12 -0
  237. package/front_end/Images/radioDot-dark-theme.png +0 -0
  238. package/front_end/Images/radioDot.png +0 -0
  239. package/front_end/emulated_devices/module.json +0 -6
  240. package/front_end/panels/application/module.json +0 -7
  241. package/front_end/panels/emulation/module.json +0 -11
  242. package/front_end/panels/issues/module.json +0 -6
  243. package/front_end/panels/js_profiler/module.json +0 -5
  244. package/front_end/panels/layer_viewer/module.json +0 -6
  245. package/front_end/panels/media/module.json +0 -6
  246. package/front_end/panels/network/module.json +0 -6
  247. package/front_end/panels/profiler/module.json +0 -6
  248. package/front_end/panels/screencast/module.json +0 -6
  249. package/front_end/panels/security/module.json +0 -5
  250. package/front_end/panels/timeline/module.json +0 -8
  251. package/front_end/third_party/lighthouse/report-assets/report.css +0 -1774
  252. package/front_end/ui/legacy/components/perf_ui/module.json +0 -13
  253. package/front_end/ui/legacy/components/source_frame/SourcesTextEditor.ts +0 -1030
  254. 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,39 +42,20 @@ 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
52
  "front_end/panels/layers/module.json",
61
- "front_end/panels/media/module.json",
62
53
  "front_end/entrypoints/ndb_app/ndb_app.json",
63
54
  "front_end/legacy_test_runner/network_test_runner/network_test_runner.js",
64
- "front_end/panels/network/module.json",
65
55
  "front_end/entrypoints/node_main/nodeConnectionsPanel.css",
66
- "front_end/ui/legacy/components/perf_ui/chartViewport.css",
67
- "front_end/ui/legacy/components/perf_ui/filmStripView.css",
68
- "front_end/ui/legacy/components/perf_ui/flameChart.css",
69
- "front_end/ui/legacy/components/perf_ui/module.json",
70
- "front_end/ui/legacy/components/perf_ui/overviewGrid.css",
71
- "front_end/ui/legacy/components/perf_ui/timelineGrid.css",
72
- "front_end/ui/legacy/components/perf_ui/timelineOverviewInfo.css",
73
56
  "front_end/legacy_test_runner/performance_test_runner/performance_test_runner.js",
74
57
  "front_end/legacy_test_runner/performance_test_runner/TimelineDataTestRunner.js",
75
58
  "front_end/legacy_test_runner/performance_test_runner/TimelineTestRunner.js",
76
- "front_end/panels/profiler/module.json",
77
- "front_end/panels/issues/module.json",
78
59
  "front_end/models/issues_manager/descriptions/arAttributionEventSourceTriggerDataTooLarge.md",
79
60
  "front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyFrameOrigin.md",
80
61
  "front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyOrigin.md",
@@ -132,11 +113,8 @@ all_devtools_files = [
132
113
  "front_end/models/issues_manager/descriptions/TwaDigitalAssetLinksFailed.md",
133
114
  "front_end/models/issues_manager/descriptions/TwaHttpError.md",
134
115
  "front_end/models/issues_manager/descriptions/TwaPageUnavailableOffline.md",
135
- "front_end/panels/application/module.json",
136
- "front_end/panels/screencast/module.json",
137
116
  "front_end/legacy_test_runner/sdk_test_runner/sdk_test_runner.js",
138
117
  "front_end/legacy_test_runner/security_test_runner/security_test_runner.js",
139
- "front_end/panels/security/module.json",
140
118
  "front_end/entrypoints/shell/shell.json",
141
119
  "front_end/ui/legacy/components/source_frame/fontView.css",
142
120
  "front_end/ui/legacy/components/source_frame/imageView.css",
@@ -156,48 +134,8 @@ all_devtools_files = [
156
134
  "front_end/ui/legacy/components/text_editor/autocompleteTooltip.css",
157
135
  "front_end/ui/legacy/components/text_editor/cmdevtools.css",
158
136
  "front_end/ui/legacy/components/text_editor/module.json",
159
- "front_end/third_party/lighthouse/report-assets/report.css",
160
137
  "front_end/third_party/lighthouse/report-assets/report.js",
161
138
  "front_end/third_party/lighthouse/report-assets/standalone-template.html",
162
- "front_end/panels/timeline/module.json",
163
- "front_end/ui/legacy/checkboxTextLabel.css",
164
- "front_end/ui/legacy/closeButton.css",
165
- "front_end/ui/legacy/confirmDialog.css",
166
- "front_end/ui/legacy/dialog.css",
167
- "front_end/ui/legacy/dropTarget.css",
168
- "front_end/ui/legacy/emptyWidget.css",
169
- "front_end/ui/legacy/filter.css",
170
- "front_end/ui/legacy/glassPane.css",
171
- "front_end/ui/legacy/infobar.css",
172
- "front_end/ui/legacy/inlineButton.css",
173
- "front_end/ui/legacy/inspectorCommon.css",
174
- "front_end/ui/legacy/themeColors.css",
175
- "front_end/ui/legacy/inspectorSyntaxHighlight.css",
176
- "front_end/ui/legacy/inspectorSyntaxHighlightDark.css",
177
- "front_end/ui/legacy/inspectorViewTabbedPane.css",
178
- "front_end/ui/legacy/listWidget.css",
179
- "front_end/ui/legacy/module.json",
180
- "front_end/ui/legacy/popover.css",
181
- "front_end/ui/legacy/progressIndicator.css",
182
- "front_end/ui/legacy/radioButton.css",
183
- "front_end/ui/legacy/remoteDebuggingTerminatedScreen.css",
184
- "front_end/ui/legacy/reportView.css",
185
- "front_end/ui/legacy/rootView.css",
186
- "front_end/ui/legacy/searchableView.css",
187
- "front_end/ui/legacy/slider.css",
188
- "front_end/ui/legacy/smallBubble.css",
189
- "front_end/ui/legacy/softContextMenu.css",
190
- "front_end/ui/legacy/softDropDown.css",
191
- "front_end/ui/legacy/softDropDownButton.css",
192
- "front_end/ui/legacy/splitWidget.css",
193
- "front_end/ui/legacy/suggestBox.css",
194
- "front_end/ui/legacy/tabbedPane.css",
195
- "front_end/ui/legacy/targetCrashedScreen.css",
196
- "front_end/ui/legacy/textButton.css",
197
- "front_end/ui/legacy/textPrompt.css",
198
- "front_end/ui/legacy/toolbar.css",
199
- "front_end/ui/legacy/treeoutline.css",
200
- "front_end/ui/legacy/viewContainers.css",
201
139
  ]
202
140
 
203
141
  lighthouse_locale_files = [
@@ -52,7 +52,7 @@ grd_files_release_sources = [
52
52
  "front_end/Images/elements_panel_icon.svg",
53
53
  "front_end/Images/errorWave.svg",
54
54
  "front_end/Images/error_icon.svg",
55
- "front_end/Images/feedback_thin_16x16_icon.svg",
55
+ "front_end/Images/feedback_button_icon.svg",
56
56
  "front_end/Images/flex-direction-icon.svg",
57
57
  "front_end/Images/flex-nowrap-icon.svg",
58
58
  "front_end/Images/flex-wrap-icon.svg",
@@ -120,8 +120,6 @@ grd_files_release_sources = [
120
120
  "front_end/Images/profileGroupIcon.png",
121
121
  "front_end/Images/profileIcon.png",
122
122
  "front_end/Images/profileSmallIcon.png",
123
- "front_end/Images/radioDot-dark-theme.png",
124
- "front_end/Images/radioDot.png",
125
123
  "front_end/Images/refresh_12x12_icon.svg",
126
124
  "front_end/Images/resizeDiagonal.svg",
127
125
  "front_end/Images/resizeHorizontal.svg",
@@ -134,6 +132,7 @@ grd_files_release_sources = [
134
132
  "front_end/Images/smallIcons.svg",
135
133
  "front_end/Images/sources_panel_icon.svg",
136
134
  "front_end/Images/speech.png",
135
+ "front_end/Images/survey_feedback_icon.svg",
137
136
  "front_end/Images/switcherIcon.svg",
138
137
  "front_end/Images/three_dots_menu_icon.svg",
139
138
  "front_end/Images/toolbarResizerVertical.png",
@@ -163,7 +162,6 @@ grd_files_release_sources = [
163
162
  "front_end/device_mode_emulation_frame.html",
164
163
  "front_end/devtools_app.html",
165
164
  "front_end/devtools_compatibility.js",
166
- "front_end/emulated_devices/emulated_devices_module.js",
167
165
  "front_end/emulated_devices/optimized/MotoG4-landscape.avif",
168
166
  "front_end/emulated_devices/optimized/MotoG4-portrait.avif",
169
167
  "front_end/emulated_devices/optimized/Nexus5X-landscape.avif",
@@ -335,7 +333,6 @@ grd_files_release_sources = [
335
333
  "front_end/panels/application/application-legacy.js",
336
334
  "front_end/panels/application/application-meta.js",
337
335
  "front_end/panels/application/application.js",
338
- "front_end/panels/application/application_module.js",
339
336
  "front_end/panels/application/components/components.js",
340
337
  "front_end/panels/browser_debugger/browser_debugger-legacy.js",
341
338
  "front_end/panels/browser_debugger/browser_debugger-meta.js",
@@ -372,14 +369,11 @@ grd_files_release_sources = [
372
369
  "front_end/panels/issues/components/components.js",
373
370
  "front_end/panels/issues/issues-meta.js",
374
371
  "front_end/panels/issues/issues.js",
375
- "front_end/panels/issues/issues_module.js",
376
372
  "front_end/panels/js_profiler/js_profiler-meta.js",
377
373
  "front_end/panels/js_profiler/js_profiler.js",
378
- "front_end/panels/js_profiler/js_profiler_module.js",
379
374
  "front_end/panels/layer_viewer/layer_viewer-legacy.js",
380
375
  "front_end/panels/layer_viewer/layer_viewer-meta.js",
381
376
  "front_end/panels/layer_viewer/layer_viewer.js",
382
- "front_end/panels/layer_viewer/layer_viewer_module.js",
383
377
  "front_end/panels/layers/layers-meta.js",
384
378
  "front_end/panels/layers/layers.js",
385
379
  "front_end/panels/layers/layers_module.js",
@@ -389,7 +383,6 @@ grd_files_release_sources = [
389
383
  "front_end/panels/lighthouse/lighthouse_module.js",
390
384
  "front_end/panels/media/media-meta.js",
391
385
  "front_end/panels/media/media.js",
392
- "front_end/panels/media/media_module.js",
393
386
  "front_end/panels/mobile_throttling/mobile_throttling-legacy.js",
394
387
  "front_end/panels/mobile_throttling/mobile_throttling-meta.js",
395
388
  "front_end/panels/mobile_throttling/mobile_throttling.js",
@@ -398,13 +391,11 @@ grd_files_release_sources = [
398
391
  "front_end/panels/network/network-legacy.js",
399
392
  "front_end/panels/network/network-meta.js",
400
393
  "front_end/panels/network/network.js",
401
- "front_end/panels/network/network_module.js",
402
394
  "front_end/panels/performance_monitor/performance_monitor-meta.js",
403
395
  "front_end/panels/performance_monitor/performance_monitor.js",
404
396
  "front_end/panels/profiler/profiler-legacy.js",
405
397
  "front_end/panels/profiler/profiler-meta.js",
406
398
  "front_end/panels/profiler/profiler.js",
407
- "front_end/panels/profiler/profiler_module.js",
408
399
  "front_end/panels/protocol_monitor/protocol_monitor-meta.js",
409
400
  "front_end/panels/protocol_monitor/protocol_monitor.js",
410
401
  "front_end/panels/screencast/screencast-meta.js",
@@ -414,7 +405,6 @@ grd_files_release_sources = [
414
405
  "front_end/panels/security/security-legacy.js",
415
406
  "front_end/panels/security/security-meta.js",
416
407
  "front_end/panels/security/security.js",
417
- "front_end/panels/security/security_module.js",
418
408
  "front_end/panels/sensors/sensors-meta.js",
419
409
  "front_end/panels/sensors/sensors.js",
420
410
  "front_end/panels/settings/components/components.js",
@@ -434,7 +424,6 @@ grd_files_release_sources = [
434
424
  "front_end/panels/timeline/timeline-legacy.js",
435
425
  "front_end/panels/timeline/timeline-meta.js",
436
426
  "front_end/panels/timeline/timeline.js",
437
- "front_end/panels/timeline/timeline_module.js",
438
427
  "front_end/panels/utils/utils.js",
439
428
  "front_end/panels/web_audio/graph_visualizer/graph_visualizer.js",
440
429
  "front_end/panels/web_audio/web_audio-legacy.js",
@@ -447,10 +436,7 @@ grd_files_release_sources = [
447
436
  "front_end/third_party/chromium/client-variations/client-variations.js",
448
437
  "front_end/third_party/codemirror.next/chunk/codemirror.js",
449
438
  "front_end/third_party/codemirror.next/chunk/cpp.js",
450
- "front_end/third_party/codemirror.next/chunk/css.js",
451
- "front_end/third_party/codemirror.next/chunk/html.js",
452
439
  "front_end/third_party/codemirror.next/chunk/java.js",
453
- "front_end/third_party/codemirror.next/chunk/javascript.js",
454
440
  "front_end/third_party/codemirror.next/chunk/json.js",
455
441
  "front_end/third_party/codemirror.next/chunk/legacy.js",
456
442
  "front_end/third_party/codemirror.next/chunk/markdown.js",
@@ -482,6 +468,7 @@ grd_files_release_sources = [
482
468
  "front_end/ui/components/linear_memory_inspector/linear_memory_inspector.js",
483
469
  "front_end/ui/components/linkifier/linkifier.js",
484
470
  "front_end/ui/components/markdown_view/markdown_view.js",
471
+ "front_end/ui/components/panel_feedback/panel_feedback.js",
485
472
  "front_end/ui/components/render_coordinator/render_coordinator.js",
486
473
  "front_end/ui/components/report_view/report_view.js",
487
474
  "front_end/ui/components/request_link_icon/request_link_icon.js",
@@ -504,7 +491,6 @@ grd_files_release_sources = [
504
491
  "front_end/ui/legacy/components/perf_ui/perf_ui-legacy.js",
505
492
  "front_end/ui/legacy/components/perf_ui/perf_ui-meta.js",
506
493
  "front_end/ui/legacy/components/perf_ui/perf_ui.js",
507
- "front_end/ui/legacy/components/perf_ui/perf_ui_module.js",
508
494
  "front_end/ui/legacy/components/quick_open/quick_open-legacy.js",
509
495
  "front_end/ui/legacy/components/quick_open/quick_open-meta.js",
510
496
  "front_end/ui/legacy/components/quick_open/quick_open.js",
@@ -974,6 +960,10 @@ grd_files_debug_sources = [
974
960
  "front_end/panels/emulation/InspectedPagePlaceholder.js",
975
961
  "front_end/panels/emulation/MediaQueryInspector.js",
976
962
  "front_end/panels/emulation/components/DeviceSizeInputElement.js",
963
+ "front_end/panels/emulation/deviceModeToolbar.css.legacy.js",
964
+ "front_end/panels/emulation/deviceModeView.css.legacy.js",
965
+ "front_end/panels/emulation/inspectedPagePlaceholder.css.legacy.js",
966
+ "front_end/panels/emulation/mediaQueryInspector.css.legacy.js",
977
967
  "front_end/panels/event_listeners/EventListenersUtils.js",
978
968
  "front_end/panels/event_listeners/EventListenersView.js",
979
969
  "front_end/panels/event_listeners/eventListenersView.css.js",
@@ -1195,6 +1185,7 @@ grd_files_debug_sources = [
1195
1185
  "front_end/panels/sources/OpenFileQuickOpen.js",
1196
1186
  "front_end/panels/sources/OutlineQuickOpen.js",
1197
1187
  "front_end/panels/sources/Plugin.js",
1188
+ "front_end/panels/sources/ProfilePlugin.js",
1198
1189
  "front_end/panels/sources/ScopeChainSidebarPane.js",
1199
1190
  "front_end/panels/sources/ScriptFormatterEditorAction.js",
1200
1191
  "front_end/panels/sources/ScriptOriginPlugin.js",
@@ -1306,7 +1297,6 @@ grd_files_debug_sources = [
1306
1297
  "front_end/third_party/i18n/localized-string-set.js",
1307
1298
  "front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js",
1308
1299
  "front_end/third_party/lighthouse/report-assets/report-generator.js",
1309
- "front_end/third_party/lighthouse/report-assets/report.css.js",
1310
1300
  "front_end/third_party/lighthouse/report-assets/report.js",
1311
1301
  "front_end/third_party/lighthouse/report/bundle.js",
1312
1302
  "front_end/third_party/lit-html/directive.js",
@@ -1395,6 +1385,9 @@ grd_files_debug_sources = [
1395
1385
  "front_end/ui/components/markdown_view/markdownImage.css.js",
1396
1386
  "front_end/ui/components/markdown_view/markdownLink.css.js",
1397
1387
  "front_end/ui/components/markdown_view/markdownView.css.js",
1388
+ "front_end/ui/components/panel_feedback/FeedbackButton.js",
1389
+ "front_end/ui/components/panel_feedback/PanelFeedback.js",
1390
+ "front_end/ui/components/panel_feedback/panelFeedback.css.js",
1398
1391
  "front_end/ui/components/render_coordinator/RenderCoordinator.js",
1399
1392
  "front_end/ui/components/report_view/ReportView.js",
1400
1393
  "front_end/ui/components/report_view/report.css.js",
@@ -1412,6 +1405,7 @@ grd_files_debug_sources = [
1412
1405
  "front_end/ui/components/text_editor/config.js",
1413
1406
  "front_end/ui/components/text_editor/cursor_tooltip.js",
1414
1407
  "front_end/ui/components/text_editor/javascript.js",
1408
+ "front_end/ui/components/text_editor/position.js",
1415
1409
  "front_end/ui/components/text_editor/theme.js",
1416
1410
  "front_end/ui/components/text_prompt/TextPrompt.js",
1417
1411
  "front_end/ui/components/text_prompt/textPrompt.css.js",
@@ -1474,6 +1468,8 @@ grd_files_debug_sources = [
1474
1468
  "front_end/ui/legacy/XLink.js",
1475
1469
  "front_end/ui/legacy/XWidget.js",
1476
1470
  "front_end/ui/legacy/ZoomManager.js",
1471
+ "front_end/ui/legacy/checkboxTextLabel.css.legacy.js",
1472
+ "front_end/ui/legacy/closeButton.css.legacy.js",
1477
1473
  "front_end/ui/legacy/components/color_picker/ContrastDetails.js",
1478
1474
  "front_end/ui/legacy/components/color_picker/ContrastInfo.js",
1479
1475
  "front_end/ui/legacy/components/color_picker/ContrastOverlay.js",
@@ -1537,7 +1533,13 @@ grd_files_debug_sources = [
1537
1533
  "front_end/ui/legacy/components/perf_ui/PieChart.js",
1538
1534
  "front_end/ui/legacy/components/perf_ui/TimelineGrid.js",
1539
1535
  "front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.js",
1536
+ "front_end/ui/legacy/components/perf_ui/chartViewport.css.legacy.js",
1537
+ "front_end/ui/legacy/components/perf_ui/filmStripView.css.legacy.js",
1538
+ "front_end/ui/legacy/components/perf_ui/flameChart.css.legacy.js",
1539
+ "front_end/ui/legacy/components/perf_ui/overviewGrid.css.legacy.js",
1540
1540
  "front_end/ui/legacy/components/perf_ui/pieChart.css.js",
1541
+ "front_end/ui/legacy/components/perf_ui/timelineGrid.css.legacy.js",
1542
+ "front_end/ui/legacy/components/perf_ui/timelineOverviewInfo.css.js",
1541
1543
  "front_end/ui/legacy/components/quick_open/CommandMenu.js",
1542
1544
  "front_end/ui/legacy/components/quick_open/FilteredListWidget.js",
1543
1545
  "front_end/ui/legacy/components/quick_open/HelpQuickOpen.js",
@@ -1552,7 +1554,6 @@ grd_files_debug_sources = [
1552
1554
  "front_end/ui/legacy/components/source_frame/PreviewFactory.js",
1553
1555
  "front_end/ui/legacy/components/source_frame/ResourceSourceFrame.js",
1554
1556
  "front_end/ui/legacy/components/source_frame/SourceFrame.js",
1555
- "front_end/ui/legacy/components/source_frame/SourcesTextEditor.js",
1556
1557
  "front_end/ui/legacy/components/source_frame/XMLView.js",
1557
1558
  "front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.js",
1558
1559
  "front_end/ui/legacy/components/text_editor/TextEditorAutocompleteController.js",
@@ -1564,15 +1565,50 @@ grd_files_debug_sources = [
1564
1565
  "front_end/ui/legacy/components/utils/TargetDetachedDialog.js",
1565
1566
  "front_end/ui/legacy/components/utils/imagePreview.css.js",
1566
1567
  "front_end/ui/legacy/components/utils/jsUtils.css.js",
1568
+ "front_end/ui/legacy/confirmDialog.css.legacy.js",
1569
+ "front_end/ui/legacy/dialog.css.legacy.js",
1570
+ "front_end/ui/legacy/dropTarget.css.legacy.js",
1567
1571
  "front_end/ui/legacy/emptyWidget.css.js",
1572
+ "front_end/ui/legacy/emptyWidget.css.legacy.js",
1573
+ "front_end/ui/legacy/filter.css.legacy.js",
1574
+ "front_end/ui/legacy/glassPane.css.legacy.js",
1575
+ "front_end/ui/legacy/infobar.css.legacy.js",
1576
+ "front_end/ui/legacy/inlineButton.css.legacy.js",
1568
1577
  "front_end/ui/legacy/inspectorCommon.css.js",
1578
+ "front_end/ui/legacy/inspectorCommon.css.legacy.js",
1579
+ "front_end/ui/legacy/inspectorSyntaxHighlight.css.legacy.js",
1580
+ "front_end/ui/legacy/inspectorSyntaxHighlightDark.css.legacy.js",
1581
+ "front_end/ui/legacy/inspectorViewTabbedPane.css.legacy.js",
1582
+ "front_end/ui/legacy/listWidget.css.legacy.js",
1583
+ "front_end/ui/legacy/popover.css.legacy.js",
1584
+ "front_end/ui/legacy/progressIndicator.css.legacy.js",
1585
+ "front_end/ui/legacy/radioButton.css.legacy.js",
1586
+ "front_end/ui/legacy/remoteDebuggingTerminatedScreen.css.legacy.js",
1587
+ "front_end/ui/legacy/reportView.css.legacy.js",
1588
+ "front_end/ui/legacy/rootView.css.legacy.js",
1589
+ "front_end/ui/legacy/searchableView.css.legacy.js",
1590
+ "front_end/ui/legacy/slider.css.legacy.js",
1591
+ "front_end/ui/legacy/smallBubble.css.legacy.js",
1592
+ "front_end/ui/legacy/softContextMenu.css.legacy.js",
1593
+ "front_end/ui/legacy/softDropDown.css.legacy.js",
1594
+ "front_end/ui/legacy/softDropDownButton.css.legacy.js",
1595
+ "front_end/ui/legacy/splitWidget.css.legacy.js",
1596
+ "front_end/ui/legacy/suggestBox.css.legacy.js",
1597
+ "front_end/ui/legacy/tabbedPane.css.legacy.js",
1598
+ "front_end/ui/legacy/targetCrashedScreen.css.legacy.js",
1599
+ "front_end/ui/legacy/textButton.css.legacy.js",
1600
+ "front_end/ui/legacy/textPrompt.css.legacy.js",
1601
+ "front_end/ui/legacy/themeColors.css.legacy.js",
1569
1602
  "front_end/ui/legacy/theme_support/theme_support_impl.js",
1603
+ "front_end/ui/legacy/toolbar.css.legacy.js",
1604
+ "front_end/ui/legacy/treeoutline.css.legacy.js",
1570
1605
  "front_end/ui/legacy/utils/append-style.js",
1571
1606
  "front_end/ui/legacy/utils/create-shadow-root-with-core-styles.js",
1572
1607
  "front_end/ui/legacy/utils/focus-changed.js",
1573
1608
  "front_end/ui/legacy/utils/inject-core-styles.js",
1574
1609
  "front_end/ui/legacy/utils/measured-scrollbar-width.js",
1575
1610
  "front_end/ui/legacy/utils/register-custom-element.js",
1611
+ "front_end/ui/legacy/viewContainers.css.legacy.js",
1576
1612
  "front_end/ui/lit-html/static.js",
1577
1613
  ]
1578
1614
 
@@ -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",
@@ -64,7 +62,7 @@ devtools_svg_sources = [
64
62
  "elements_panel_icon.svg",
65
63
  "errorWave.svg",
66
64
  "error_icon.svg",
67
- "feedback_thin_16x16_icon.svg",
65
+ "feedback_button_icon.svg",
68
66
  "flex-direction-icon.svg",
69
67
  "flex-nowrap-icon.svg",
70
68
  "flex-wrap-icon.svg",
@@ -133,6 +131,7 @@ devtools_svg_sources = [
133
131
  "settings_14x14_icon.svg",
134
132
  "smallIcons.svg",
135
133
  "sources_panel_icon.svg",
134
+ "survey_feedback_icon.svg",
136
135
  "switcherIcon.svg",
137
136
  "three_dots_menu_icon.svg",
138
137
  "trash_bin_icon.svg",
@@ -32,6 +32,7 @@ module.exports = {
32
32
  'rulesdir/ban_style_tags_in_lit_html': 2,
33
33
  'rulesdir/ban_a_tags_in_lit_html': 2,
34
34
  'rulesdir/check_component_naming': 2,
35
+ 'rulesdir/check_css_import': 2,
35
36
  'rulesdir/check_was_shown_methods': 2,
36
37
  'rulesdir/static_custom_event_names': 2,
37
38
  'rulesdir/lit_html_host_this': 2,
@@ -109,7 +110,17 @@ module.exports = {
109
110
  'format': ['camelCase'],
110
111
  'leadingUnderscore': 'allow',
111
112
  }
112
- ]
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
+ ],
113
124
  }
114
125
  },
115
126
  {
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.3335 5.83325H6.66683C5.9335 5.83325 5.34016 6.43325 5.34016 7.16659L5.3335 19.1666L8.00016 16.4999H17.3335C18.0668 16.4999 18.6668 15.8999 18.6668 15.1666V7.16659C18.6668 6.43325 18.0668 5.83325 17.3335 5.83325ZM17.3335 15.1666H7.44683L7.0535 15.5599L6.66683 15.9466V7.16659H17.3335V15.1666ZM11.3335 12.4999H12.6668V13.8333H11.3335V12.4999ZM11.3335 8.49992H12.6668V11.1666H11.3335V8.49992Z" fill="black"/>
3
+ </svg>
@@ -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
  },
@@ -11453,6 +11450,9 @@
11453
11450
  "ui/components/linear_memory_inspector/ValueInterpreterSettings.ts | otherGroup": {
11454
11451
  "message": "Other"
11455
11452
  },
11453
+ "ui/components/panel_feedback/FeedbackButton.ts | feedback": {
11454
+ "message": "Feedback"
11455
+ },
11456
11456
  "ui/components/panel_feedback/PanelFeedback.ts | previewFeature": {
11457
11457
  "message": "Preview feature"
11458
11458
  },
@@ -11846,15 +11846,6 @@
11846
11846
  "ui/legacy/components/perf_ui/FlameChart.ts | sSelected": {
11847
11847
  "message": "{PH1} selected"
11848
11848
  },
11849
- "ui/legacy/components/perf_ui/LineLevelProfile.ts | kb": {
11850
- "message": "kB"
11851
- },
11852
- "ui/legacy/components/perf_ui/LineLevelProfile.ts | mb": {
11853
- "message": "MB"
11854
- },
11855
- "ui/legacy/components/perf_ui/LineLevelProfile.ts | ms": {
11856
- "message": "ms"
11857
- },
11858
11849
  "ui/legacy/components/perf_ui/NetworkPriorities.ts | high": {
11859
11850
  "message": "High"
11860
11851
  },