chrome-devtools-frontend 1.0.940714 → 1.0.942529

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 (241) hide show
  1. package/config/gni/all_devtools_files.gni +0 -57
  2. package/config/gni/devtools_grd_files.gni +55 -15
  3. package/config/gni/devtools_image_files.gni +2 -3
  4. package/front_end/.eslintrc.js +12 -1
  5. package/front_end/Images/src/feedback_button_icon.svg +3 -0
  6. package/front_end/Images/src/{feedback_thin_16x16_icon.svg → survey_feedback_icon.svg} +1 -1
  7. package/front_end/Tests.js +15 -0
  8. package/front_end/core/common/Color.ts +5 -0
  9. package/front_end/core/i18n/locales/en-US.json +31 -28
  10. package/front_end/core/i18n/locales/en-XL.json +31 -28
  11. package/front_end/core/sdk/DebuggerModel.ts +4 -14
  12. package/front_end/core/sdk/sdk-meta.ts +17 -3
  13. package/front_end/emulated_devices/module.json +1 -3
  14. package/front_end/entrypoints/devtools_app/devtools_app.json +1 -9
  15. package/front_end/entrypoints/main/MainImpl.ts +26 -0
  16. package/front_end/entrypoints/shell/shell.js +0 -11
  17. package/front_end/entrypoints/shell/shell.json +0 -2
  18. package/front_end/entrypoints/worker_app/worker_app.json +0 -4
  19. package/front_end/generated/InspectorBackendCommands.js +1 -0
  20. package/front_end/generated/protocol.d.ts +2 -0
  21. package/front_end/global_typings/global_defs.d.ts +5 -0
  22. package/front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js +2 -2
  23. package/front_end/legacy_test_runner/console_test_runner/console_test_runner.js +14 -2
  24. package/front_end/legacy_test_runner/legacy_test_runner.ts +10 -1
  25. package/front_end/legacy_test_runner/test_runner/TestRunner.js +11 -0
  26. package/front_end/models/formatter/SourceFormatter.ts +0 -10
  27. package/front_end/models/workspace/UISourceCode.ts +9 -42
  28. package/front_end/panels/animation/AnimationTimeline.ts +3 -3
  29. package/front_end/panels/application/ApplicationPanelSidebar.ts +3 -3
  30. package/front_end/panels/application/application-meta.ts +0 -3
  31. package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
  32. package/front_end/panels/application/components/ReportsGrid.ts +1 -1
  33. package/front_end/panels/console/ConsolePinPane.ts +21 -26
  34. package/front_end/panels/coverage/CoverageDecorationManager.ts +4 -5
  35. package/front_end/panels/coverage/CoverageView.ts +2 -105
  36. package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +11 -56
  37. package/front_end/panels/css_overview/components/cssOverviewStartView.css +1 -8
  38. package/front_end/panels/elements/ElementsTreeElement.ts +4 -9
  39. package/front_end/panels/elements/components/StylePropertyEditor.ts +2 -0
  40. package/front_end/panels/elements/components/adornerSettingsPane.css +0 -4
  41. package/front_end/panels/emulation/DeviceModeToolbar.ts +3 -1
  42. package/front_end/panels/emulation/DeviceModeView.ts +2 -1
  43. package/front_end/panels/emulation/InspectedPagePlaceholder.ts +3 -1
  44. package/front_end/panels/emulation/MediaQueryInspector.ts +3 -1
  45. package/front_end/panels/emulation/emulation-meta.ts +2 -4
  46. package/front_end/panels/issues/issues-meta.ts +0 -2
  47. package/front_end/panels/layers/module.json +0 -1
  48. package/front_end/panels/lighthouse/LighthousePanel.ts +2 -4
  49. package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +1 -4
  50. package/front_end/panels/lighthouse/lighthouseStartView.css +4 -0
  51. package/front_end/panels/lighthouse/module.json +1 -4
  52. package/front_end/panels/media/media-meta.ts +0 -3
  53. package/front_end/panels/network/ResourceWebSocketFrameView.ts +2 -1
  54. package/front_end/panels/network/network-meta.ts +0 -3
  55. package/front_end/panels/profiler/module.json +1 -4
  56. package/front_end/panels/screencast/module.json +1 -4
  57. package/front_end/panels/security/security-meta.ts +0 -3
  58. package/front_end/panels/sources/BreakpointEditDialog.ts +16 -30
  59. package/front_end/panels/sources/CSSPlugin.ts +310 -331
  60. package/front_end/panels/sources/CallStackSidebarPane.ts +28 -34
  61. package/front_end/panels/sources/CoveragePlugin.ts +121 -6
  62. package/front_end/panels/sources/DebuggerPlugin.ts +1166 -1243
  63. package/front_end/panels/sources/EditingLocationHistoryManager.ts +71 -101
  64. package/front_end/panels/sources/GoToLineQuickOpen.ts +4 -3
  65. package/front_end/panels/sources/InplaceFormatterEditorAction.ts +3 -3
  66. package/front_end/panels/sources/JavaScriptCompilerPlugin.ts +26 -23
  67. package/front_end/panels/sources/Plugin.ts +20 -4
  68. package/front_end/panels/sources/ProfilePlugin.ts +185 -0
  69. package/front_end/panels/sources/ScriptFormatterEditorAction.ts +3 -3
  70. package/front_end/panels/sources/ScriptOriginPlugin.ts +0 -10
  71. package/front_end/panels/sources/SnippetsPlugin.ts +1 -10
  72. package/front_end/panels/sources/SourcesPanel.ts +15 -10
  73. package/front_end/panels/sources/SourcesView.ts +10 -8
  74. package/front_end/panels/sources/TabbedEditorContainer.ts +31 -27
  75. package/front_end/panels/sources/UISourceCodeFrame.ts +335 -470
  76. package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +3 -2
  77. package/front_end/panels/sources/sources-legacy.ts +0 -6
  78. package/front_end/panels/sources/sources.ts +0 -2
  79. package/front_end/panels/timeline/module.json +0 -3
  80. package/front_end/third_party/codemirror.next/bundle.ts +9 -13
  81. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  82. package/front_end/third_party/codemirror.next/chunk/javascript.js +2 -2
  83. package/front_end/third_party/codemirror.next/chunk/markdown.js +2 -6
  84. package/front_end/third_party/codemirror.next/chunk/php.js +2 -6
  85. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  86. package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
  87. package/front_end/third_party/codemirror.next/chunk/xml.js +2 -2
  88. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +279 -198
  89. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  90. package/front_end/third_party/codemirror.next/package.json +13 -11
  91. package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1128 -1158
  92. package/front_end/third_party/lighthouse/locales/ar-XB.json +211 -79
  93. package/front_end/third_party/lighthouse/locales/ar.json +213 -81
  94. package/front_end/third_party/lighthouse/locales/bg.json +211 -79
  95. package/front_end/third_party/lighthouse/locales/ca.json +212 -80
  96. package/front_end/third_party/lighthouse/locales/cs.json +211 -79
  97. package/front_end/third_party/lighthouse/locales/da.json +211 -79
  98. package/front_end/third_party/lighthouse/locales/de.json +211 -79
  99. package/front_end/third_party/lighthouse/locales/el.json +213 -81
  100. package/front_end/third_party/lighthouse/locales/en-GB.json +211 -79
  101. package/front_end/third_party/lighthouse/locales/en-US.json +186 -75
  102. package/front_end/third_party/lighthouse/locales/en-XA.json +211 -79
  103. package/front_end/third_party/lighthouse/locales/en-XL.json +186 -75
  104. package/front_end/third_party/lighthouse/locales/es-419.json +211 -79
  105. package/front_end/third_party/lighthouse/locales/es.json +212 -80
  106. package/front_end/third_party/lighthouse/locales/fi.json +211 -79
  107. package/front_end/third_party/lighthouse/locales/fil.json +211 -79
  108. package/front_end/third_party/lighthouse/locales/fr.json +211 -79
  109. package/front_end/third_party/lighthouse/locales/he.json +212 -80
  110. package/front_end/third_party/lighthouse/locales/hi.json +214 -82
  111. package/front_end/third_party/lighthouse/locales/hr.json +211 -79
  112. package/front_end/third_party/lighthouse/locales/hu.json +211 -79
  113. package/front_end/third_party/lighthouse/locales/id.json +211 -79
  114. package/front_end/third_party/lighthouse/locales/it.json +211 -79
  115. package/front_end/third_party/lighthouse/locales/ja.json +211 -79
  116. package/front_end/third_party/lighthouse/locales/ko.json +211 -79
  117. package/front_end/third_party/lighthouse/locales/lt.json +211 -79
  118. package/front_end/third_party/lighthouse/locales/lv.json +214 -82
  119. package/front_end/third_party/lighthouse/locales/nl.json +211 -79
  120. package/front_end/third_party/lighthouse/locales/no.json +211 -79
  121. package/front_end/third_party/lighthouse/locales/pl.json +211 -79
  122. package/front_end/third_party/lighthouse/locales/pt-PT.json +211 -79
  123. package/front_end/third_party/lighthouse/locales/pt.json +211 -79
  124. package/front_end/third_party/lighthouse/locales/ro.json +212 -80
  125. package/front_end/third_party/lighthouse/locales/ru.json +211 -79
  126. package/front_end/third_party/lighthouse/locales/sk.json +211 -79
  127. package/front_end/third_party/lighthouse/locales/sl.json +211 -79
  128. package/front_end/third_party/lighthouse/locales/sr-Latn.json +211 -79
  129. package/front_end/third_party/lighthouse/locales/sr.json +211 -79
  130. package/front_end/third_party/lighthouse/locales/sv.json +211 -79
  131. package/front_end/third_party/lighthouse/locales/ta.json +218 -86
  132. package/front_end/third_party/lighthouse/locales/te.json +251 -119
  133. package/front_end/third_party/lighthouse/locales/th.json +211 -79
  134. package/front_end/third_party/lighthouse/locales/tr.json +211 -79
  135. package/front_end/third_party/lighthouse/locales/uk.json +212 -80
  136. package/front_end/third_party/lighthouse/locales/vi.json +211 -79
  137. package/front_end/third_party/lighthouse/locales/zh-HK.json +211 -79
  138. package/front_end/third_party/lighthouse/locales/zh-TW.json +211 -79
  139. package/front_end/third_party/lighthouse/locales/zh.json +211 -79
  140. package/front_end/third_party/lighthouse/report/bundle.d.ts +72 -34
  141. package/front_end/third_party/lighthouse/report/bundle.js +698 -492
  142. package/front_end/third_party/lighthouse/report-assets/report-generator.js +1 -2
  143. package/front_end/third_party/lighthouse/report-assets/report.js +40 -35
  144. package/front_end/third_party/lighthouse/report-assets/standalone-template.html +2 -4
  145. package/front_end/ui/components/code_highlighter/CodeHighlighter.ts +60 -68
  146. package/front_end/ui/components/data_grid/dataGrid.css +12 -10
  147. package/front_end/ui/components/docs/css_overview/start_view.html +25 -0
  148. package/front_end/ui/components/docs/css_overview/start_view.ts +14 -0
  149. package/front_end/ui/components/docs/icon_button/basic.ts +3 -3
  150. package/front_end/ui/components/docs/panel_feedback/basic.html +25 -0
  151. package/front_end/ui/components/docs/panel_feedback/basic.ts +20 -0
  152. package/front_end/ui/components/docs/panel_feedback/button.html +25 -0
  153. package/front_end/ui/components/docs/panel_feedback/button.ts +18 -0
  154. package/front_end/ui/components/helpers/get-stylesheet.ts +0 -13
  155. package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
  156. package/front_end/ui/components/panel_feedback/FeedbackButton.ts +67 -0
  157. package/front_end/ui/components/panel_feedback/PanelFeedback.ts +100 -0
  158. package/front_end/ui/components/panel_feedback/panelFeedback.css +76 -0
  159. package/front_end/ui/components/panel_feedback/panel_feedback.ts +6 -0
  160. package/front_end/ui/components/report_view/reportValue.css +1 -0
  161. package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
  162. package/front_end/ui/components/text_editor/TextEditor.ts +79 -36
  163. package/front_end/ui/components/text_editor/config.ts +42 -26
  164. package/front_end/ui/components/text_editor/javascript.ts +2 -3
  165. package/front_end/ui/components/text_editor/position.ts +17 -0
  166. package/front_end/ui/components/text_editor/text_editor.ts +1 -0
  167. package/front_end/ui/components/text_editor/theme.ts +5 -1
  168. package/front_end/ui/legacy/Dialog.ts +3 -1
  169. package/front_end/ui/legacy/DropTarget.ts +2 -1
  170. package/front_end/ui/legacy/EmptyWidget.ts +2 -1
  171. package/front_end/ui/legacy/FilterBar.ts +2 -1
  172. package/front_end/ui/legacy/GlassPane.ts +4 -2
  173. package/front_end/ui/legacy/Infobar.ts +5 -8
  174. package/front_end/ui/legacy/InspectorView.ts +6 -1
  175. package/front_end/ui/legacy/ListWidget.ts +2 -1
  176. package/front_end/ui/legacy/PopoverHelper.ts +2 -1
  177. package/front_end/ui/legacy/ProgressIndicator.ts +2 -1
  178. package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +2 -1
  179. package/front_end/ui/legacy/ReportView.ts +2 -1
  180. package/front_end/ui/legacy/RootView.ts +2 -1
  181. package/front_end/ui/legacy/SearchableView.ts +2 -1
  182. package/front_end/ui/legacy/ShortcutRegistry.ts +11 -7
  183. package/front_end/ui/legacy/SoftContextMenu.ts +2 -1
  184. package/front_end/ui/legacy/SoftDropDown.ts +4 -2
  185. package/front_end/ui/legacy/SplitWidget.ts +2 -1
  186. package/front_end/ui/legacy/SuggestBox.ts +2 -1
  187. package/front_end/ui/legacy/TabbedPane.ts +2 -1
  188. package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -1
  189. package/front_end/ui/legacy/TextPrompt.ts +2 -1
  190. package/front_end/ui/legacy/Toolbar.ts +3 -2
  191. package/front_end/ui/legacy/Treeoutline.ts +3 -2
  192. package/front_end/ui/legacy/UIUtils.ts +16 -13
  193. package/front_end/ui/legacy/ViewManager.ts +2 -1
  194. package/front_end/ui/legacy/Widget.ts +1 -1
  195. package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +2 -1
  196. package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +3 -1
  197. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +2 -1
  198. package/front_end/ui/legacy/components/perf_ui/LineLevelProfile.ts +35 -131
  199. package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +2 -1
  200. package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +3 -1
  201. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -1
  202. package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
  203. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +3 -6
  204. package/front_end/ui/legacy/components/source_frame/FontView.ts +1 -0
  205. package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -0
  206. package/front_end/ui/legacy/components/source_frame/JSONView.ts +1 -0
  207. package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +19 -14
  208. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +502 -252
  209. package/front_end/ui/legacy/components/source_frame/XMLView.ts +2 -0
  210. package/front_end/ui/legacy/components/source_frame/module.json +0 -3
  211. package/front_end/ui/legacy/components/source_frame/source_frame-legacy.ts +0 -11
  212. package/front_end/ui/legacy/components/source_frame/source_frame.ts +0 -2
  213. package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +2 -0
  214. package/front_end/ui/legacy/components/text_editor/cmdevtools.css +3 -1
  215. package/front_end/ui/legacy/components/text_editor/module.json +0 -3
  216. package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -15
  217. package/front_end/ui/legacy/radioButton.css +1 -13
  218. package/front_end/ui/legacy/softContextMenu.css +1 -0
  219. package/front_end/ui/legacy/themeColors.css +36 -0
  220. package/front_end/ui/legacy/theme_support/theme_support_impl.ts +7 -9
  221. package/front_end/ui/legacy/utils/append-style.ts +9 -4
  222. package/front_end/ui/legacy/utils/create-shadow-root-with-core-styles.ts +2 -2
  223. package/front_end/ui/legacy/utils/inject-core-styles.ts +7 -4
  224. package/package.json +1 -1
  225. package/scripts/build/generate_css_js_files.js +23 -9
  226. package/scripts/build/ninja/generate_css.gni +10 -1
  227. package/scripts/eslint_rules/lib/check_css_import.js +2 -2
  228. package/scripts/eslint_rules/tests/check_css_import_test.js +12 -0
  229. package/front_end/Images/radioDot-dark-theme.png +0 -0
  230. package/front_end/Images/radioDot.png +0 -0
  231. package/front_end/panels/application/module.json +0 -7
  232. package/front_end/panels/emulation/module.json +0 -11
  233. package/front_end/panels/issues/module.json +0 -6
  234. package/front_end/panels/layer_viewer/module.json +0 -6
  235. package/front_end/panels/media/module.json +0 -6
  236. package/front_end/panels/network/module.json +0 -6
  237. package/front_end/panels/security/module.json +0 -5
  238. package/front_end/third_party/lighthouse/report-assets/report.css +0 -1774
  239. package/front_end/ui/legacy/components/perf_ui/module.json +0 -13
  240. package/front_end/ui/legacy/components/source_frame/SourcesTextEditor.ts +0 -1030
  241. package/front_end/ui/legacy/module.json +0 -41
