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.
- package/config/gni/all_devtools_files.gni +0 -57
- package/config/gni/devtools_grd_files.gni +55 -15
- package/config/gni/devtools_image_files.gni +2 -3
- package/front_end/.eslintrc.js +12 -1
- package/front_end/Images/src/feedback_button_icon.svg +3 -0
- package/front_end/Images/src/{feedback_thin_16x16_icon.svg → survey_feedback_icon.svg} +1 -1
- package/front_end/Tests.js +15 -0
- package/front_end/core/common/Color.ts +5 -0
- package/front_end/core/i18n/locales/en-US.json +31 -28
- package/front_end/core/i18n/locales/en-XL.json +31 -28
- package/front_end/core/sdk/DebuggerModel.ts +4 -14
- package/front_end/core/sdk/sdk-meta.ts +17 -3
- package/front_end/emulated_devices/module.json +1 -3
- package/front_end/entrypoints/devtools_app/devtools_app.json +1 -9
- package/front_end/entrypoints/main/MainImpl.ts +26 -0
- package/front_end/entrypoints/shell/shell.js +0 -11
- package/front_end/entrypoints/shell/shell.json +0 -2
- package/front_end/entrypoints/worker_app/worker_app.json +0 -4
- package/front_end/generated/InspectorBackendCommands.js +1 -0
- package/front_end/generated/protocol.d.ts +2 -0
- package/front_end/global_typings/global_defs.d.ts +5 -0
- package/front_end/legacy_test_runner/bindings_test_runner/IsolatedFilesystemTestRunner.js +2 -2
- package/front_end/legacy_test_runner/console_test_runner/console_test_runner.js +14 -2
- package/front_end/legacy_test_runner/legacy_test_runner.ts +10 -1
- package/front_end/legacy_test_runner/test_runner/TestRunner.js +11 -0
- package/front_end/models/formatter/SourceFormatter.ts +0 -10
- package/front_end/models/workspace/UISourceCode.ts +9 -42
- package/front_end/panels/animation/AnimationTimeline.ts +3 -3
- package/front_end/panels/application/ApplicationPanelSidebar.ts +3 -3
- package/front_end/panels/application/application-meta.ts +0 -3
- package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
- package/front_end/panels/application/components/ReportsGrid.ts +1 -1
- package/front_end/panels/console/ConsolePinPane.ts +21 -26
- package/front_end/panels/coverage/CoverageDecorationManager.ts +4 -5
- package/front_end/panels/coverage/CoverageView.ts +2 -105
- package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +11 -56
- package/front_end/panels/css_overview/components/cssOverviewStartView.css +1 -8
- package/front_end/panels/elements/ElementsTreeElement.ts +4 -9
- package/front_end/panels/elements/components/StylePropertyEditor.ts +2 -0
- package/front_end/panels/elements/components/adornerSettingsPane.css +0 -4
- package/front_end/panels/emulation/DeviceModeToolbar.ts +3 -1
- package/front_end/panels/emulation/DeviceModeView.ts +2 -1
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +3 -1
- package/front_end/panels/emulation/MediaQueryInspector.ts +3 -1
- package/front_end/panels/emulation/emulation-meta.ts +2 -4
- package/front_end/panels/issues/issues-meta.ts +0 -2
- package/front_end/panels/layers/module.json +0 -1
- package/front_end/panels/lighthouse/LighthousePanel.ts +2 -4
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +1 -4
- package/front_end/panels/lighthouse/lighthouseStartView.css +4 -0
- package/front_end/panels/lighthouse/module.json +1 -4
- package/front_end/panels/media/media-meta.ts +0 -3
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +2 -1
- package/front_end/panels/network/network-meta.ts +0 -3
- package/front_end/panels/profiler/module.json +1 -4
- package/front_end/panels/screencast/module.json +1 -4
- package/front_end/panels/security/security-meta.ts +0 -3
- package/front_end/panels/sources/BreakpointEditDialog.ts +16 -30
- package/front_end/panels/sources/CSSPlugin.ts +310 -331
- package/front_end/panels/sources/CallStackSidebarPane.ts +28 -34
- package/front_end/panels/sources/CoveragePlugin.ts +121 -6
- package/front_end/panels/sources/DebuggerPlugin.ts +1166 -1243
- package/front_end/panels/sources/EditingLocationHistoryManager.ts +71 -101
- package/front_end/panels/sources/GoToLineQuickOpen.ts +4 -3
- package/front_end/panels/sources/InplaceFormatterEditorAction.ts +3 -3
- package/front_end/panels/sources/JavaScriptCompilerPlugin.ts +26 -23
- package/front_end/panels/sources/Plugin.ts +20 -4
- package/front_end/panels/sources/ProfilePlugin.ts +185 -0
- package/front_end/panels/sources/ScriptFormatterEditorAction.ts +3 -3
- package/front_end/panels/sources/ScriptOriginPlugin.ts +0 -10
- package/front_end/panels/sources/SnippetsPlugin.ts +1 -10
- package/front_end/panels/sources/SourcesPanel.ts +15 -10
- package/front_end/panels/sources/SourcesView.ts +10 -8
- package/front_end/panels/sources/TabbedEditorContainer.ts +31 -27
- package/front_end/panels/sources/UISourceCodeFrame.ts +335 -470
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +3 -2
- package/front_end/panels/sources/sources-legacy.ts +0 -6
- package/front_end/panels/sources/sources.ts +0 -2
- package/front_end/panels/timeline/module.json +0 -3
- package/front_end/third_party/codemirror.next/bundle.ts +9 -13
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/javascript.js +2 -2
- package/front_end/third_party/codemirror.next/chunk/markdown.js +2 -6
- package/front_end/third_party/codemirror.next/chunk/php.js +2 -6
- package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/xml.js +2 -2
- package/front_end/third_party/codemirror.next/codemirror.next.d.ts +279 -198
- package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
- package/front_end/third_party/codemirror.next/package.json +13 -11
- package/front_end/third_party/lighthouse/lighthouse-dt-bundle.js +1128 -1158
- package/front_end/third_party/lighthouse/locales/ar-XB.json +211 -79
- package/front_end/third_party/lighthouse/locales/ar.json +213 -81
- package/front_end/third_party/lighthouse/locales/bg.json +211 -79
- package/front_end/third_party/lighthouse/locales/ca.json +212 -80
- package/front_end/third_party/lighthouse/locales/cs.json +211 -79
- package/front_end/third_party/lighthouse/locales/da.json +211 -79
- package/front_end/third_party/lighthouse/locales/de.json +211 -79
- package/front_end/third_party/lighthouse/locales/el.json +213 -81
- package/front_end/third_party/lighthouse/locales/en-GB.json +211 -79
- package/front_end/third_party/lighthouse/locales/en-US.json +186 -75
- package/front_end/third_party/lighthouse/locales/en-XA.json +211 -79
- package/front_end/third_party/lighthouse/locales/en-XL.json +186 -75
- package/front_end/third_party/lighthouse/locales/es-419.json +211 -79
- package/front_end/third_party/lighthouse/locales/es.json +212 -80
- package/front_end/third_party/lighthouse/locales/fi.json +211 -79
- package/front_end/third_party/lighthouse/locales/fil.json +211 -79
- package/front_end/third_party/lighthouse/locales/fr.json +211 -79
- package/front_end/third_party/lighthouse/locales/he.json +212 -80
- package/front_end/third_party/lighthouse/locales/hi.json +214 -82
- package/front_end/third_party/lighthouse/locales/hr.json +211 -79
- package/front_end/third_party/lighthouse/locales/hu.json +211 -79
- package/front_end/third_party/lighthouse/locales/id.json +211 -79
- package/front_end/third_party/lighthouse/locales/it.json +211 -79
- package/front_end/third_party/lighthouse/locales/ja.json +211 -79
- package/front_end/third_party/lighthouse/locales/ko.json +211 -79
- package/front_end/third_party/lighthouse/locales/lt.json +211 -79
- package/front_end/third_party/lighthouse/locales/lv.json +214 -82
- package/front_end/third_party/lighthouse/locales/nl.json +211 -79
- package/front_end/third_party/lighthouse/locales/no.json +211 -79
- package/front_end/third_party/lighthouse/locales/pl.json +211 -79
- package/front_end/third_party/lighthouse/locales/pt-PT.json +211 -79
- package/front_end/third_party/lighthouse/locales/pt.json +211 -79
- package/front_end/third_party/lighthouse/locales/ro.json +212 -80
- package/front_end/third_party/lighthouse/locales/ru.json +211 -79
- package/front_end/third_party/lighthouse/locales/sk.json +211 -79
- package/front_end/third_party/lighthouse/locales/sl.json +211 -79
- package/front_end/third_party/lighthouse/locales/sr-Latn.json +211 -79
- package/front_end/third_party/lighthouse/locales/sr.json +211 -79
- package/front_end/third_party/lighthouse/locales/sv.json +211 -79
- package/front_end/third_party/lighthouse/locales/ta.json +218 -86
- package/front_end/third_party/lighthouse/locales/te.json +251 -119
- package/front_end/third_party/lighthouse/locales/th.json +211 -79
- package/front_end/third_party/lighthouse/locales/tr.json +211 -79
- package/front_end/third_party/lighthouse/locales/uk.json +212 -80
- package/front_end/third_party/lighthouse/locales/vi.json +211 -79
- package/front_end/third_party/lighthouse/locales/zh-HK.json +211 -79
- package/front_end/third_party/lighthouse/locales/zh-TW.json +211 -79
- package/front_end/third_party/lighthouse/locales/zh.json +211 -79
- package/front_end/third_party/lighthouse/report/bundle.d.ts +72 -34
- package/front_end/third_party/lighthouse/report/bundle.js +698 -492
- package/front_end/third_party/lighthouse/report-assets/report-generator.js +1 -2
- package/front_end/third_party/lighthouse/report-assets/report.js +40 -35
- package/front_end/third_party/lighthouse/report-assets/standalone-template.html +2 -4
- package/front_end/ui/components/code_highlighter/CodeHighlighter.ts +60 -68
- package/front_end/ui/components/data_grid/dataGrid.css +12 -10
- package/front_end/ui/components/docs/css_overview/start_view.html +25 -0
- package/front_end/ui/components/docs/css_overview/start_view.ts +14 -0
- package/front_end/ui/components/docs/icon_button/basic.ts +3 -3
- package/front_end/ui/components/docs/panel_feedback/basic.html +25 -0
- package/front_end/ui/components/docs/panel_feedback/basic.ts +20 -0
- package/front_end/ui/components/docs/panel_feedback/button.html +25 -0
- package/front_end/ui/components/docs/panel_feedback/button.ts +18 -0
- package/front_end/ui/components/helpers/get-stylesheet.ts +0 -13
- package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
- package/front_end/ui/components/panel_feedback/FeedbackButton.ts +67 -0
- package/front_end/ui/components/panel_feedback/PanelFeedback.ts +100 -0
- package/front_end/ui/components/panel_feedback/panelFeedback.css +76 -0
- package/front_end/ui/components/panel_feedback/panel_feedback.ts +6 -0
- package/front_end/ui/components/report_view/reportValue.css +1 -0
- package/front_end/ui/components/survey_link/SurveyLink.ts +1 -1
- package/front_end/ui/components/text_editor/TextEditor.ts +79 -36
- package/front_end/ui/components/text_editor/config.ts +42 -26
- package/front_end/ui/components/text_editor/javascript.ts +2 -3
- package/front_end/ui/components/text_editor/position.ts +17 -0
- package/front_end/ui/components/text_editor/text_editor.ts +1 -0
- package/front_end/ui/components/text_editor/theme.ts +5 -1
- package/front_end/ui/legacy/Dialog.ts +3 -1
- package/front_end/ui/legacy/DropTarget.ts +2 -1
- package/front_end/ui/legacy/EmptyWidget.ts +2 -1
- package/front_end/ui/legacy/FilterBar.ts +2 -1
- package/front_end/ui/legacy/GlassPane.ts +4 -2
- package/front_end/ui/legacy/Infobar.ts +5 -8
- package/front_end/ui/legacy/InspectorView.ts +6 -1
- package/front_end/ui/legacy/ListWidget.ts +2 -1
- package/front_end/ui/legacy/PopoverHelper.ts +2 -1
- package/front_end/ui/legacy/ProgressIndicator.ts +2 -1
- package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +2 -1
- package/front_end/ui/legacy/ReportView.ts +2 -1
- package/front_end/ui/legacy/RootView.ts +2 -1
- package/front_end/ui/legacy/SearchableView.ts +2 -1
- package/front_end/ui/legacy/ShortcutRegistry.ts +11 -7
- package/front_end/ui/legacy/SoftContextMenu.ts +2 -1
- package/front_end/ui/legacy/SoftDropDown.ts +4 -2
- package/front_end/ui/legacy/SplitWidget.ts +2 -1
- package/front_end/ui/legacy/SuggestBox.ts +2 -1
- package/front_end/ui/legacy/TabbedPane.ts +2 -1
- package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -1
- package/front_end/ui/legacy/TextPrompt.ts +2 -1
- package/front_end/ui/legacy/Toolbar.ts +3 -2
- package/front_end/ui/legacy/Treeoutline.ts +3 -2
- package/front_end/ui/legacy/UIUtils.ts +16 -13
- package/front_end/ui/legacy/ViewManager.ts +2 -1
- package/front_end/ui/legacy/Widget.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +2 -1
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +3 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +2 -1
- package/front_end/ui/legacy/components/perf_ui/LineLevelProfile.ts +35 -131
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +2 -1
- package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +3 -1
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -1
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +2 -2
- package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +3 -6
- package/front_end/ui/legacy/components/source_frame/FontView.ts +1 -0
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +1 -0
- package/front_end/ui/legacy/components/source_frame/JSONView.ts +1 -0
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +19 -14
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +502 -252
- package/front_end/ui/legacy/components/source_frame/XMLView.ts +2 -0
- package/front_end/ui/legacy/components/source_frame/module.json +0 -3
- package/front_end/ui/legacy/components/source_frame/source_frame-legacy.ts +0 -11
- package/front_end/ui/legacy/components/source_frame/source_frame.ts +0 -2
- package/front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.ts +2 -0
- package/front_end/ui/legacy/components/text_editor/cmdevtools.css +3 -1
- package/front_end/ui/legacy/components/text_editor/module.json +0 -3
- package/front_end/ui/legacy/components/utils/Linkifier.ts +7 -15
- package/front_end/ui/legacy/radioButton.css +1 -13
- package/front_end/ui/legacy/softContextMenu.css +1 -0
- package/front_end/ui/legacy/themeColors.css +36 -0
- package/front_end/ui/legacy/theme_support/theme_support_impl.ts +7 -9
- package/front_end/ui/legacy/utils/append-style.ts +9 -4
- package/front_end/ui/legacy/utils/create-shadow-root-with-core-styles.ts +2 -2
- package/front_end/ui/legacy/utils/inject-core-styles.ts +7 -4
- package/package.json +1 -1
- package/scripts/build/generate_css_js_files.js +23 -9
- package/scripts/build/ninja/generate_css.gni +10 -1
- package/scripts/eslint_rules/lib/check_css_import.js +2 -2
- package/scripts/eslint_rules/tests/check_css_import_test.js +12 -0
- package/front_end/Images/radioDot-dark-theme.png +0 -0
- package/front_end/Images/radioDot.png +0 -0
- package/front_end/panels/application/module.json +0 -7
- package/front_end/panels/emulation/module.json +0 -11
- package/front_end/panels/issues/module.json +0 -6
- package/front_end/panels/layer_viewer/module.json +0 -6
- package/front_end/panels/media/module.json +0 -6
- package/front_end/panels/network/module.json +0 -6
- package/front_end/panels/security/module.json +0 -5
- package/front_end/third_party/lighthouse/report-assets/report.css +0 -1774
- package/front_end/ui/legacy/components/perf_ui/module.json +0 -13
- package/front_end/ui/legacy/components/source_frame/SourcesTextEditor.ts +0 -1030
- package/front_end/ui/legacy/module.json +0 -41
|
@@ -43,11 +43,6 @@ all_devtools_files = [
|
|
|
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
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
46
|
"front_end/legacy_test_runner/extensions_test_runner/extensions_test_runner.js",
|
|
52
47
|
"front_end/legacy_test_runner/extensions_test_runner/ExtensionsNetworkTestRunner.js",
|
|
53
48
|
"front_end/legacy_test_runner/extensions_test_runner/ExtensionsTestRunner.js",
|
|
@@ -56,25 +51,14 @@ all_devtools_files = [
|
|
|
56
51
|
"front_end/entrypoints/inspector/inspector.json",
|
|
57
52
|
"front_end/panels/js_profiler/module.json",
|
|
58
53
|
"front_end/legacy_test_runner/layers_test_runner/layers_test_runner.js",
|
|
59
|
-
"front_end/panels/layer_viewer/module.json",
|
|
60
54
|
"front_end/panels/layers/module.json",
|
|
61
|
-
"front_end/panels/media/module.json",
|
|
62
55
|
"front_end/entrypoints/ndb_app/ndb_app.json",
|
|
63
56
|
"front_end/legacy_test_runner/network_test_runner/network_test_runner.js",
|
|
64
|
-
"front_end/panels/network/module.json",
|
|
65
57
|
"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
58
|
"front_end/legacy_test_runner/performance_test_runner/performance_test_runner.js",
|
|
74
59
|
"front_end/legacy_test_runner/performance_test_runner/TimelineDataTestRunner.js",
|
|
75
60
|
"front_end/legacy_test_runner/performance_test_runner/TimelineTestRunner.js",
|
|
76
61
|
"front_end/panels/profiler/module.json",
|
|
77
|
-
"front_end/panels/issues/module.json",
|
|
78
62
|
"front_end/models/issues_manager/descriptions/arAttributionEventSourceTriggerDataTooLarge.md",
|
|
79
63
|
"front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyFrameOrigin.md",
|
|
80
64
|
"front_end/models/issues_manager/descriptions/arAttributionSourceUntrustworthyOrigin.md",
|
|
@@ -132,11 +116,9 @@ all_devtools_files = [
|
|
|
132
116
|
"front_end/models/issues_manager/descriptions/TwaDigitalAssetLinksFailed.md",
|
|
133
117
|
"front_end/models/issues_manager/descriptions/TwaHttpError.md",
|
|
134
118
|
"front_end/models/issues_manager/descriptions/TwaPageUnavailableOffline.md",
|
|
135
|
-
"front_end/panels/application/module.json",
|
|
136
119
|
"front_end/panels/screencast/module.json",
|
|
137
120
|
"front_end/legacy_test_runner/sdk_test_runner/sdk_test_runner.js",
|
|
138
121
|
"front_end/legacy_test_runner/security_test_runner/security_test_runner.js",
|
|
139
|
-
"front_end/panels/security/module.json",
|
|
140
122
|
"front_end/entrypoints/shell/shell.json",
|
|
141
123
|
"front_end/ui/legacy/components/source_frame/fontView.css",
|
|
142
124
|
"front_end/ui/legacy/components/source_frame/imageView.css",
|
|
@@ -156,48 +138,9 @@ all_devtools_files = [
|
|
|
156
138
|
"front_end/ui/legacy/components/text_editor/autocompleteTooltip.css",
|
|
157
139
|
"front_end/ui/legacy/components/text_editor/cmdevtools.css",
|
|
158
140
|
"front_end/ui/legacy/components/text_editor/module.json",
|
|
159
|
-
"front_end/third_party/lighthouse/report-assets/report.css",
|
|
160
141
|
"front_end/third_party/lighthouse/report-assets/report.js",
|
|
161
142
|
"front_end/third_party/lighthouse/report-assets/standalone-template.html",
|
|
162
143
|
"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
144
|
]
|
|
202
145
|
|
|
203
146
|
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/
|
|
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",
|
|
@@ -335,7 +334,6 @@ grd_files_release_sources = [
|
|
|
335
334
|
"front_end/panels/application/application-legacy.js",
|
|
336
335
|
"front_end/panels/application/application-meta.js",
|
|
337
336
|
"front_end/panels/application/application.js",
|
|
338
|
-
"front_end/panels/application/application_module.js",
|
|
339
337
|
"front_end/panels/application/components/components.js",
|
|
340
338
|
"front_end/panels/browser_debugger/browser_debugger-legacy.js",
|
|
341
339
|
"front_end/panels/browser_debugger/browser_debugger-meta.js",
|
|
@@ -372,14 +370,12 @@ grd_files_release_sources = [
|
|
|
372
370
|
"front_end/panels/issues/components/components.js",
|
|
373
371
|
"front_end/panels/issues/issues-meta.js",
|
|
374
372
|
"front_end/panels/issues/issues.js",
|
|
375
|
-
"front_end/panels/issues/issues_module.js",
|
|
376
373
|
"front_end/panels/js_profiler/js_profiler-meta.js",
|
|
377
374
|
"front_end/panels/js_profiler/js_profiler.js",
|
|
378
375
|
"front_end/panels/js_profiler/js_profiler_module.js",
|
|
379
376
|
"front_end/panels/layer_viewer/layer_viewer-legacy.js",
|
|
380
377
|
"front_end/panels/layer_viewer/layer_viewer-meta.js",
|
|
381
378
|
"front_end/panels/layer_viewer/layer_viewer.js",
|
|
382
|
-
"front_end/panels/layer_viewer/layer_viewer_module.js",
|
|
383
379
|
"front_end/panels/layers/layers-meta.js",
|
|
384
380
|
"front_end/panels/layers/layers.js",
|
|
385
381
|
"front_end/panels/layers/layers_module.js",
|
|
@@ -389,7 +385,6 @@ grd_files_release_sources = [
|
|
|
389
385
|
"front_end/panels/lighthouse/lighthouse_module.js",
|
|
390
386
|
"front_end/panels/media/media-meta.js",
|
|
391
387
|
"front_end/panels/media/media.js",
|
|
392
|
-
"front_end/panels/media/media_module.js",
|
|
393
388
|
"front_end/panels/mobile_throttling/mobile_throttling-legacy.js",
|
|
394
389
|
"front_end/panels/mobile_throttling/mobile_throttling-meta.js",
|
|
395
390
|
"front_end/panels/mobile_throttling/mobile_throttling.js",
|
|
@@ -398,7 +393,6 @@ grd_files_release_sources = [
|
|
|
398
393
|
"front_end/panels/network/network-legacy.js",
|
|
399
394
|
"front_end/panels/network/network-meta.js",
|
|
400
395
|
"front_end/panels/network/network.js",
|
|
401
|
-
"front_end/panels/network/network_module.js",
|
|
402
396
|
"front_end/panels/performance_monitor/performance_monitor-meta.js",
|
|
403
397
|
"front_end/panels/performance_monitor/performance_monitor.js",
|
|
404
398
|
"front_end/panels/profiler/profiler-legacy.js",
|
|
@@ -414,7 +408,6 @@ grd_files_release_sources = [
|
|
|
414
408
|
"front_end/panels/security/security-legacy.js",
|
|
415
409
|
"front_end/panels/security/security-meta.js",
|
|
416
410
|
"front_end/panels/security/security.js",
|
|
417
|
-
"front_end/panels/security/security_module.js",
|
|
418
411
|
"front_end/panels/sensors/sensors-meta.js",
|
|
419
412
|
"front_end/panels/sensors/sensors.js",
|
|
420
413
|
"front_end/panels/settings/components/components.js",
|
|
@@ -447,10 +440,7 @@ grd_files_release_sources = [
|
|
|
447
440
|
"front_end/third_party/chromium/client-variations/client-variations.js",
|
|
448
441
|
"front_end/third_party/codemirror.next/chunk/codemirror.js",
|
|
449
442
|
"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
443
|
"front_end/third_party/codemirror.next/chunk/java.js",
|
|
453
|
-
"front_end/third_party/codemirror.next/chunk/javascript.js",
|
|
454
444
|
"front_end/third_party/codemirror.next/chunk/json.js",
|
|
455
445
|
"front_end/third_party/codemirror.next/chunk/legacy.js",
|
|
456
446
|
"front_end/third_party/codemirror.next/chunk/markdown.js",
|
|
@@ -482,6 +472,7 @@ grd_files_release_sources = [
|
|
|
482
472
|
"front_end/ui/components/linear_memory_inspector/linear_memory_inspector.js",
|
|
483
473
|
"front_end/ui/components/linkifier/linkifier.js",
|
|
484
474
|
"front_end/ui/components/markdown_view/markdown_view.js",
|
|
475
|
+
"front_end/ui/components/panel_feedback/panel_feedback.js",
|
|
485
476
|
"front_end/ui/components/render_coordinator/render_coordinator.js",
|
|
486
477
|
"front_end/ui/components/report_view/report_view.js",
|
|
487
478
|
"front_end/ui/components/request_link_icon/request_link_icon.js",
|
|
@@ -504,7 +495,6 @@ grd_files_release_sources = [
|
|
|
504
495
|
"front_end/ui/legacy/components/perf_ui/perf_ui-legacy.js",
|
|
505
496
|
"front_end/ui/legacy/components/perf_ui/perf_ui-meta.js",
|
|
506
497
|
"front_end/ui/legacy/components/perf_ui/perf_ui.js",
|
|
507
|
-
"front_end/ui/legacy/components/perf_ui/perf_ui_module.js",
|
|
508
498
|
"front_end/ui/legacy/components/quick_open/quick_open-legacy.js",
|
|
509
499
|
"front_end/ui/legacy/components/quick_open/quick_open-meta.js",
|
|
510
500
|
"front_end/ui/legacy/components/quick_open/quick_open.js",
|
|
@@ -974,6 +964,10 @@ grd_files_debug_sources = [
|
|
|
974
964
|
"front_end/panels/emulation/InspectedPagePlaceholder.js",
|
|
975
965
|
"front_end/panels/emulation/MediaQueryInspector.js",
|
|
976
966
|
"front_end/panels/emulation/components/DeviceSizeInputElement.js",
|
|
967
|
+
"front_end/panels/emulation/deviceModeToolbar.css.legacy.js",
|
|
968
|
+
"front_end/panels/emulation/deviceModeView.css.legacy.js",
|
|
969
|
+
"front_end/panels/emulation/inspectedPagePlaceholder.css.legacy.js",
|
|
970
|
+
"front_end/panels/emulation/mediaQueryInspector.css.legacy.js",
|
|
977
971
|
"front_end/panels/event_listeners/EventListenersUtils.js",
|
|
978
972
|
"front_end/panels/event_listeners/EventListenersView.js",
|
|
979
973
|
"front_end/panels/event_listeners/eventListenersView.css.js",
|
|
@@ -1195,6 +1189,7 @@ grd_files_debug_sources = [
|
|
|
1195
1189
|
"front_end/panels/sources/OpenFileQuickOpen.js",
|
|
1196
1190
|
"front_end/panels/sources/OutlineQuickOpen.js",
|
|
1197
1191
|
"front_end/panels/sources/Plugin.js",
|
|
1192
|
+
"front_end/panels/sources/ProfilePlugin.js",
|
|
1198
1193
|
"front_end/panels/sources/ScopeChainSidebarPane.js",
|
|
1199
1194
|
"front_end/panels/sources/ScriptFormatterEditorAction.js",
|
|
1200
1195
|
"front_end/panels/sources/ScriptOriginPlugin.js",
|
|
@@ -1306,7 +1301,6 @@ grd_files_debug_sources = [
|
|
|
1306
1301
|
"front_end/third_party/i18n/localized-string-set.js",
|
|
1307
1302
|
"front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js",
|
|
1308
1303
|
"front_end/third_party/lighthouse/report-assets/report-generator.js",
|
|
1309
|
-
"front_end/third_party/lighthouse/report-assets/report.css.js",
|
|
1310
1304
|
"front_end/third_party/lighthouse/report-assets/report.js",
|
|
1311
1305
|
"front_end/third_party/lighthouse/report/bundle.js",
|
|
1312
1306
|
"front_end/third_party/lit-html/directive.js",
|
|
@@ -1395,6 +1389,9 @@ grd_files_debug_sources = [
|
|
|
1395
1389
|
"front_end/ui/components/markdown_view/markdownImage.css.js",
|
|
1396
1390
|
"front_end/ui/components/markdown_view/markdownLink.css.js",
|
|
1397
1391
|
"front_end/ui/components/markdown_view/markdownView.css.js",
|
|
1392
|
+
"front_end/ui/components/panel_feedback/FeedbackButton.js",
|
|
1393
|
+
"front_end/ui/components/panel_feedback/PanelFeedback.js",
|
|
1394
|
+
"front_end/ui/components/panel_feedback/panelFeedback.css.js",
|
|
1398
1395
|
"front_end/ui/components/render_coordinator/RenderCoordinator.js",
|
|
1399
1396
|
"front_end/ui/components/report_view/ReportView.js",
|
|
1400
1397
|
"front_end/ui/components/report_view/report.css.js",
|
|
@@ -1412,6 +1409,7 @@ grd_files_debug_sources = [
|
|
|
1412
1409
|
"front_end/ui/components/text_editor/config.js",
|
|
1413
1410
|
"front_end/ui/components/text_editor/cursor_tooltip.js",
|
|
1414
1411
|
"front_end/ui/components/text_editor/javascript.js",
|
|
1412
|
+
"front_end/ui/components/text_editor/position.js",
|
|
1415
1413
|
"front_end/ui/components/text_editor/theme.js",
|
|
1416
1414
|
"front_end/ui/components/text_prompt/TextPrompt.js",
|
|
1417
1415
|
"front_end/ui/components/text_prompt/textPrompt.css.js",
|
|
@@ -1474,6 +1472,8 @@ grd_files_debug_sources = [
|
|
|
1474
1472
|
"front_end/ui/legacy/XLink.js",
|
|
1475
1473
|
"front_end/ui/legacy/XWidget.js",
|
|
1476
1474
|
"front_end/ui/legacy/ZoomManager.js",
|
|
1475
|
+
"front_end/ui/legacy/checkboxTextLabel.css.legacy.js",
|
|
1476
|
+
"front_end/ui/legacy/closeButton.css.legacy.js",
|
|
1477
1477
|
"front_end/ui/legacy/components/color_picker/ContrastDetails.js",
|
|
1478
1478
|
"front_end/ui/legacy/components/color_picker/ContrastInfo.js",
|
|
1479
1479
|
"front_end/ui/legacy/components/color_picker/ContrastOverlay.js",
|
|
@@ -1537,7 +1537,13 @@ grd_files_debug_sources = [
|
|
|
1537
1537
|
"front_end/ui/legacy/components/perf_ui/PieChart.js",
|
|
1538
1538
|
"front_end/ui/legacy/components/perf_ui/TimelineGrid.js",
|
|
1539
1539
|
"front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.js",
|
|
1540
|
+
"front_end/ui/legacy/components/perf_ui/chartViewport.css.legacy.js",
|
|
1541
|
+
"front_end/ui/legacy/components/perf_ui/filmStripView.css.legacy.js",
|
|
1542
|
+
"front_end/ui/legacy/components/perf_ui/flameChart.css.legacy.js",
|
|
1543
|
+
"front_end/ui/legacy/components/perf_ui/overviewGrid.css.legacy.js",
|
|
1540
1544
|
"front_end/ui/legacy/components/perf_ui/pieChart.css.js",
|
|
1545
|
+
"front_end/ui/legacy/components/perf_ui/timelineGrid.css.legacy.js",
|
|
1546
|
+
"front_end/ui/legacy/components/perf_ui/timelineOverviewInfo.css.js",
|
|
1541
1547
|
"front_end/ui/legacy/components/quick_open/CommandMenu.js",
|
|
1542
1548
|
"front_end/ui/legacy/components/quick_open/FilteredListWidget.js",
|
|
1543
1549
|
"front_end/ui/legacy/components/quick_open/HelpQuickOpen.js",
|
|
@@ -1552,7 +1558,6 @@ grd_files_debug_sources = [
|
|
|
1552
1558
|
"front_end/ui/legacy/components/source_frame/PreviewFactory.js",
|
|
1553
1559
|
"front_end/ui/legacy/components/source_frame/ResourceSourceFrame.js",
|
|
1554
1560
|
"front_end/ui/legacy/components/source_frame/SourceFrame.js",
|
|
1555
|
-
"front_end/ui/legacy/components/source_frame/SourcesTextEditor.js",
|
|
1556
1561
|
"front_end/ui/legacy/components/source_frame/XMLView.js",
|
|
1557
1562
|
"front_end/ui/legacy/components/text_editor/CodeMirrorTextEditor.js",
|
|
1558
1563
|
"front_end/ui/legacy/components/text_editor/TextEditorAutocompleteController.js",
|
|
@@ -1564,15 +1569,50 @@ grd_files_debug_sources = [
|
|
|
1564
1569
|
"front_end/ui/legacy/components/utils/TargetDetachedDialog.js",
|
|
1565
1570
|
"front_end/ui/legacy/components/utils/imagePreview.css.js",
|
|
1566
1571
|
"front_end/ui/legacy/components/utils/jsUtils.css.js",
|
|
1572
|
+
"front_end/ui/legacy/confirmDialog.css.legacy.js",
|
|
1573
|
+
"front_end/ui/legacy/dialog.css.legacy.js",
|
|
1574
|
+
"front_end/ui/legacy/dropTarget.css.legacy.js",
|
|
1567
1575
|
"front_end/ui/legacy/emptyWidget.css.js",
|
|
1576
|
+
"front_end/ui/legacy/emptyWidget.css.legacy.js",
|
|
1577
|
+
"front_end/ui/legacy/filter.css.legacy.js",
|
|
1578
|
+
"front_end/ui/legacy/glassPane.css.legacy.js",
|
|
1579
|
+
"front_end/ui/legacy/infobar.css.legacy.js",
|
|
1580
|
+
"front_end/ui/legacy/inlineButton.css.legacy.js",
|
|
1568
1581
|
"front_end/ui/legacy/inspectorCommon.css.js",
|
|
1582
|
+
"front_end/ui/legacy/inspectorCommon.css.legacy.js",
|
|
1583
|
+
"front_end/ui/legacy/inspectorSyntaxHighlight.css.legacy.js",
|
|
1584
|
+
"front_end/ui/legacy/inspectorSyntaxHighlightDark.css.legacy.js",
|
|
1585
|
+
"front_end/ui/legacy/inspectorViewTabbedPane.css.legacy.js",
|
|
1586
|
+
"front_end/ui/legacy/listWidget.css.legacy.js",
|
|
1587
|
+
"front_end/ui/legacy/popover.css.legacy.js",
|
|
1588
|
+
"front_end/ui/legacy/progressIndicator.css.legacy.js",
|
|
1589
|
+
"front_end/ui/legacy/radioButton.css.legacy.js",
|
|
1590
|
+
"front_end/ui/legacy/remoteDebuggingTerminatedScreen.css.legacy.js",
|
|
1591
|
+
"front_end/ui/legacy/reportView.css.legacy.js",
|
|
1592
|
+
"front_end/ui/legacy/rootView.css.legacy.js",
|
|
1593
|
+
"front_end/ui/legacy/searchableView.css.legacy.js",
|
|
1594
|
+
"front_end/ui/legacy/slider.css.legacy.js",
|
|
1595
|
+
"front_end/ui/legacy/smallBubble.css.legacy.js",
|
|
1596
|
+
"front_end/ui/legacy/softContextMenu.css.legacy.js",
|
|
1597
|
+
"front_end/ui/legacy/softDropDown.css.legacy.js",
|
|
1598
|
+
"front_end/ui/legacy/softDropDownButton.css.legacy.js",
|
|
1599
|
+
"front_end/ui/legacy/splitWidget.css.legacy.js",
|
|
1600
|
+
"front_end/ui/legacy/suggestBox.css.legacy.js",
|
|
1601
|
+
"front_end/ui/legacy/tabbedPane.css.legacy.js",
|
|
1602
|
+
"front_end/ui/legacy/targetCrashedScreen.css.legacy.js",
|
|
1603
|
+
"front_end/ui/legacy/textButton.css.legacy.js",
|
|
1604
|
+
"front_end/ui/legacy/textPrompt.css.legacy.js",
|
|
1605
|
+
"front_end/ui/legacy/themeColors.css.legacy.js",
|
|
1569
1606
|
"front_end/ui/legacy/theme_support/theme_support_impl.js",
|
|
1607
|
+
"front_end/ui/legacy/toolbar.css.legacy.js",
|
|
1608
|
+
"front_end/ui/legacy/treeoutline.css.legacy.js",
|
|
1570
1609
|
"front_end/ui/legacy/utils/append-style.js",
|
|
1571
1610
|
"front_end/ui/legacy/utils/create-shadow-root-with-core-styles.js",
|
|
1572
1611
|
"front_end/ui/legacy/utils/focus-changed.js",
|
|
1573
1612
|
"front_end/ui/legacy/utils/inject-core-styles.js",
|
|
1574
1613
|
"front_end/ui/legacy/utils/measured-scrollbar-width.js",
|
|
1575
1614
|
"front_end/ui/legacy/utils/register-custom-element.js",
|
|
1615
|
+
"front_end/ui/legacy/viewContainers.css.legacy.js",
|
|
1576
1616
|
"front_end/ui/lit-html/static.js",
|
|
1577
1617
|
]
|
|
1578
1618
|
|
|
@@ -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
|
-
"
|
|
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",
|
package/front_end/.eslintrc.js
CHANGED
|
@@ -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>
|
package/front_end/Tests.js
CHANGED
|
@@ -141,6 +141,21 @@
|
|
|
141
141
|
this.domAutomationController_.send('[FAILED] ' + error);
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
+
TestSuite.prototype.setupLegacyFilesForTest = async function() {
|
|
145
|
+
try {
|
|
146
|
+
await Promise.all([
|
|
147
|
+
self.runtime.loadLegacyModule('core/common/common-legacy.js'),
|
|
148
|
+
self.runtime.loadLegacyModule('core/sdk/sdk-legacy.js'),
|
|
149
|
+
self.runtime.loadLegacyModule('core/host/host-legacy.js'),
|
|
150
|
+
self.runtime.loadLegacyModule('ui/legacy/legacy-legacy.js'),
|
|
151
|
+
self.runtime.loadLegacyModule('models/workspace/workspace-legacy.js'),
|
|
152
|
+
]);
|
|
153
|
+
this.reportOk_();
|
|
154
|
+
} catch (e) {
|
|
155
|
+
this.reportFailure_(e);
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
|
|
144
159
|
/**
|
|
145
160
|
* Run specified test on a fresh instance of the test suite.
|
|
146
161
|
* @param {Array<string>} args method name followed by its parameters.
|
|
@@ -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 |
|
|
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"
|
|
@@ -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,21 @@
|
|
|
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
|
+
"ui/components/panel_feedback/PanelFeedback.ts | previewFeature": {
|
|
11457
|
+
"message": "Preview feature"
|
|
11458
|
+
},
|
|
11459
|
+
"ui/components/panel_feedback/PanelFeedback.ts | previewText": {
|
|
11460
|
+
"message": "Our team is actively working on this feature and we would love to know what you think."
|
|
11461
|
+
},
|
|
11462
|
+
"ui/components/panel_feedback/PanelFeedback.ts | previewTextFeedbackLink": {
|
|
11463
|
+
"message": "Send us your feedback."
|
|
11464
|
+
},
|
|
11465
|
+
"ui/components/panel_feedback/PanelFeedback.ts | videoAndDocumentation": {
|
|
11466
|
+
"message": "Video and documentation"
|
|
11467
|
+
},
|
|
11456
11468
|
"ui/components/request_link_icon/RequestLinkIcon.ts | clickToShowRequestInTheNetwork": {
|
|
11457
11469
|
"message": "Click to open the network panel and show request for URL: {url}"
|
|
11458
11470
|
},
|
|
@@ -11834,15 +11846,6 @@
|
|
|
11834
11846
|
"ui/legacy/components/perf_ui/FlameChart.ts | sSelected": {
|
|
11835
11847
|
"message": "{PH1} selected"
|
|
11836
11848
|
},
|
|
11837
|
-
"ui/legacy/components/perf_ui/LineLevelProfile.ts | kb": {
|
|
11838
|
-
"message": "kB"
|
|
11839
|
-
},
|
|
11840
|
-
"ui/legacy/components/perf_ui/LineLevelProfile.ts | mb": {
|
|
11841
|
-
"message": "MB"
|
|
11842
|
-
},
|
|
11843
|
-
"ui/legacy/components/perf_ui/LineLevelProfile.ts | ms": {
|
|
11844
|
-
"message": "ms"
|
|
11845
|
-
},
|
|
11846
11849
|
"ui/legacy/components/perf_ui/NetworkPriorities.ts | high": {
|
|
11847
11850
|
"message": "High"
|
|
11848
11851
|
},
|