chrome-devtools-frontend 1.0.1689415 → 1.0.1690531
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/.gitmodules +4 -0
- package/eslint.config.mjs +8 -2
- package/front_end/core/common/Object.ts +10 -4
- package/front_end/core/i18n/collect-ui-strings.js +5 -5
- package/front_end/core/i18n/generate-locales-js.js +1 -1
- package/front_end/core/i18n/i18n.ts +6 -0
- package/front_end/core/root/Runtime.ts +1 -5
- package/front_end/core/sdk/CSSMetadata.ts +3 -5
- package/front_end/core/sdk/DOMModel.ts +46 -11
- package/front_end/core/sdk/EmulationModel.ts +18 -0
- package/front_end/core/sdk/NetworkRequest.ts +50 -4
- package/front_end/core/sdk/NetworkRequestAccess.ts +172 -0
- package/front_end/core/sdk/SDKSettings.ts +9 -0
- package/front_end/core/sdk/Script.ts +0 -1
- package/front_end/core/sdk/SecurityOrigin.ts +160 -25
- package/front_end/core/sdk/Target.ts +1 -5
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/generated/SupportedCSSProperties.ts +1 -1
- package/front_end/models/ai_assistance/AiAgent2.ts +4 -1
- package/front_end/models/ai_assistance/AiConversation.ts +29 -18
- package/front_end/models/ai_assistance/AiUtils.ts +0 -10
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +6 -10
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +0 -1
- package/front_end/models/ai_assistance/injected.ts +0 -2
- package/front_end/models/javascript_metadata/NativeFunctions.ts +1 -1
- package/front_end/models/trace/insights/CLSCulprits.ts +1 -2
- package/front_end/models/trace/insights/Cache.ts +1 -3
- package/front_end/models/trace/insights/CharacterSet.ts +1 -3
- package/front_end/models/trace/insights/DOMSize.ts +1 -3
- package/front_end/models/trace/insights/DocumentLatency.ts +1 -3
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -3
- package/front_end/models/trace/insights/FontDisplay.ts +1 -2
- package/front_end/models/trace/insights/ForcedReflow.ts +1 -2
- package/front_end/models/trace/insights/INPBreakdown.ts +1 -3
- package/front_end/models/trace/insights/ImageDelivery.ts +1 -3
- package/front_end/models/trace/insights/LCPBreakdown.ts +1 -3
- package/front_end/models/trace/insights/LCPDiscovery.ts +1 -3
- package/front_end/models/trace/insights/LegacyJavaScript.ts +1 -3
- package/front_end/models/trace/insights/ModernHTTP.ts +1 -2
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +1 -2
- package/front_end/models/trace/insights/RenderBlocking.ts +1 -3
- package/front_end/models/trace/insights/SlowCSSSelector.ts +1 -3
- package/front_end/models/trace/insights/ThirdParties.ts +1 -3
- package/front_end/models/trace/insights/Viewport.ts +1 -2
- package/front_end/panels/accessibility/ARIAAttributesView.ts +1 -1
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +3 -3
- package/front_end/panels/accessibility/AccessibilityNodeView.ts +1 -2
- package/front_end/panels/accessibility/AccessibilityStrings.ts +7 -3
- package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +2 -2
- package/front_end/panels/ai_assistance/components/AccessibilityAgentMarkdownRenderer.ts +1 -3
- package/front_end/panels/ai_assistance/components/chatMessage.css +3 -1
- package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
- package/front_end/panels/animation/AnimationTimeline.ts +1 -1
- package/front_end/panels/animation/AnimationUI.ts +1 -1
- package/front_end/panels/application/AppManifestView.ts +6 -2
- package/front_end/panels/application/ApplicationPanelSidebar.ts +2 -4
- package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +1 -1
- package/front_end/panels/application/FrameDetailsView.ts +1 -1
- package/front_end/panels/application/IndexedDBViews.ts +3 -2
- package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
- package/front_end/panels/application/ReportingApiView.ts +2 -2
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +1 -1
- package/front_end/panels/application/ServiceWorkersView.ts +1 -1
- package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
- package/front_end/panels/application/StorageItemsToolbar.ts +6 -2
- package/front_end/panels/application/StorageView.ts +9 -8
- package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
- package/front_end/panels/application/WebMCPView.ts +2 -1
- package/front_end/panels/application/components/BackForwardCacheView.ts +1 -1
- package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +1 -1
- package/front_end/panels/application/components/CrashReportContextGrid.ts +1 -1
- package/front_end/panels/application/components/EndpointsGrid.ts +3 -2
- package/front_end/panels/application/components/PermissionsPolicySection.ts +1 -1
- package/front_end/panels/application/components/ReportsGrid.ts +1 -1
- package/front_end/panels/application/components/ServiceWorkerRouterView.ts +1 -1
- package/front_end/panels/application/components/TrustTokensView.ts +2 -2
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +1 -1
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -1
- package/front_end/panels/application/preloading/components/PreloadingGrid.ts +1 -1
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -1
- package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -2
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +1 -1
- package/front_end/panels/application/serviceWorkerUpdateCycleView.css +2 -0
- package/front_end/panels/autofill/AutofillView.ts +2 -2
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +2 -3
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/changes/ChangesSidebar.ts +56 -15
- package/front_end/panels/changes/ChangesView.ts +1 -1
- package/front_end/panels/common/CPUThrottlingOption.ts +12 -6
- package/front_end/panels/common/DOMLinkifier.ts +1 -1
- package/front_end/panels/common/ExtensionView.ts +2 -1
- package/front_end/panels/console/ConsolePinPane.ts +4 -2
- package/front_end/panels/console/ConsolePrompt.ts +6 -2
- package/front_end/panels/console/ConsoleSidebar.ts +12 -4
- package/front_end/panels/console/PromptBuilder.ts +1 -1
- package/front_end/panels/coverage/CoverageListView.ts +1 -1
- package/front_end/panels/coverage/CoverageModel.ts +6 -4
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -9
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewStartView.ts +3 -3
- package/front_end/panels/developer_resources/DeveloperResourcesListView.ts +1 -1
- package/front_end/panels/elements/ComputedStyleWidget.ts +1 -1
- package/front_end/panels/elements/ElementsTreeElement.ts +16 -3
- package/front_end/panels/elements/ElementsTreeOutline.ts +402 -130
- package/front_end/panels/elements/MetricsSidebarPane.ts +1 -1
- package/front_end/panels/elements/PropertyNameCategories.ts +1 -1
- package/front_end/panels/elements/PropertyRenderer.ts +22 -15
- package/front_end/panels/elements/ShortcutTreeElement.ts +2 -1
- package/front_end/panels/elements/StandaloneStylesContainer.ts +7 -3
- package/front_end/panels/elements/StylePropertiesSection.ts +1 -1
- package/front_end/panels/elements/StylePropertyTreeElement.ts +75 -26
- package/front_end/panels/elements/StylesSidebarPane.ts +9 -4
- package/front_end/panels/elements/components/StylePropertyEditor.ts +160 -148
- package/front_end/panels/elements/elementsTreeOutline.css +4 -0
- package/front_end/panels/emulation/DeviceModeView.ts +6 -1
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +6 -2
- package/front_end/panels/emulation/MediaQueryInspector.ts +2 -1
- package/front_end/panels/issues/AffectedLazyLoadImagesView.ts +1 -1
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +6 -2
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
- package/front_end/panels/layer_viewer/Layers3DView.ts +8 -1
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +6 -2
- package/front_end/panels/lighthouse/lighthousePanel.css +5 -5
- package/front_end/panels/lighthouse/lighthouseStartView.css +13 -13
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +6 -2
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +6 -2
- package/front_end/panels/linear_memory_inspector/components/linearMemoryInspector.css +2 -2
- package/front_end/panels/linear_memory_inspector/components/linearMemoryNavigator.css +1 -1
- package/front_end/panels/linear_memory_inspector/components/linearMemoryValueInterpreter.css +5 -5
- package/front_end/panels/linear_memory_inspector/components/linearMemoryViewer.css +6 -6
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterDisplay.css +6 -6
- package/front_end/panels/linear_memory_inspector/components/valueInterpreterSettings.css +2 -2
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +6 -2
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +25 -54
- package/front_end/panels/network/NetworkDataGridNode.ts +11 -9
- package/front_end/panels/network/NetworkLogView.ts +12 -4
- package/front_end/panels/network/RequestConditionsDrawer.ts +2 -2
- package/front_end/panels/network/RequestHeadersView.ts +1 -1
- package/front_end/panels/network/RequestPayloadView.ts +1 -1
- package/front_end/panels/network/RequestResponseView.ts +1 -1
- package/front_end/panels/network/RequestTimingView.ts +1 -1
- package/front_end/panels/network/ShowMoreDetailsWidget.ts +1 -1
- package/front_end/panels/network/components/RequestHeadersView.css +5 -0
- package/front_end/panels/network/components/ResponseHeaderSection.ts +1 -1
- package/front_end/panels/network/networkLogView.css +4 -0
- package/front_end/panels/network/requestInitiatorViewTree.css +2 -0
- package/front_end/panels/performance_monitor/performanceMonitor.css +3 -3
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +7 -2
- package/front_end/panels/profiler/HeapProfileView.ts +7 -2
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +8 -4
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +8 -4
- package/front_end/panels/profiler/HeapSnapshotView.ts +15 -6
- package/front_end/panels/profiler/HeapTimelineOverview.ts +6 -2
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +12 -5
- package/front_end/panels/profiler/ProfileLauncherView.ts +6 -2
- package/front_end/panels/profiler/profilesPanel.css +8 -9
- package/front_end/panels/profiler/profilesSidebarTree.css +13 -13
- package/front_end/panels/protocol_monitor/JSONEditor.css +2 -2
- package/front_end/panels/protocol_monitor/JSONEditor.ts +6 -1
- package/front_end/panels/protocol_monitor/protocolMonitor.css +2 -2
- package/front_end/panels/sources/BreakpointEditDialog.ts +1 -1
- package/front_end/panels/sources/CallStackSidebarPane.ts +1 -1
- package/front_end/panels/sources/DebuggerPausedMessage.ts +8 -6
- package/front_end/panels/sources/ProfilePlugin.ts +2 -1
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +1 -1
- package/front_end/panels/sources/SourcesView.ts +7 -2
- package/front_end/panels/sources/TabbedEditorContainer.ts +6 -2
- package/front_end/panels/sources/UISourceCodeFrame.ts +10 -3
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/AnnotationHelpers.ts +9 -9
- package/front_end/panels/timeline/CountersGraph.ts +8 -8
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +3 -3
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +1 -1
- package/front_end/panels/timeline/GPUTrackAppender.ts +1 -1
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/IsolateSelector.ts +3 -3
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +4 -4
- package/front_end/panels/timeline/NetworkTrackAppender.ts +2 -2
- package/front_end/panels/timeline/StatusDialog.ts +5 -6
- package/front_end/panels/timeline/ThirdPartyTreeView.ts +4 -4
- package/front_end/panels/timeline/ThreadAppender.ts +12 -14
- package/front_end/panels/timeline/TimelineController.ts +5 -8
- package/front_end/panels/timeline/TimelineDetailsView.ts +13 -9
- package/front_end/panels/timeline/TimelineEventOverview.ts +4 -4
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +18 -18
- package/front_end/panels/timeline/TimelineFlameChartView.ts +8 -3
- package/front_end/panels/timeline/TimelineHistoryManager.ts +9 -9
- package/front_end/panels/timeline/TimelineLoader.ts +1 -1
- package/front_end/panels/timeline/TimelineMiniMap.ts +7 -2
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +7 -3
- package/front_end/panels/timeline/TimelinePanel.ts +60 -62
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +27 -27
- package/front_end/panels/timeline/TimelineTreeView.ts +47 -45
- package/front_end/panels/timeline/TimelineUIUtils.ts +146 -120
- package/front_end/panels/timeline/TimingsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/TrackConfigBanner.ts +4 -4
- package/front_end/panels/timeline/UIDevtoolsUtils.ts +15 -15
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +4 -3
- package/front_end/panels/timeline/components/LiveMetricsView.ts +1 -1
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +25 -24
- package/front_end/panels/timeline/components/RelatedInsightChips.ts +4 -3
- package/front_end/panels/timeline/components/Sidebar.ts +1 -1
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +4 -3
- package/front_end/panels/timeline/components/insights/Table.ts +1 -1
- package/front_end/panels/timeline/enable-easter-egg.js +1 -1
- package/front_end/panels/timeline/timeline-meta.ts +30 -30
- package/front_end/panels/timeline/timelineFlameChartView.css +10 -10
- package/front_end/panels/timeline/timelineFlamechartPopover.css +5 -5
- package/front_end/panels/timeline/timelineHistoryManager.css +7 -7
- package/front_end/panels/timeline/timelinePaintProfiler.css +2 -2
- package/front_end/panels/timeline/utils/Helpers.ts +1 -1
- package/front_end/panels/timeline/utils/IgnoreList.ts +4 -4
- package/front_end/panels/timeline/utils/ImageCache.ts +5 -3
- package/front_end/panels/web_audio/WebAudioView.ts +3 -3
- package/front_end/panels/webauthn/WebauthnPane.ts +5 -11
- package/front_end/third_party/acorn/acorn.ts +3 -3
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/chromium/ahem/ahem.d.ts +1 -0
- package/front_end/third_party/csp_evaluator/package/csp.ts +4 -4
- package/front_end/third_party/csp_evaluator/package/parser.ts +3 -1
- package/front_end/third_party/csp_evaluator/package/utils.ts +1 -1
- package/front_end/third_party/diff/diff_match_patch.d.ts +10 -0
- package/front_end/third_party/json5/json5.ts +2 -2
- package/front_end/ui/comments/CommentAnchorResolver.ts +12 -3
- package/front_end/ui/comments/CommentOverlayManager.ts +9 -1
- package/front_end/ui/components/buttons/Button.docs.ts +1 -1
- package/front_end/ui/components/buttons/button.css +21 -0
- package/front_end/ui/components/buttons/floatingButton.css +25 -0
- package/front_end/ui/components/report_view/ReportView.docs.ts +1 -1
- package/front_end/ui/components/snackbars/Snackbars.docs.ts +1 -1
- package/front_end/ui/components/spinners/Spinner.ts +1 -1
- package/front_end/ui/components/spinners/Spinners.docs.ts +1 -1
- package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +1 -1
- package/front_end/ui/components/suggestion_input/SuggestionInput.ts +46 -27
- package/front_end/ui/components/switch/Switch.docs.ts +1 -1
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +10 -8
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +2 -1
- package/front_end/ui/components/text_editor/ExecutionPositionHighlighter.ts +2 -2
- package/front_end/ui/components/text_editor/TextEditor.ts +19 -0
- package/front_end/ui/components/text_editor/config.ts +109 -96
- package/front_end/ui/components/text_editor/cursor_tooltip.ts +1 -1
- package/front_end/ui/components/text_editor/theme.ts +1 -1
- package/front_end/ui/components/tooltips/Tooltip.docs.ts +1 -1
- package/front_end/ui/components/tooltips/Tooltip.ts +1 -1
- package/front_end/ui/components/tree_outline/TreeOutlineUtils.ts +4 -1
- package/front_end/ui/kit/cards/Card.ts +1 -1
- package/front_end/ui/kit/icons/Icon.ts +1 -1
- package/front_end/ui/kit/link/Link.docs.ts +1 -1
- package/front_end/ui/kit/link/Link.ts +1 -1
- package/front_end/ui/legacy/ContextMenu.docs.ts +1 -1
- package/front_end/ui/legacy/ContextMenu.ts +2 -2
- package/front_end/ui/legacy/Dialog.ts +10 -2
- package/front_end/ui/legacy/DropTarget.ts +6 -1
- package/front_end/ui/legacy/EmptyWidget.ts +1 -1
- package/front_end/ui/legacy/FilterBar.ts +6 -1
- package/front_end/ui/legacy/GlassPane.ts +1 -1
- package/front_end/ui/legacy/RadioButton.docs.ts +1 -1
- package/front_end/ui/legacy/SelectMenu.docs.ts +1 -1
- package/front_end/ui/legacy/ShortcutRegistry.ts +2 -2
- package/front_end/ui/legacy/Slider.docs.ts +1 -1
- package/front_end/ui/legacy/SplitWidget.ts +7 -2
- package/front_end/ui/legacy/StackedPane.ts +1 -1
- package/front_end/ui/legacy/TabbedPane.ts +5 -1
- package/front_end/ui/legacy/TargetCrashedScreen.ts +1 -1
- package/front_end/ui/legacy/TextPrompt.ts +2 -1
- package/front_end/ui/legacy/Toolbar.ts +1 -1
- package/front_end/ui/legacy/Treeoutline.ts +13 -37
- package/front_end/ui/legacy/UIUtils.ts +6 -3
- package/front_end/ui/legacy/ViewManager.ts +1 -1
- package/front_end/ui/legacy/Widget.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +13 -2
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +3 -2
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +6 -2
- package/front_end/ui/legacy/components/inline_editor/AnimationTimingModel.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +54 -45
- package/front_end/ui/legacy/components/inline_editor/CSSAngleUtils.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +6 -2
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +141 -106
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +1 -1
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +10 -10
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +2 -0
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +6 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +6 -2
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +8 -4
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +7 -5
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +8 -3
- package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +6 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +15 -7
- package/front_end/ui/legacy/components/utils/JSPresentationUtils.ts +1 -1
- package/front_end/ui/legacy/components/utils/Linkifier.ts +5 -5
- package/front_end/ui/legacy/inspectorCommon.css +11 -0
- package/front_end/ui/visual_logging/Debugging.ts +2 -1
- package/front_end/ui/visual_logging/KnownContextValues.ts +1 -1
- package/front_end/ui/visual_logging/LoggingDriver.ts +3 -3
- package/front_end/ui/visual_logging/LoggingEvents.ts +5 -5
- package/front_end/ui/visual_logging/LoggingState.ts +1 -1
- package/front_end/ui/visual_logging/visual_logging.ts +67 -56
- package/package.json +3 -2
- package/front_end/third_party/acorn/acorn-tsconfig.json +0 -12
- package/front_end/third_party/acorn/estree-tsconfig.json +0 -8
- package/front_end/third_party/chromium/client-variations/client-variations-tsconfig.json +0 -8
- package/front_end/third_party/codemirror/codemirror-legacy-types-tsconfig.json +0 -8
- package/front_end/third_party/codemirror/codemirror-tsconfig.json +0 -15
- package/front_end/third_party/codemirror.next/bundle-tsconfig.json +0 -24
- package/front_end/third_party/intl-messageformat/intl-messageformat-tsconfig.json +0 -16
- package/front_end/third_party/json5/json5-tsconfig.json +0 -8
- package/front_end/third_party/legacy-javascript/legacy-javascript-tsconfig.json +0 -8
- package/front_end/third_party/lighthouse/lighthouse-tsconfig.json +0 -11
- package/front_end/third_party/lighthouse/report/bundle-tsconfig.json +0 -8
- package/front_end/third_party/lit/lit-tsconfig.json +0 -15
- package/front_end/third_party/marked/marked-tsconfig.json +0 -8
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +0 -191
- package/front_end/third_party/third-party-web/third-party-web-tsconfig.json +0 -8
- package/front_end/third_party/wasmparser/wasmparser-tsconfig.json +0 -9
- package/front_end/third_party/web-vitals/web-vitals-tsconfig.json +0 -47
|
@@ -9,16 +9,16 @@ import * as UI from '../../ui/legacy/legacy.js';
|
|
|
9
9
|
|
|
10
10
|
const UIStrings = {
|
|
11
11
|
/**
|
|
12
|
-
* @description Message shown in a banner when some tracks are hidden in the
|
|
12
|
+
* @description Message shown in a banner when some tracks are hidden in the Performance panel.
|
|
13
13
|
*/
|
|
14
14
|
someTracksAreHidden:
|
|
15
|
-
'Some tracks are hidden in this trace. You can configure tracks by right
|
|
15
|
+
'Some tracks are hidden in this trace. You can configure tracks by right-clicking the track name.',
|
|
16
16
|
/**
|
|
17
|
-
* @description
|
|
17
|
+
* @description Button label to show all hidden tracks in the Performance panel.
|
|
18
18
|
*/
|
|
19
19
|
showAll: 'Show all',
|
|
20
20
|
/**
|
|
21
|
-
* @description
|
|
21
|
+
* @description Button label to open the track configuration view in the Performance panel.
|
|
22
22
|
*/
|
|
23
23
|
configureTracks: 'Configure tracks',
|
|
24
24
|
} as const;
|
|
@@ -8,63 +8,63 @@ import * as Trace from '../../models/trace/trace.js';
|
|
|
8
8
|
|
|
9
9
|
const UIStrings = {
|
|
10
10
|
/**
|
|
11
|
-
* @description
|
|
11
|
+
* @description Label for a frame start event in the Performance panel.
|
|
12
12
|
*/
|
|
13
13
|
frameStart: 'Frame start',
|
|
14
14
|
/**
|
|
15
|
-
* @description
|
|
15
|
+
* @description Label for a draw frame event in the Performance panel.
|
|
16
16
|
*/
|
|
17
17
|
drawFrame: 'Draw frame',
|
|
18
18
|
/**
|
|
19
|
-
* @description
|
|
19
|
+
* @description Label for a layout event in the Performance panel.
|
|
20
20
|
*/
|
|
21
21
|
layout: 'Layout',
|
|
22
22
|
/**
|
|
23
|
-
* @description
|
|
23
|
+
* @description Label for a rasterizing event in the Performance panel.
|
|
24
24
|
*/
|
|
25
25
|
rasterizing: 'Rasterizing',
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description Label for a drawing event in the Performance panel.
|
|
28
28
|
*/
|
|
29
29
|
drawing: 'Drawing',
|
|
30
30
|
/**
|
|
31
|
-
* @description
|
|
31
|
+
* @description Label for a painting event in the Performance panel.
|
|
32
32
|
*/
|
|
33
33
|
painting: 'Painting',
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description Event category for system activity in the Performance panel.
|
|
36
36
|
*/
|
|
37
37
|
system: 'System',
|
|
38
38
|
/**
|
|
39
|
-
* @description
|
|
39
|
+
* @description Event category for idle time in the Performance panel.
|
|
40
40
|
*/
|
|
41
41
|
idle: 'Idle',
|
|
42
42
|
/**
|
|
43
|
-
* @description
|
|
43
|
+
* @description Event category for network and resource loading in the Performance panel.
|
|
44
44
|
*/
|
|
45
45
|
loading: 'Loading',
|
|
46
46
|
/**
|
|
47
|
-
* @description
|
|
47
|
+
* @description Header for the user experience events track in the Performance panel.
|
|
48
48
|
*/
|
|
49
49
|
experience: 'Experience',
|
|
50
50
|
/**
|
|
51
|
-
* @description
|
|
51
|
+
* @description Event category for script execution in the Performance panel.
|
|
52
52
|
*/
|
|
53
53
|
scripting: 'Scripting',
|
|
54
54
|
/**
|
|
55
|
-
* @description
|
|
55
|
+
* @description Event category for layout and rendering in the Performance panel.
|
|
56
56
|
*/
|
|
57
57
|
rendering: 'Rendering',
|
|
58
58
|
/**
|
|
59
|
-
* @description Event category
|
|
59
|
+
* @description Event category for GPU activity in the Performance panel.
|
|
60
60
|
*/
|
|
61
61
|
gpu: 'GPU',
|
|
62
62
|
/**
|
|
63
|
-
* @description
|
|
63
|
+
* @description Event category for asynchronous activity in the Performance panel.
|
|
64
64
|
*/
|
|
65
65
|
async: 'Async',
|
|
66
66
|
/**
|
|
67
|
-
* @description
|
|
67
|
+
* @description Event category for messaging activity in the Performance panel.
|
|
68
68
|
*/
|
|
69
69
|
messaging: 'Messaging',
|
|
70
70
|
} as const;
|
|
@@ -88,14 +88,15 @@ export interface ViewInput {
|
|
|
88
88
|
togglePopover: (e: MouseEvent) => void;
|
|
89
89
|
onEventClick: (event: Trace.Types.Events.Event) => void;
|
|
90
90
|
}
|
|
91
|
+
export type View = (input: ViewInput, output: object, target: HTMLElement) => void;
|
|
91
92
|
|
|
92
93
|
export class LayoutShiftDetails extends UI.Widget.Widget {
|
|
93
|
-
#view:
|
|
94
|
+
#view: View;
|
|
94
95
|
#event: Trace.Types.Events.SyntheticLayoutShift|Trace.Types.Events.SyntheticLayoutShiftCluster|null = null;
|
|
95
96
|
#parsedTrace: Trace.TraceModel.ParsedTrace|null = null;
|
|
96
97
|
#isFreshRecording = false;
|
|
97
98
|
|
|
98
|
-
constructor(element?: HTMLElement, view = DEFAULT_VIEW) {
|
|
99
|
+
constructor(element?: HTMLElement, view: View = DEFAULT_VIEW) {
|
|
99
100
|
super(element);
|
|
100
101
|
this.#view = view;
|
|
101
102
|
}
|
|
@@ -155,7 +156,7 @@ export class LayoutShiftDetails extends UI.Widget.Widget {
|
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
158
|
|
|
158
|
-
export const DEFAULT_VIEW:
|
|
159
|
+
export const DEFAULT_VIEW: View =
|
|
159
160
|
(input, _output, target) => {
|
|
160
161
|
if (!input.event || !input.parsedTrace) {
|
|
161
162
|
render(Lit.nothing, target);
|
|
@@ -1123,7 +1123,7 @@ export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
|
1123
1123
|
};
|
|
1124
1124
|
|
|
1125
1125
|
export class LiveMetricsView extends UI.Widget.Widget {
|
|
1126
|
-
isNode = Root.Runtime.Runtime.isNode();
|
|
1126
|
+
isNode: boolean = Root.Runtime.Runtime.isNode();
|
|
1127
1127
|
|
|
1128
1128
|
#lcpValue?: LiveMetrics.LcpValue;
|
|
1129
1129
|
#clsValue?: LiveMetrics.ClsValue;
|
|
@@ -117,8 +117,19 @@ const UIStrings = {
|
|
|
117
117
|
const str_ = i18n.i18n.registerUIStrings('panels/timeline/components/NetworkRequestDetails.ts', UIStrings);
|
|
118
118
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
119
119
|
|
|
120
|
+
export interface ViewInput {
|
|
121
|
+
request: Trace.Types.Events.SyntheticNetworkRequest|null;
|
|
122
|
+
target: SDK.Target.Target|null;
|
|
123
|
+
previewElementsCache: WeakMap<Trace.Types.Events.SyntheticNetworkRequest, HTMLElement>;
|
|
124
|
+
entityMapper: Trace.EntityMapper.EntityMapper|null;
|
|
125
|
+
serverTimings: SDK.ServerTiming.ServerTiming[]|null;
|
|
126
|
+
linkifier: LegacyComponents.Linkifier.Linkifier|null;
|
|
127
|
+
parsedTrace: Trace.TraceModel.ParsedTrace|null;
|
|
128
|
+
}
|
|
129
|
+
export type View = (input: ViewInput, output: object, target: HTMLElement) => void;
|
|
130
|
+
|
|
120
131
|
export class NetworkRequestDetails extends UI.Widget.Widget {
|
|
121
|
-
#view:
|
|
132
|
+
#view: View;
|
|
122
133
|
#request: Trace.Types.Events.SyntheticNetworkRequest|null = null;
|
|
123
134
|
#requestPreviewElements = new WeakMap<Trace.Types.Events.SyntheticNetworkRequest, HTMLElement>();
|
|
124
135
|
#entityMapper: Trace.EntityMapper.EntityMapper|null = null;
|
|
@@ -127,7 +138,7 @@ export class NetworkRequestDetails extends UI.Widget.Widget {
|
|
|
127
138
|
#serverTimings: SDK.ServerTiming.ServerTiming[]|null = null;
|
|
128
139
|
#parsedTrace: Trace.TraceModel.ParsedTrace|null = null;
|
|
129
140
|
|
|
130
|
-
constructor(element?: HTMLElement, view = DEFAULT_VIEW) {
|
|
141
|
+
constructor(element?: HTMLElement, view: View = DEFAULT_VIEW) {
|
|
131
142
|
super(element);
|
|
132
143
|
this.#view = view;
|
|
133
144
|
this.requestUpdate();
|
|
@@ -186,27 +197,17 @@ export class NetworkRequestDetails extends UI.Widget.Widget {
|
|
|
186
197
|
}
|
|
187
198
|
}
|
|
188
199
|
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
export const DEFAULT_VIEW: (
|
|
200
|
-
input: ViewInput, output: object, target: HTMLElement) => void = (input, _output, target) => {
|
|
201
|
-
if (!input.request) {
|
|
202
|
-
render(Lit.nothing, target);
|
|
203
|
-
return;
|
|
204
|
-
}
|
|
205
|
-
const {request} = input;
|
|
206
|
-
const {data} = request.args;
|
|
200
|
+
export const DEFAULT_VIEW: View =
|
|
201
|
+
(input, _output, target) => {
|
|
202
|
+
if (!input.request) {
|
|
203
|
+
render(Lit.nothing, target);
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
const {request} = input;
|
|
207
|
+
const {data} = request.args;
|
|
207
208
|
|
|
208
|
-
|
|
209
|
-
|
|
209
|
+
const redirectsHtml = NetworkRequestTooltip.renderRedirects(request);
|
|
210
|
+
// clang-format off
|
|
210
211
|
render(html`
|
|
211
212
|
<style>${networkRequestDetailsStyles}</style>
|
|
212
213
|
<style>${networkRequestTooltipStyles}</style>
|
|
@@ -251,8 +252,8 @@ export const DEFAULT_VIEW: (
|
|
|
251
252
|
</div>
|
|
252
253
|
</div>
|
|
253
254
|
`, target);
|
|
254
|
-
|
|
255
|
-
};
|
|
255
|
+
// clang-format on
|
|
256
|
+
};
|
|
256
257
|
|
|
257
258
|
function renderTitle(request: Trace.Types.Events.SyntheticNetworkRequest): Lit.TemplateResult {
|
|
258
259
|
const style = {
|
|
@@ -37,6 +37,7 @@ export interface ViewInput {
|
|
|
37
37
|
eventToInsightsMap: EventToRelatedInsightsMap;
|
|
38
38
|
onInsightClick: (insight: RelatedInsight) => void;
|
|
39
39
|
}
|
|
40
|
+
export type View = (input: ViewInput, output: object, target: HTMLElement) => void;
|
|
40
41
|
|
|
41
42
|
export interface Data {
|
|
42
43
|
eventToRelatedInsightsMap: EventToRelatedInsightsMap|null;
|
|
@@ -44,12 +45,12 @@ export interface Data {
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export class RelatedInsightChips extends UI.Widget.Widget {
|
|
47
|
-
#view:
|
|
48
|
+
#view: View;
|
|
48
49
|
|
|
49
50
|
#activeEvent: Trace.Types.Events.Event|null = null;
|
|
50
51
|
#eventToInsightsMap: EventToRelatedInsightsMap = new Map();
|
|
51
52
|
|
|
52
|
-
constructor(element?: HTMLElement, view = DEFAULT_VIEW) {
|
|
53
|
+
constructor(element?: HTMLElement, view: View = DEFAULT_VIEW) {
|
|
53
54
|
super(element);
|
|
54
55
|
this.#view = view;
|
|
55
56
|
}
|
|
@@ -81,7 +82,7 @@ export class RelatedInsightChips extends UI.Widget.Widget {
|
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
84
|
|
|
84
|
-
export const DEFAULT_VIEW:
|
|
85
|
+
export const DEFAULT_VIEW: View =
|
|
85
86
|
(input, _output, target) => {
|
|
86
87
|
const {activeEvent, eventToInsightsMap} = input;
|
|
87
88
|
const relatedInsights = activeEvent ? eventToInsightsMap.get(activeEvent) ?? [] : [];
|
|
@@ -59,7 +59,7 @@ export const enum SidebarTabs {
|
|
|
59
59
|
INSIGHTS = 'insights',
|
|
60
60
|
ANNOTATIONS = 'annotations',
|
|
61
61
|
}
|
|
62
|
-
export const DEFAULT_SIDEBAR_TAB = SidebarTabs.INSIGHTS;
|
|
62
|
+
export const DEFAULT_SIDEBAR_TAB: SidebarTabs = SidebarTabs.INSIGHTS;
|
|
63
63
|
|
|
64
64
|
export const DEFAULT_SIDEBAR_WIDTH_PX = 240;
|
|
65
65
|
const MIN_SIDEBAR_WIDTH_PX = 170;
|
|
@@ -100,6 +100,7 @@ export interface SidebarAnnotationsTabViewInput {
|
|
|
100
100
|
onAnnotationHoverOut: () => void;
|
|
101
101
|
onAnnotationDelete: (annotation: Trace.Types.File.Annotation) => void;
|
|
102
102
|
}
|
|
103
|
+
export type View = (input: SidebarAnnotationsTabViewInput, output: object, target: HTMLElement) => void;
|
|
103
104
|
|
|
104
105
|
export class SidebarAnnotationsTab extends UI.Widget.Widget {
|
|
105
106
|
#annotations: Trace.Types.File.Annotation[] = [];
|
|
@@ -108,9 +109,9 @@ export class SidebarAnnotationsTab extends UI.Widget.Widget {
|
|
|
108
109
|
#annotationEntryToColorMap = new Map<Trace.Types.Events.Event|Trace.Types.Events.LegacyTimelineFrame, string>();
|
|
109
110
|
|
|
110
111
|
readonly #annotationsHiddenSetting: Common.Settings.Setting<boolean>;
|
|
111
|
-
#view:
|
|
112
|
+
#view: View;
|
|
112
113
|
|
|
113
|
-
constructor(view = DEFAULT_VIEW) {
|
|
114
|
+
constructor(view: View = DEFAULT_VIEW) {
|
|
114
115
|
super();
|
|
115
116
|
this.#view = view;
|
|
116
117
|
this.#annotationsHiddenSetting = Common.Settings.Settings.instance().moduleSetting('annotations-hidden');
|
|
@@ -406,7 +407,7 @@ function renderTutorial(): Lit.LitTemplate {
|
|
|
406
407
|
// clang-format on
|
|
407
408
|
}
|
|
408
409
|
|
|
409
|
-
export const DEFAULT_VIEW:
|
|
410
|
+
export const DEFAULT_VIEW: View =
|
|
410
411
|
(input, _output, target) => {
|
|
411
412
|
// clang-format off
|
|
412
413
|
render(html`
|
|
@@ -20,7 +20,7 @@ const UIStrings = {
|
|
|
20
20
|
} as const;
|
|
21
21
|
|
|
22
22
|
const str_ = i18n.i18n.registerUIStrings('panels/timeline/components/insights/Table.ts', UIStrings);
|
|
23
|
-
export const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
23
|
+
export const i18nString: i18n.LocalizeString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
24
24
|
|
|
25
25
|
const {html} = Lit;
|
|
26
26
|
|
|
@@ -13,123 +13,123 @@ import type * as Timeline from './timeline.js';
|
|
|
13
13
|
|
|
14
14
|
const UIStrings = {
|
|
15
15
|
/**
|
|
16
|
-
* @description
|
|
16
|
+
* @description Name of the Performance panel.
|
|
17
17
|
*/
|
|
18
18
|
performance: 'Performance',
|
|
19
19
|
/**
|
|
20
|
-
* @description Command
|
|
20
|
+
* @description Command to show the Performance panel.
|
|
21
21
|
*/
|
|
22
22
|
showPerformance: 'Show Performance',
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description Title of an action to start recording a performance trace.
|
|
25
25
|
*/
|
|
26
26
|
record: 'Record',
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description Title of an action to stop recording a performance trace.
|
|
29
29
|
*/
|
|
30
30
|
stop: 'Stop',
|
|
31
31
|
/**
|
|
32
|
-
* @description Title of an action
|
|
32
|
+
* @description Title of an action to record a performance trace while reloading the page.
|
|
33
33
|
*/
|
|
34
34
|
recordAndReload: 'Record and reload',
|
|
35
35
|
/**
|
|
36
|
-
* @description
|
|
36
|
+
* @description Title of an action to save the current performance profile.
|
|
37
37
|
*/
|
|
38
38
|
saveProfile: 'Save profile…',
|
|
39
39
|
/**
|
|
40
|
-
* @description
|
|
40
|
+
* @description Title of an action to load a performance profile.
|
|
41
41
|
*/
|
|
42
42
|
loadProfile: 'Load profile…',
|
|
43
43
|
/**
|
|
44
|
-
* @description
|
|
44
|
+
* @description Title of an action to navigate to the previous frame in the film strip view of the Performance panel.
|
|
45
45
|
*/
|
|
46
46
|
previousFrame: 'Previous frame',
|
|
47
47
|
/**
|
|
48
|
-
* @description
|
|
48
|
+
* @description Title of an action to navigate to the next frame in the film strip view of the Performance panel.
|
|
49
49
|
*/
|
|
50
50
|
nextFrame: 'Next frame',
|
|
51
51
|
/**
|
|
52
|
-
* @description Title of an action
|
|
52
|
+
* @description Title of an action to show recent timeline sessions in the Performance panel.
|
|
53
53
|
*/
|
|
54
54
|
showRecentTimelineSessions: 'Show recent timeline sessions',
|
|
55
55
|
/**
|
|
56
|
-
* @description Title of an action
|
|
56
|
+
* @description Title of an action to switch to the previous recording in the Performance panel.
|
|
57
57
|
*/
|
|
58
58
|
previousRecording: 'Previous recording',
|
|
59
59
|
/**
|
|
60
|
-
* @description Title of an action
|
|
60
|
+
* @description Title of an action to switch to the next recording in the Performance panel.
|
|
61
61
|
*/
|
|
62
62
|
nextRecording: 'Next recording',
|
|
63
63
|
/**
|
|
64
|
-
* @description Title of a setting under the Performance category in Settings
|
|
64
|
+
* @description Title of a setting under the Performance category in Settings to show Chrome frame in the Layers view.
|
|
65
65
|
*/
|
|
66
66
|
chromeFrameInLayersView: 'Chrome frame in Layers view',
|
|
67
67
|
/**
|
|
68
|
-
* @description Title of a setting under the Performance category in Settings
|
|
68
|
+
* @description Title of a setting under the Performance category in Settings to show all events.
|
|
69
69
|
*/
|
|
70
70
|
timelineShowAllEvents: 'Show all events',
|
|
71
71
|
/**
|
|
72
|
-
* @description Title of a setting under the Performance category in Settings
|
|
72
|
+
* @description Title of a setting under the Performance category in Settings to enable soft navigation monitoring.
|
|
73
73
|
*/
|
|
74
74
|
enableSoftNavigations: 'Enable soft navigation performance monitoring',
|
|
75
75
|
/**
|
|
76
|
-
* @description Title of a setting under the Performance category in Settings
|
|
76
|
+
* @description Title of a setting under the Performance category in Settings to enable timeline debug mode.
|
|
77
77
|
*/
|
|
78
78
|
timelineDebugMode: 'Timeline debug mode (trace event details, etc.)',
|
|
79
79
|
/**
|
|
80
|
-
* @description Title of a setting under the Performance category in Settings
|
|
80
|
+
* @description Title of a setting under the Performance category in Settings for invalidation tracking.
|
|
81
81
|
*/
|
|
82
82
|
timelineInvalidationTracking: 'Invalidation tracking',
|
|
83
83
|
/**
|
|
84
|
-
* @description Title of a setting in Performance panel.
|
|
84
|
+
* @description Title of a setting in the Performance panel to disable JavaScript samples.
|
|
85
85
|
*/
|
|
86
86
|
disableJavascriptSamples: 'Disable JavaScript samples',
|
|
87
87
|
/**
|
|
88
|
-
* @description Title of a setting in Performance panel.
|
|
88
|
+
* @description Title of a setting in the Performance panel to enable advanced paint instrumentation.
|
|
89
89
|
*/
|
|
90
90
|
enableAdvancedPaint: 'Enable advanced paint instrumentation (slow)',
|
|
91
91
|
/**
|
|
92
|
-
* @description Title of a setting in Performance panel.
|
|
92
|
+
* @description Title of a setting in the Performance panel to enable CSS selector stats.
|
|
93
93
|
*/
|
|
94
94
|
enableSelectorStats: 'Enable CSS selector stats (slow)',
|
|
95
95
|
/**
|
|
96
|
-
* @description Title of a setting in Performance panel.
|
|
96
|
+
* @description Title of a setting in the Performance panel to configure screenshot capture.
|
|
97
97
|
*/
|
|
98
98
|
screenshotCapture: 'Screenshot capture',
|
|
99
99
|
/**
|
|
100
|
-
* @description Title of a setting in Performance panel.
|
|
100
|
+
* @description Title of a setting in the Performance panel to capture screenshots.
|
|
101
101
|
*/
|
|
102
102
|
screenshots: 'Screenshots',
|
|
103
103
|
/**
|
|
104
|
-
* @description Title of a setting in Performance panel.
|
|
104
|
+
* @description Title of a setting in the Performance panel to show memory counters.
|
|
105
105
|
*/
|
|
106
106
|
memory: 'Memory',
|
|
107
107
|
/**
|
|
108
|
-
* @description Title of a setting in Performance panel.
|
|
108
|
+
* @description Title of a setting in the Performance panel to dim third parties.
|
|
109
109
|
*/
|
|
110
110
|
dimThirdParties: 'Dim 3rd parties',
|
|
111
111
|
/**
|
|
112
|
-
* @description Title of a setting in Performance panel.
|
|
112
|
+
* @description Title of a setting in the Performance panel to show custom tracks.
|
|
113
113
|
*/
|
|
114
114
|
showCustomtracks: 'Show custom tracks',
|
|
115
115
|
/**
|
|
116
|
-
* @description Title of a setting in Performance panel counters graph.
|
|
116
|
+
* @description Title of a counter setting in the Performance panel counters graph for the JS heap.
|
|
117
117
|
*/
|
|
118
118
|
jsHeap: 'JS heap',
|
|
119
119
|
/**
|
|
120
|
-
* @description Title of a setting in Performance panel counters graph.
|
|
120
|
+
* @description Title of a counter setting in the Performance panel counters graph for documents.
|
|
121
121
|
*/
|
|
122
122
|
documents: 'Documents',
|
|
123
123
|
/**
|
|
124
|
-
* @description Title of a setting in Performance panel counters graph.
|
|
124
|
+
* @description Title of a counter setting in the Performance panel counters graph for DOM nodes.
|
|
125
125
|
*/
|
|
126
126
|
nodes: 'Nodes',
|
|
127
127
|
/**
|
|
128
|
-
* @description Title of a setting in Performance panel counters graph.
|
|
128
|
+
* @description Title of a counter setting in the Performance panel counters graph for event listeners.
|
|
129
129
|
*/
|
|
130
130
|
listeners: 'Listeners',
|
|
131
131
|
/**
|
|
132
|
-
* @description Title of a setting in Performance panel counters graph.
|
|
132
|
+
* @description Title of a counter setting in the Performance panel counters graph for GPU memory.
|
|
133
133
|
*/
|
|
134
134
|
gpuMemory: 'GPU memory',
|
|
135
135
|
} as const;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
.overlay-type-ENTRY_SELECTED,
|
|
42
42
|
.overlay-type-ENTRY_OUTLINE {
|
|
43
43
|
pointer-events: none;
|
|
44
|
-
border:
|
|
44
|
+
border: var(--sys-size-2) solid var(--sys-color-primary);
|
|
45
45
|
background-color: var(--sys-color-state-ripple-primary);
|
|
46
46
|
|
|
47
47
|
&.cut-off-top {
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
|
|
69
69
|
.overlay-type-ENTRY_OUTLINE {
|
|
70
70
|
background-color: transparent;
|
|
71
|
-
border-width:
|
|
71
|
+
border-width: var(--sys-size-1);
|
|
72
72
|
/* Ensure ENTRY_SELECTED overlays are always displayed on top of ENTRY_OUTLINE overlays */
|
|
73
73
|
z-index: 0;
|
|
74
74
|
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.overlay-type-CANDY_STRIPED_TIME_RANGE {
|
|
85
|
-
--red-stripe-width:
|
|
85
|
+
--red-stripe-width: var(--sys-size-2);
|
|
86
86
|
--white-stripe-width: 7px;
|
|
87
87
|
|
|
88
88
|
background-image:
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
transparent var(--red-stripe-width),
|
|
94
94
|
transparent var(--white-stripe-width)
|
|
95
95
|
);
|
|
96
|
-
border:
|
|
96
|
+
border: var(--sys-size-1) solid var(--sys-color-error-bright);
|
|
97
97
|
|
|
98
98
|
&.cut-off-bottom {
|
|
99
99
|
border-bottom: none;
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
.overlay-type-TIMESTAMP_MARKER {
|
|
134
134
|
top: 0;
|
|
135
135
|
bottom: 0;
|
|
136
|
-
width:
|
|
136
|
+
width: var(--sys-size-2);
|
|
137
137
|
background-color: var(--sys-color-primary);
|
|
138
138
|
pointer-events: none;
|
|
139
139
|
}
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
bottom: 0;
|
|
177
177
|
left: 0;
|
|
178
178
|
right: 0;
|
|
179
|
-
height:
|
|
179
|
+
height: var(--sys-size-14);
|
|
180
180
|
/* Unlike other overlays, the user can click + interact with this one */
|
|
181
181
|
pointer-events: auto;
|
|
182
182
|
/* Ensure this one is always on top of any others */
|
|
@@ -211,9 +211,9 @@
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.timeline-flamechart-resizer {
|
|
214
|
-
flex:
|
|
214
|
+
flex: var(--sys-size-5) 0 0;
|
|
215
215
|
background-color: var(--sys-color-surface2);
|
|
216
|
-
border:
|
|
216
|
+
border: var(--sys-size-1) var(--sys-color-divider);
|
|
217
217
|
border-style: solid none;
|
|
218
218
|
display: flex;
|
|
219
219
|
flex-direction: row;
|
|
@@ -227,6 +227,6 @@
|
|
|
227
227
|
|
|
228
228
|
.timeline-flamechart-resizer::after {
|
|
229
229
|
content: "...";
|
|
230
|
-
font-size:
|
|
231
|
-
margin-bottom: -
|
|
230
|
+
font-size: var(--sys-typescale-body2-size);
|
|
231
|
+
margin-bottom: calc(-1 * var(--sys-size-1));
|
|
232
232
|
}
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
.timeline-flamechart-popover {
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
/* extend padding into the parent element to avoid clipping the focus-visible outline. */
|
|
10
|
-
padding:
|
|
11
|
-
margin: -
|
|
10
|
+
padding: var(--sys-size-3);
|
|
11
|
+
margin: calc(-1 * var(--sys-size-3));
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.timeline-flamechart-popover devtools-interaction-breakdown {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
.timeline-flamechart-popover span.popoverinfo-url-path,
|
|
35
35
|
.timeline-flamechart-popover span.popoverinfo-url-origin {
|
|
36
36
|
color: var(--sys-color-token-subtle);
|
|
37
|
-
font-size:
|
|
37
|
+
font-size: var(--sys-typescale-body5-size);
|
|
38
38
|
white-space: normal;
|
|
39
39
|
word-break: break-all;
|
|
40
40
|
}
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
.layout-shift-viz {
|
|
51
51
|
position: relative;
|
|
52
52
|
margin: var(--sys-size-8) var(--sys-size-5);
|
|
53
|
-
outline:
|
|
53
|
+
outline: var(--sys-size-1) solid var(--sys-color-divider);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.layout-shift-viz-rect {
|
|
57
|
-
outline:
|
|
57
|
+
outline: var(--sys-size-1) solid color-mix(in srgb, var(--color-background-inverted) 20%, var(--app-color-rendering));
|
|
58
58
|
background-color: color-mix(in srgb, var(--color-background-inverted-opacity-0) 50%, var(--app-color-rendering-children));
|
|
59
59
|
position: absolute;
|
|
60
60
|
z-index: 100;
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.preview-item {
|
|
13
|
-
border-bottom:
|
|
13
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
14
14
|
|
|
15
15
|
&:first-child {
|
|
16
|
-
border-top:
|
|
16
|
+
border-top: var(--sys-size-1) solid var(--sys-color-divider);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
padding:
|
|
19
|
+
padding: var(--sys-size-4) 10px;
|
|
20
20
|
position: relative;
|
|
21
21
|
|
|
22
22
|
.metadata {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
top: 0;
|
|
33
33
|
bottom: 0;
|
|
34
34
|
left: 0;
|
|
35
|
-
width:
|
|
35
|
+
width: var(--sys-size-2);
|
|
36
36
|
background-color: var(--sys-color-primary);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
text-overflow: ellipsis;
|
|
59
59
|
white-space: nowrap;
|
|
60
|
-
max-width:
|
|
60
|
+
max-width: var(--sys-size-28);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.text-details .metadata {
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
|
|
69
69
|
.screenshot-thumb {
|
|
70
70
|
display: flex;
|
|
71
|
-
border:
|
|
72
|
-
margin:
|
|
71
|
+
border: var(--sys-size-1) solid var(--sys-color-surface3);
|
|
72
|
+
margin: var(--sys-size-2) var(--sys-size-3);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.screenshot-thumb img {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.paint-profiler-image-view .paint-profiler-image-container div {
|
|
16
|
-
border-color:
|
|
16
|
+
border-color: var(--sys-size-1) solid var(--sys-color-divider);
|
|
17
17
|
border-style: solid;
|
|
18
18
|
z-index: 100;
|
|
19
19
|
position: absolute;
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.paint-profiler-image-view img {
|
|
25
|
-
border: solid
|
|
25
|
+
border: solid var(--sys-size-1) var(--sys-color-inverse-surface);
|
|
26
26
|
}
|
|
@@ -138,6 +138,6 @@ export class RevealableTimeRange {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
export class RevealableBottomUpProfile {
|
|
141
|
-
constructor(public bounds: Trace.Types.Timing.TraceWindowMicro, public node?: Trace.Extras.TraceTree.Node) {
|
|
141
|
+
constructor(public bounds: Trace.Types.Timing.TraceWindowMicro, public node?: Trace.Extras.TraceTree.Node|undefined) {
|
|
142
142
|
}
|
|
143
143
|
}
|