@@ -1,41 +0,0 @@
1
- {
2
- "resources": [
3
- "checkboxTextLabel.css",
4
- "closeButton.css",
5
- "confirmDialog.css",
6
- "dialog.css",
7
- "dropTarget.css",
8
- "emptyWidget.css",
9
- "filter.css",
10
- "glassPane.css",
11
- "infobar.css",
12
- "inlineButton.css",
13
- "inspectorCommon.css",
14
- "themeColors.css",
15
- "inspectorSyntaxHighlight.css",
16
- "inspectorSyntaxHighlightDark.css",
17
- "inspectorViewTabbedPane.css",
18
- "listWidget.css",
19
- "popover.css",
20
- "progressIndicator.css",
21
- "radioButton.css",
22
- "remoteDebuggingTerminatedScreen.css",
23
- "reportView.css",
24
- "rootView.css",
25
- "searchableView.css",
26
- "slider.css",
27
- "smallBubble.css",
28
- "softContextMenu.css",
29
- "softDropDown.css",
30
- "softDropDownButton.css",
31
- "splitWidget.css",
32
- "toolbar.css",
33
- "suggestBox.css",
34
- "tabbedPane.css",
35
- "targetCrashedScreen.css",
36
- "textButton.css",
37
- "textPrompt.css",
38
- "treeoutline.css",
39
- "viewContainers.css"
40
- ]
41
- }