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
|
@@ -290,151 +290,163 @@ declare global {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
export const FlexboxEditableProperties
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
293
|
+
export const FlexboxEditableProperties: Array<{
|
|
294
|
+
propertyName: string,
|
|
295
|
+
propertyValues: string[],
|
|
296
|
+
}> =
|
|
297
|
+
[
|
|
298
|
+
{
|
|
299
|
+
propertyName: 'flex-direction',
|
|
300
|
+
propertyValues: [
|
|
301
|
+
'row',
|
|
302
|
+
'column',
|
|
303
|
+
'row-reverse',
|
|
304
|
+
'column-reverse',
|
|
305
|
+
],
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
propertyName: 'flex-wrap',
|
|
309
|
+
propertyValues: [
|
|
310
|
+
'nowrap',
|
|
311
|
+
'wrap',
|
|
312
|
+
],
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
propertyName: 'align-content',
|
|
316
|
+
propertyValues: [
|
|
317
|
+
'center',
|
|
318
|
+
'flex-start',
|
|
319
|
+
'flex-end',
|
|
320
|
+
'space-around',
|
|
321
|
+
'space-between',
|
|
322
|
+
'stretch',
|
|
323
|
+
],
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
propertyName: 'justify-content',
|
|
327
|
+
propertyValues: [
|
|
328
|
+
'center',
|
|
329
|
+
'flex-start',
|
|
330
|
+
'flex-end',
|
|
331
|
+
'space-between',
|
|
332
|
+
'space-around',
|
|
333
|
+
'space-evenly',
|
|
334
|
+
],
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
propertyName: 'align-items',
|
|
338
|
+
propertyValues: [
|
|
339
|
+
'center',
|
|
340
|
+
'flex-start',
|
|
341
|
+
'flex-end',
|
|
342
|
+
'stretch',
|
|
343
|
+
'baseline',
|
|
344
|
+
],
|
|
345
|
+
},
|
|
346
|
+
];
|
|
347
|
+
|
|
348
|
+
export const GridEditableProperties: Array<{
|
|
349
|
+
propertyName: string,
|
|
350
|
+
propertyValues: string[],
|
|
351
|
+
}> =
|
|
352
|
+
[
|
|
353
|
+
{
|
|
354
|
+
propertyName: 'grid-auto-flow',
|
|
355
|
+
propertyValues: [
|
|
356
|
+
'row',
|
|
357
|
+
'column',
|
|
358
|
+
],
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
propertyName: 'align-content',
|
|
362
|
+
propertyValues: [
|
|
363
|
+
'center',
|
|
364
|
+
'start',
|
|
365
|
+
'end',
|
|
366
|
+
'space-between',
|
|
367
|
+
'space-around',
|
|
368
|
+
'space-evenly',
|
|
369
|
+
'stretch',
|
|
370
|
+
],
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
propertyName: 'justify-content',
|
|
374
|
+
propertyValues: [
|
|
375
|
+
'center',
|
|
376
|
+
'start',
|
|
377
|
+
'end',
|
|
378
|
+
'space-between',
|
|
379
|
+
'space-around',
|
|
380
|
+
'space-evenly',
|
|
381
|
+
'stretch',
|
|
382
|
+
],
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
propertyName: 'align-items',
|
|
386
|
+
propertyValues: [
|
|
387
|
+
'center',
|
|
388
|
+
'start',
|
|
389
|
+
'end',
|
|
390
|
+
'stretch',
|
|
391
|
+
'baseline',
|
|
392
|
+
],
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
propertyName: 'justify-items',
|
|
396
|
+
propertyValues: [
|
|
397
|
+
'center',
|
|
398
|
+
'start',
|
|
399
|
+
'end',
|
|
400
|
+
'stretch',
|
|
401
|
+
],
|
|
402
|
+
},
|
|
403
|
+
];
|
|
404
|
+
|
|
405
|
+
export const GridLanesEditableProperties: Array<{
|
|
406
|
+
propertyName: string,
|
|
407
|
+
propertyValues: string[],
|
|
408
|
+
}> =
|
|
409
|
+
[
|
|
410
|
+
{
|
|
411
|
+
propertyName: 'align-content',
|
|
412
|
+
propertyValues: [
|
|
413
|
+
'center',
|
|
414
|
+
'start',
|
|
415
|
+
'end',
|
|
416
|
+
'space-between',
|
|
417
|
+
'space-around',
|
|
418
|
+
'space-evenly',
|
|
419
|
+
'stretch',
|
|
420
|
+
],
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
propertyName: 'justify-content',
|
|
424
|
+
propertyValues: [
|
|
425
|
+
'center',
|
|
426
|
+
'start',
|
|
427
|
+
'end',
|
|
428
|
+
'space-between',
|
|
429
|
+
'space-around',
|
|
430
|
+
'space-evenly',
|
|
431
|
+
'stretch',
|
|
432
|
+
],
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
propertyName: 'align-items',
|
|
436
|
+
propertyValues: [
|
|
437
|
+
'center',
|
|
438
|
+
'start',
|
|
439
|
+
'end',
|
|
440
|
+
'stretch',
|
|
441
|
+
],
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
propertyName: 'justify-items',
|
|
445
|
+
propertyValues: [
|
|
446
|
+
'center',
|
|
447
|
+
'start',
|
|
448
|
+
'end',
|
|
449
|
+
'stretch',
|
|
450
|
+
],
|
|
451
|
+
},
|
|
452
|
+
];
|
|
@@ -607,3 +607,7 @@ li.hovered:not(.always-parent) + ol.children:not(.shadow-root) {
|
|
|
607
607
|
.tree-outline-disclosure li.in-clipboard .highlight {
|
|
608
608
|
outline: 1px dotted var(--sys-color-divider);
|
|
609
609
|
}
|
|
610
|
+
|
|
611
|
+
.tree-outline-disclosure li.elements-tree-expand-all {
|
|
612
|
+
margin: var(--sys-size-2) 0;
|
|
613
|
+
}
|
|
@@ -630,7 +630,12 @@ export interface RulerEventTypes {
|
|
|
630
630
|
[RulerEvents.MARKER_SELECTED]: number;
|
|
631
631
|
}
|
|
632
632
|
|
|
633
|
-
|
|
633
|
+
const RulerBase: Common.ObjectWrapper.EventMixin<RulerEventTypes, typeof UI.Widget.Widget> =
|
|
634
|
+
Common.ObjectWrapper.eventMixin(
|
|
635
|
+
UI.Widget.Widget,
|
|
636
|
+
);
|
|
637
|
+
|
|
638
|
+
export class Ruler extends RulerBase {
|
|
634
639
|
#view: RulerView;
|
|
635
640
|
#horizontal = true;
|
|
636
641
|
#scale = 1;
|
|
@@ -9,8 +9,12 @@ import inspectedPagePlaceholderStyles from './inspectedPagePlaceholder.css.js';
|
|
|
9
9
|
|
|
10
10
|
let inspectedPagePlaceholderInstance: InspectedPagePlaceholder;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
const InspectedPagePlaceholderBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.Widget> =
|
|
13
|
+
Common.ObjectWrapper.eventMixin(
|
|
14
|
+
UI.Widget.Widget,
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
export class InspectedPagePlaceholder extends InspectedPagePlaceholderBase {
|
|
14
18
|
constructor() {
|
|
15
19
|
super({useShadowDom: true});
|
|
16
20
|
this.registerRequiredCSS(inspectedPagePlaceholderStyles);
|
|
@@ -165,7 +165,8 @@ export class MediaQueryInspector extends UI.Widget.Widget<ShadowRoot> implements
|
|
|
165
165
|
private cssModel?: SDK.CSSModel.CSSModel;
|
|
166
166
|
private cachedQueryModels?: MediaQueryUIModel[];
|
|
167
167
|
|
|
168
|
-
constructor(element?: HTMLElement,
|
|
168
|
+
constructor(element?: HTMLElement,
|
|
169
|
+
view: (input: ViewInput, _output: object, target: DocumentFragment) => void = DEFAULT_VIEW) {
|
|
169
170
|
super(element, {useShadowDom: 'pure'});
|
|
170
171
|
this.view = view;
|
|
171
172
|
this.#scale = 1;
|
|
@@ -44,7 +44,7 @@ export class AffectedLazyLoadImagesView extends AffectedResourcesView {
|
|
|
44
44
|
readonly #view: View;
|
|
45
45
|
|
|
46
46
|
constructor(parent: IssueView, issue: IssuesManager.IssueAggregator.AggregatedIssue, jslogContext: string,
|
|
47
|
-
view = DEFAULT_VIEW) {
|
|
47
|
+
view: View = DEFAULT_VIEW) {
|
|
48
48
|
super(parent, issue, jslogContext);
|
|
49
49
|
this.#view = view;
|
|
50
50
|
}
|
|
@@ -280,8 +280,12 @@ export const DEFAULT_VIEW = (input: ViewInput, _output: ViewOutput, target: Docu
|
|
|
280
280
|
// clang-format on
|
|
281
281
|
};
|
|
282
282
|
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
const LayerDetailsViewBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.Widget<ShadowRoot>> =
|
|
284
|
+
Common.ObjectWrapper.eventMixin(
|
|
285
|
+
UI.Widget.Widget,
|
|
286
|
+
);
|
|
287
|
+
|
|
288
|
+
export class LayerDetailsView extends LayerDetailsViewBase implements LayerView {
|
|
285
289
|
private readonly layerViewHost: LayerViewHost;
|
|
286
290
|
private layerSnapshotMap: Map<SDK.LayerTreeBase.Layer, SnapshotSelection>;
|
|
287
291
|
private selection: Selection|null;
|
|
@@ -139,8 +139,13 @@ export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
|
139
139
|
// clang-format on
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
const LayerTreeOutlineBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.Widget> =
|
|
143
|
+
Common.ObjectWrapper.eventMixin(
|
|
144
|
+
UI.Widget.Widget,
|
|
145
|
+
);
|
|
146
|
+
|
|
147
|
+
export class LayerTreeOutline extends LayerTreeOutlineBase implements Common.EventTarget.EventTarget<EventTypes>,
|
|
148
|
+
LayerView {
|
|
144
149
|
private layerViewHost: LayerViewHost;
|
|
145
150
|
private layerTree?: SDK.LayerTreeBase.LayerTreeBase|null;
|
|
146
151
|
private layerSnapshotMap?: Map<SDK.LayerTreeBase.Layer, SnapshotSelection>;
|
|
@@ -137,7 +137,14 @@ export const DEFAULT_VIEW = (input: ViewInput, output: ViewOutput, target: HTMLE
|
|
|
137
137
|
// clang-format onn
|
|
138
138
|
};
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
const Layers3DViewBase: Common.ObjectWrapper.EventMixin<
|
|
141
|
+
EventTypes,
|
|
142
|
+
typeof UI.Widget.VBox
|
|
143
|
+
> = Common.ObjectWrapper.eventMixin(
|
|
144
|
+
UI.Widget.VBox,
|
|
145
|
+
);
|
|
146
|
+
|
|
147
|
+
export class Layers3DView extends Layers3DViewBase
|
|
141
148
|
implements LayerView {
|
|
142
149
|
private readonly layerViewHost: LayerViewHost;
|
|
143
150
|
private transformController: TransformController;
|
|
@@ -239,8 +239,12 @@ const DEFAULT_VIEW = (input: ViewInput, output: ViewOutput, target: HTMLElement)
|
|
|
239
239
|
|
|
240
240
|
type View = typeof DEFAULT_VIEW;
|
|
241
241
|
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
const PaintProfilerViewBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.Widget> =
|
|
243
|
+
Common.ObjectWrapper.eventMixin(
|
|
244
|
+
UI.Widget.Widget,
|
|
245
|
+
);
|
|
246
|
+
|
|
247
|
+
export class PaintProfilerView extends PaintProfilerViewBase {
|
|
244
248
|
private canvasContainer?: HTMLElement;
|
|
245
249
|
#selectionWindow?: PerfUI.OverviewGrid.Window;
|
|
246
250
|
private readonly innerBarWidth: number;
|
|
@@ -29,7 +29,7 @@ button.view-trace {
|
|
|
29
29
|
.lighthouse-settings-pane {
|
|
30
30
|
flex: none;
|
|
31
31
|
background-color: var(--sys-color-cdt-base-container);
|
|
32
|
-
border-bottom:
|
|
32
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.lighthouse-settings-pane devtools-toolbar {
|
|
@@ -50,7 +50,7 @@ select.lighthouse-report {
|
|
|
50
50
|
|
|
51
51
|
.lighthouse-toolbar-container > devtools-toolbar {
|
|
52
52
|
background-color: var(--sys-color-cdt-base-container);
|
|
53
|
-
border-bottom:
|
|
53
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.lighthouse-toolbar-container > :first-child {
|
|
@@ -65,7 +65,7 @@ select.lighthouse-report {
|
|
|
65
65
|
position: relative;
|
|
66
66
|
|
|
67
67
|
:focus-visible {
|
|
68
|
-
outline: -webkit-focus-ring-color auto
|
|
68
|
+
outline: -webkit-focus-ring-color auto var(--sys-size-1);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.lh-tools__button {
|
|
@@ -79,7 +79,7 @@ select.lighthouse-report {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
&.lh-active + .lh-tools__dropdown {
|
|
82
|
-
clip: rect(-
|
|
82
|
+
clip: rect(calc(-1 * var(--sys-size-5)), 204px, 270px, -10px); /* stylelint-disable-line property-no-deprecated */
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -87,7 +87,7 @@ select.lighthouse-report {
|
|
|
87
87
|
padding: var(--sys-size-5) 0;
|
|
88
88
|
border-radius: var(--sys-shape-corner-small);
|
|
89
89
|
box-shadow: var(--sys-elevation-level3);
|
|
90
|
-
top:
|
|
90
|
+
top: var(--sys-size-11);
|
|
91
91
|
|
|
92
92
|
&:hover a:focus {
|
|
93
93
|
background-color: transparent;
|
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
|
|
8
8
|
.lighthouse-start-view {
|
|
9
9
|
line-height: 18px;
|
|
10
|
-
padding:
|
|
10
|
+
padding: var(--sys-size-11);
|
|
11
11
|
overflow: auto;
|
|
12
12
|
height: 100%;
|
|
13
13
|
/* for buttons */
|
|
14
14
|
--legacy-accent-color: #0535c1;
|
|
15
15
|
--legacy-accent-color-hover: #17b;
|
|
16
|
-
--font-size:
|
|
16
|
+
--font-size: var(--sys-typescale-body2-size);
|
|
17
17
|
--report-font-family: roboto, helvetica, arial, sans-serif;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.lighthouse-start-view header {
|
|
21
21
|
display: flex;
|
|
22
|
-
font-size:
|
|
22
|
+
font-size: var(--sys-typescale-headline3-size);
|
|
23
23
|
flex-direction: row;
|
|
24
24
|
align-items: center;
|
|
25
|
-
column-gap:
|
|
26
|
-
margin-bottom:
|
|
25
|
+
column-gap: var(--sys-size-8);
|
|
26
|
+
margin-bottom: var(--sys-size-8);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.lighthouse-start-view .lighthouse-title {
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.lighthouse-form-section {
|
|
51
|
-
padding:
|
|
51
|
+
padding: var(--sys-size-5);
|
|
52
52
|
flex: 1 1;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.lighthouse-form-categories-fieldset {
|
|
56
56
|
border: none;
|
|
57
57
|
margin: 0;
|
|
58
|
-
padding:
|
|
58
|
+
padding: var(--sys-size-5);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
.lighthouse-form-section-label {
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
|
|
66
66
|
.lighthouse-form-section-label i span {
|
|
67
67
|
position: relative;
|
|
68
|
-
top: -
|
|
68
|
+
top: calc(-1 * var(--sys-size-2));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.lighthouse-form-section-label span.largeicon-checkmark {
|
|
72
|
-
top: -
|
|
72
|
+
top: calc(-1 * var(--sys-size-3));
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.lighthouse-form-section-label .lighthouse-learn-more {
|
|
76
|
-
margin:
|
|
76
|
+
margin: var(--sys-size-9);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
.lighthouse-radio {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.lighthouse-start-button-container button {
|
|
101
|
-
margin:
|
|
101
|
+
margin: var(--sys-size-8) auto;
|
|
102
102
|
font-family: var(--report-font-family);
|
|
103
103
|
font-weight: 500;
|
|
104
104
|
font-size: var(--font-size);
|
|
@@ -115,12 +115,12 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
&:not(:has(devtools-checkbox)) {
|
|
118
|
-
margin-bottom:
|
|
118
|
+
margin-bottom: var(--sys-size-4);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.lighthouse-launcher-row .dimmed {
|
|
123
|
-
padding-left:
|
|
123
|
+
padding-left: var(--sys-size-10);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.lighthouse-help-text {
|
|
@@ -36,8 +36,12 @@ let inspectorInstance: LinearMemoryInspectorPane;
|
|
|
36
36
|
const MEMORY_INSPECTOR_EXPLANATION_URL =
|
|
37
37
|
'https://developer.chrome.com/docs/devtools/memory-inspector' as Platform.DevToolsPath.UrlString;
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
const LinearMemoryInspectorPaneBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.VBox> =
|
|
40
|
+
Common.ObjectWrapper.eventMixin(
|
|
41
|
+
UI.Widget.VBox,
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
export class LinearMemoryInspectorPane extends LinearMemoryInspectorPaneBase {
|
|
41
45
|
readonly #tabbedPane: UI.TabbedPane.TabbedPane;
|
|
42
46
|
|
|
43
47
|
constructor() {
|
|
@@ -242,8 +242,12 @@ function getSmallestEnclosingMemoryHighlight(highlightedMemoryAreas: HighlightIn
|
|
|
242
242
|
|
|
243
243
|
export type View = typeof DEFAULT_VIEW;
|
|
244
244
|
|
|
245
|
-
|
|
246
|
-
|
|
245
|
+
const LinearMemoryInspectorBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.Widget> =
|
|
246
|
+
Common.ObjectWrapper.eventMixin(
|
|
247
|
+
UI.Widget.Widget,
|
|
248
|
+
);
|
|
249
|
+
|
|
250
|
+
export class LinearMemoryInspector extends LinearMemoryInspectorBase {
|
|
247
251
|
readonly #history = new Common.SimpleHistoryManager.SimpleHistoryManager(10);
|
|
248
252
|
|
|
249
253
|
#memory = new Uint8Array();
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
flex-direction: column;
|
|
23
23
|
font-family: var(--monospace-font-family);
|
|
24
24
|
font-size: var(--monospace-font-size);
|
|
25
|
-
padding: 9px
|
|
25
|
+
padding: 9px var(--sys-size-6) 9px 7px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
devtools-linear-memory-inspector-viewer {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.navigator-widget ~ devtools-linear-memory-inspector-viewer {
|
|
33
|
-
margin-top:
|
|
33
|
+
margin-top: var(--sys-size-6);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.value-interpreter {
|
package/front_end/panels/linear_memory_inspector/components/linearMemoryValueInterpreter.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.value-interpreter {
|
|
14
|
-
border:
|
|
14
|
+
border: var(--sys-size-1) solid var(--sys-color-divider);
|
|
15
15
|
background-color: var(--sys-color-cdt-base-container);
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
width: 400px;
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
|
|
30
30
|
.settings-toolbar-button {
|
|
31
31
|
padding: 0;
|
|
32
|
-
width:
|
|
33
|
-
height:
|
|
32
|
+
width: var(--sys-size-9);
|
|
33
|
+
height: var(--sys-size-9);
|
|
34
34
|
border: none;
|
|
35
35
|
outline: none;
|
|
36
36
|
background-color: transparent;
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
|
|
43
43
|
.divider {
|
|
44
44
|
display: block;
|
|
45
|
-
height:
|
|
46
|
-
margin-bottom:
|
|
45
|
+
height: var(--sys-size-1);
|
|
46
|
+
margin-bottom: var(--sys-size-6);
|
|
47
47
|
background-color: var(--sys-color-divider);
|
|
48
48
|
}
|
|
49
49
|
}
|