chrome-devtools-frontend 1.0.1023618 → 1.0.1025020
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/.eslintignore +1 -1
- package/.eslintrc.js +1 -0
- package/front_end/core/common/AppProvider.ts +1 -1
- package/front_end/core/common/Object.ts +7 -2
- package/front_end/core/common/SettingRegistration.ts +1 -1
- package/front_end/core/common/Settings.ts +2 -3
- package/front_end/core/host/InspectorFrontendHost.ts +13 -5
- package/front_end/core/host/ResourceLoader.ts +1 -1
- package/front_end/core/i18n/locales/en-US.json +15 -3
- package/front_end/core/i18n/locales/en-XL.json +15 -3
- package/front_end/core/platform/UserVisibleError.ts +1 -1
- package/front_end/core/sdk/AccessibilityModel.ts +3 -4
- package/front_end/core/sdk/CPUProfileDataModel.ts +1 -1
- package/front_end/core/sdk/CPUProfilerModel.ts +3 -3
- package/front_end/core/sdk/CPUThrottlingManager.ts +2 -2
- package/front_end/core/sdk/CSSContainerQuery.ts +2 -2
- package/front_end/core/sdk/CSSLayer.ts +1 -1
- package/front_end/core/sdk/CSSMatchedStyles.ts +10 -4
- package/front_end/core/sdk/CSSMedia.ts +1 -1
- package/front_end/core/sdk/CSSModel.ts +7 -7
- package/front_end/core/sdk/CSSProperty.ts +2 -2
- package/front_end/core/sdk/CSSQuery.ts +2 -3
- package/front_end/core/sdk/CSSRule.ts +2 -2
- package/front_end/core/sdk/CSSScope.ts +1 -1
- package/front_end/core/sdk/CSSStyleDeclaration.ts +3 -3
- package/front_end/core/sdk/CSSStyleSheetHeader.ts +3 -3
- package/front_end/core/sdk/CSSSupports.ts +1 -1
- package/front_end/core/sdk/ChildTargetManager.ts +2 -2
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +1 -2
- package/front_end/core/sdk/ConsoleModel.ts +15 -12
- package/front_end/core/sdk/CookieModel.ts +4 -5
- package/front_end/core/sdk/DOMDebuggerModel.ts +7 -7
- package/front_end/core/sdk/DOMModel.ts +3 -3
- package/front_end/core/sdk/DebuggerModel.ts +5 -6
- package/front_end/core/sdk/EmulationModel.ts +2 -2
- package/front_end/core/sdk/EventBreakpointsModel.ts +4 -4
- package/front_end/core/sdk/FilmStripModel.ts +1 -2
- package/front_end/core/sdk/FrameAssociated.ts +1 -1
- package/front_end/core/sdk/FrameManager.ts +6 -6
- package/front_end/core/sdk/HeapProfilerModel.ts +4 -4
- package/front_end/core/sdk/IOModel.ts +2 -2
- package/front_end/core/sdk/IsolateManager.ts +3 -3
- package/front_end/core/sdk/IssuesModel.ts +1 -2
- package/front_end/core/sdk/LayerTreeBase.ts +3 -4
- package/front_end/core/sdk/LogModel.ts +1 -2
- package/front_end/core/sdk/NetworkManager.ts +18 -9
- package/front_end/core/sdk/NetworkRequest.ts +1 -2
- package/front_end/core/sdk/OverlayModel.ts +5 -5
- package/front_end/core/sdk/PageLoad.ts +1 -1
- package/front_end/core/sdk/PageResourceLoader.ts +3 -3
- package/front_end/core/sdk/PaintProfiler.ts +1 -2
- package/front_end/core/sdk/PerformanceMetricsModel.ts +1 -2
- package/front_end/core/sdk/ProfileTreeModel.ts +1 -1
- package/front_end/core/sdk/RemoteObject.ts +3 -3
- package/front_end/core/sdk/Resource.ts +2 -3
- package/front_end/core/sdk/ResourceTreeModel.ts +6 -7
- package/front_end/core/sdk/RuntimeModel.ts +5 -5
- package/front_end/core/sdk/SDKModel.ts +1 -1
- package/front_end/core/sdk/ScreenCaptureModel.ts +2 -2
- package/front_end/core/sdk/Script.ts +5 -6
- package/front_end/core/sdk/SecurityOriginManager.ts +1 -2
- package/front_end/core/sdk/ServerTiming.ts +1 -1
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +3 -3
- package/front_end/core/sdk/ServiceWorkerManager.ts +3 -4
- package/front_end/core/sdk/SourceMap.ts +43 -6
- package/front_end/core/sdk/SourceMapManager.ts +5 -5
- package/front_end/core/sdk/StorageKeyManager.ts +1 -2
- package/front_end/core/sdk/Target.ts +1 -1
- package/front_end/core/sdk/TargetManager.ts +1 -1
- package/front_end/core/sdk/TracingManager.ts +2 -3
- package/front_end/core/sdk/TracingModel.ts +1 -1
- package/front_end/core/sdk/WebAuthnModel.ts +1 -2
- package/front_end/entrypoints/formatter_worker/CSSFormatter.ts +1 -1
- package/front_end/entrypoints/formatter_worker/CSSRuleParser.ts +1 -2
- package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
- package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +1 -1
- package/front_end/entrypoints/formatter_worker/IdentityFormatter.ts +1 -1
- package/front_end/entrypoints/formatter_worker/JSONFormatter.ts +1 -1
- package/front_end/entrypoints/formatter_worker/JavaScriptFormatter.ts +2 -3
- package/front_end/entrypoints/formatter_worker/JavaScriptOutline.ts +1 -1
- package/front_end/entrypoints/formatter_worker/ScopeParser.ts +2 -2
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +1 -1
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshotLoader.ts +3 -3
- package/front_end/models/bindings/BreakpointManager.ts +2 -2
- package/front_end/models/bindings/CSSWorkspaceBinding.ts +5 -2
- package/front_end/models/bindings/CompilerScriptMapping.ts +5 -1
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +6 -2
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +4 -4
- package/front_end/models/bindings/DefaultScriptMapping.ts +1 -1
- package/front_end/models/bindings/IgnoreListManager.ts +1 -1
- package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +2 -2
- package/front_end/models/bindings/ResourceScriptMapping.ts +2 -4
- package/front_end/models/bindings/SASSSourceMapping.ts +2 -2
- package/front_end/models/bindings/StylesSourceMapping.ts +1 -1
- package/front_end/models/bindings/TempFile.ts +1 -2
- package/front_end/models/emulation/DeviceModeModel.ts +8 -2
- package/front_end/models/extensions/ExtensionPanel.ts +1 -1
- package/front_end/models/extensions/ExtensionServer.ts +3 -3
- package/front_end/models/extensions/ExtensionView.ts +1 -1
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +1 -1
- package/front_end/models/extensions/RecorderPluginManager.ts +1 -1
- package/front_end/models/formatter/SourceFormatter.ts +1 -2
- package/front_end/models/har/Importer.ts +1 -1
- package/front_end/models/har/Writer.ts +2 -2
- package/front_end/models/issues_manager/AttributionReportingIssue.ts +1 -1
- package/front_end/models/issues_manager/ClientHintIssue.ts +6 -2
- package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +6 -2
- package/front_end/models/issues_manager/CookieIssue.ts +6 -2
- package/front_end/models/issues_manager/CorsIssue.ts +1 -1
- package/front_end/models/issues_manager/CrossOriginEmbedderPolicyIssue.ts +6 -2
- package/front_end/models/issues_manager/DeprecationIssue.ts +4 -4
- package/front_end/models/issues_manager/FederatedAuthRequestIssue.ts +6 -2
- package/front_end/models/issues_manager/GenericIssue.ts +6 -2
- package/front_end/models/issues_manager/HeavyAdIssue.ts +1 -1
- package/front_end/models/issues_manager/Issue.ts +1 -1
- package/front_end/models/issues_manager/IssueResolver.ts +2 -3
- package/front_end/models/issues_manager/IssuesManager.ts +1 -1
- package/front_end/models/issues_manager/LowTextContrastIssue.ts +1 -1
- package/front_end/models/issues_manager/MixedContentIssue.ts +1 -1
- package/front_end/models/issues_manager/NavigatorUserAgentIssue.ts +1 -1
- package/front_end/models/issues_manager/QuirksModeIssue.ts +1 -1
- package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
- package/front_end/models/issues_manager/SharedArrayBufferIssue.ts +1 -1
- package/front_end/models/issues_manager/SourceFrameIssuesManager.ts +3 -3
- package/front_end/models/issues_manager/TrustedWebActivityIssue.ts +6 -2
- package/front_end/models/persistence/Automapping.ts +1 -2
- package/front_end/models/persistence/EditFileSystemView.ts +1 -1
- package/front_end/models/persistence/FileSystemWorkspaceBinding.ts +4 -4
- package/front_end/models/persistence/IsolatedFileSystem.ts +1 -2
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +2 -2
- package/front_end/models/persistence/NetworkPersistenceManager.ts +1 -2
- package/front_end/models/persistence/PersistenceImpl.ts +1 -2
- package/front_end/models/persistence/PersistenceUtils.ts +1 -2
- package/front_end/models/persistence/WorkspaceSettingsTab.ts +2 -2
- package/front_end/models/text_utils/StaticContentProvider.ts +1 -1
- package/front_end/models/text_utils/TextRange.ts +6 -0
- package/front_end/models/timeline_model/TimelineFrameModel.ts +2 -2
- package/front_end/models/timeline_model/TimelineProfileTree.ts +1 -1
- package/front_end/models/timeline_model/TracingLayerTree.ts +1 -1
- package/front_end/models/workspace/UISourceCode.ts +1 -2
- package/front_end/models/workspace/WorkspaceImpl.ts +1 -2
- package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +1 -1
- package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
- package/front_end/panels/animation/AnimationTimeline.ts +7 -2
- package/front_end/panels/animation/AnimationUI.ts +3 -3
- package/front_end/panels/application/ApplicationPanelCacheSection.ts +1 -1
- package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -7
- package/front_end/panels/application/ApplicationPanelTreeElement.ts +1 -1
- package/front_end/panels/application/BackgroundServiceView.ts +1 -2
- package/front_end/panels/application/DatabaseQueryView.ts +1 -1
- package/front_end/panels/application/DatabaseTableView.ts +1 -1
- package/front_end/panels/application/IndexedDBViews.ts +9 -2
- package/front_end/panels/application/InterestGroupTreeElement.ts +1 -1
- package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
- package/front_end/panels/application/ResourcesPanel.ts +1 -1
- package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
- package/front_end/panels/application/components/FrameDetailsView.ts +9 -6
- package/front_end/panels/console/ConsoleFilter.ts +1 -1
- package/front_end/panels/console/ConsoleSidebar.ts +2 -3
- package/front_end/panels/console/ConsoleView.ts +2 -4
- package/front_end/panels/console/ConsoleViewMessage.ts +2 -2
- package/front_end/panels/console/ConsoleViewport.ts +1 -1
- package/front_end/panels/coverage/CoverageDecorationManager.ts +1 -1
- package/front_end/panels/coverage/CoverageListView.ts +1 -2
- package/front_end/panels/coverage/CoverageView.ts +1 -2
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +9 -5
- package/front_end/panels/css_overview/CSSOverviewController.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewModel.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +4 -5
- package/front_end/panels/css_overview/CSSOverviewProcessingView.ts +1 -2
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +3 -3
- package/front_end/panels/elements/ComputedStyleWidget.ts +3 -4
- package/front_end/panels/elements/ElementsPanel.ts +7 -4
- package/front_end/panels/elements/ElementsSidebarPane.ts +1 -2
- package/front_end/panels/elements/ElementsTreeElement.ts +3 -4
- package/front_end/panels/elements/ElementsTreeOutline.ts +1 -1
- package/front_end/panels/elements/PlatformFontsWidget.ts +1 -2
- package/front_end/panels/elements/StyleEditorWidget.ts +2 -2
- package/front_end/panels/elements/StylePropertiesSection.ts +1 -2
- package/front_end/panels/elements/StylePropertyHighlighter.ts +2 -2
- package/front_end/panels/elements/StylePropertyTreeElement.ts +2 -3
- package/front_end/panels/elements/StylesSidebarPane.ts +47 -16
- package/front_end/panels/elements/TopLayerContainer.ts +1 -1
- package/front_end/panels/elements/components/AdornerSettingsPane.ts +1 -1
- package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +2 -3
- package/front_end/panels/elements/components/ElementsBreadcrumbsUtils.ts +1 -1
- package/front_end/panels/elements/components/LayoutPane.ts +1 -2
- package/front_end/panels/elements/components/QueryContainer.ts +1 -1
- package/front_end/panels/elements/components/StylePropertyEditor.ts +1 -2
- package/front_end/panels/emulation/AdvancedApp.ts +2 -2
- package/front_end/panels/emulation/DeviceModeWrapper.ts +1 -1
- package/front_end/panels/event_listeners/EventListenersView.ts +1 -2
- package/front_end/panels/issues/AffectedResourcesView.ts +2 -2
- package/front_end/panels/issues/CorsIssueDetailsView.ts +2 -2
- package/front_end/panels/issues/IssueView.ts +2 -2
- package/front_end/panels/issues/IssuesPane.ts +6 -2
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +8 -2
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
- package/front_end/panels/layer_viewer/Layers3DView.ts +9 -2
- package/front_end/panels/lighthouse/LighthouseController.ts +1 -1
- package/front_end/panels/lighthouse/LighthousePanel.ts +10 -6
- package/front_end/panels/lighthouse/LighthouseReportRenderer.ts +5 -1
- package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -2
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +1 -2
- package/front_end/panels/lighthouse/LighthouseTimespanView.ts +1 -2
- package/front_end/panels/media/EventDisplayTable.ts +1 -1
- package/front_end/panels/media/EventTimelineView.ts +9 -3
- package/front_end/panels/media/MainView.ts +1 -2
- package/front_end/panels/media/PlayerDetailView.ts +4 -3
- package/front_end/panels/media/PlayerListView.ts +2 -2
- package/front_end/panels/media/PlayerMessagesView.ts +76 -0
- package/front_end/panels/media/playerMessagesView.css +15 -0
- package/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts +6 -2
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +1 -2
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +7 -4
- package/front_end/panels/network/NetworkDataGridNode.ts +1 -1
- package/front_end/panels/network/NetworkFrameGrouper.ts +1 -1
- package/front_end/panels/network/NetworkItemView.ts +1 -1
- package/front_end/panels/network/NetworkLogView.ts +10 -3
- package/front_end/panels/network/NetworkLogViewColumns.ts +7 -6
- package/front_end/panels/network/NetworkPanel.ts +3 -4
- package/front_end/panels/network/NetworkWaterfallColumn.ts +4 -4
- package/front_end/panels/network/RequestTimingView.ts +1 -2
- package/front_end/panels/performance_monitor/performanceMonitor.css +1 -4
- package/front_end/panels/profiler/BottomUpProfileDataGrid.ts +2 -3
- package/front_end/panels/profiler/CPUProfileView.ts +3 -3
- package/front_end/panels/profiler/HeapProfileView.ts +4 -5
- package/front_end/panels/profiler/HeapProfilerPanel.ts +2 -2
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +4 -4
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +11 -7
- package/front_end/panels/profiler/HeapSnapshotProxy.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotView.ts +13 -8
- package/front_end/panels/profiler/ProfileLauncherView.ts +2 -2
- package/front_end/panels/profiler/ProfileSidebarTreeElement.ts +6 -2
- package/front_end/panels/profiler/ProfileView.ts +6 -6
- package/front_end/panels/profiler/ProfilesPanel.ts +6 -2
- package/front_end/panels/profiler/TopDownProfileDataGrid.ts +1 -2
- package/front_end/panels/search/SearchResultsPane.ts +1 -1
- package/front_end/panels/search/SearchView.ts +1 -2
- package/front_end/panels/security/SecurityPanel.ts +43 -17
- package/front_end/panels/security/originView.css +14 -13
- package/front_end/panels/settings/SettingsScreen.ts +1 -1
- package/front_end/panels/settings/emulation/utils/UserAgentMetadata.ts +11 -2
- package/front_end/panels/sources/EditingLocationHistoryManager.ts +2 -2
- package/front_end/panels/sources/GoToLineQuickOpen.ts +1 -1
- package/front_end/panels/sources/InplaceFormatterEditorAction.ts +7 -2
- package/front_end/panels/sources/ScriptFormatterEditorAction.ts +7 -2
- package/front_end/panels/sources/SourcesNavigator.ts +1 -2
- package/front_end/panels/sources/SourcesPanel.ts +1 -1
- package/front_end/panels/sources/SourcesSearchScope.ts +3 -0
- package/front_end/panels/sources/SourcesView.ts +6 -2
- package/front_end/panels/sources/UISourceCodeFrame.ts +1 -1
- package/front_end/panels/timeline/CountersGraph.ts +2 -3
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +2 -2
- package/front_end/panels/timeline/ExtensionTracingSession.ts +3 -3
- package/front_end/panels/timeline/TimelineDetailsView.ts +6 -6
- package/front_end/panels/timeline/TimelineEventOverview.ts +3 -3
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +3 -3
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +1 -1
- package/front_end/panels/timeline/TimelineFlameChartView.ts +6 -6
- package/front_end/panels/timeline/TimelineHistoryManager.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +5 -5
- package/front_end/panels/timeline/TimelineTreeView.ts +2 -2
- package/front_end/panels/timeline/UIDevtoolsController.ts +1 -2
- package/front_end/panels/timeline/components/WebVitalsLane.ts +9 -2
- package/front_end/panels/timeline/components/WebVitalsTimeline.ts +1 -1
- package/front_end/panels/web_audio/graph_visualizer/EdgeView.ts +1 -1
- package/front_end/panels/web_audio/graph_visualizer/GraphView.ts +9 -3
- package/front_end/panels/web_audio/graph_visualizer/NodeRendererUtility.ts +2 -1
- package/front_end/panels/web_audio/graph_visualizer/NodeView.ts +3 -1
- package/front_end/third_party/.clang-format +1 -1
- package/front_end/third_party/i18n/localized-string-set.ts +1 -1
- package/front_end/ui/components/buttons/Button.ts +30 -5
- package/front_end/ui/components/buttons/button.css +16 -0
- package/front_end/ui/components/data_grid/DataGrid.ts +5 -1
- package/front_end/ui/components/data_grid/DataGridContextMenuUtils.ts +2 -2
- package/front_end/ui/components/data_grid/DataGridController.ts +12 -5
- package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
- package/front_end/ui/components/data_grid/DataGridEvents.ts +1 -1
- package/front_end/ui/components/data_grid/DataGridRenderers.ts +1 -1
- package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +112 -0
- package/front_end/ui/components/docs/building-ui-documentation/README.md +19 -0
- package/front_end/ui/components/docs/button/basic.html +11 -0
- package/front_end/ui/components/docs/button/basic.ts +7 -0
- package/front_end/ui/components/icon_button/IconButton.ts +1 -3
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +27 -13
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +39 -8
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +11 -5
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryValueInterpreter.ts +8 -7
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownImage.ts +1 -2
- package/front_end/ui/components/markdown_view/MarkdownView.ts +2 -4
- package/front_end/ui/components/tree_outline/TreeOutline.ts +3 -1
- package/front_end/ui/legacy/ActionRegistry.ts +1 -2
- package/front_end/ui/legacy/Context.ts +1 -1
- package/front_end/ui/legacy/ContextMenu.ts +2 -2
- package/front_end/ui/legacy/Dialog.ts +4 -4
- package/front_end/ui/legacy/DockController.ts +4 -4
- package/front_end/ui/legacy/FilterBar.ts +3 -3
- package/front_end/ui/legacy/FilterSuggestionBuilder.ts +1 -1
- package/front_end/ui/legacy/GlassPane.ts +3 -3
- package/front_end/ui/legacy/Infobar.ts +1 -1
- package/front_end/ui/legacy/InspectorView.ts +10 -10
- package/front_end/ui/legacy/ListControl.ts +2 -2
- package/front_end/ui/legacy/Panel.ts +1 -1
- package/front_end/ui/legacy/ShortcutRegistry.ts +2 -3
- package/front_end/ui/legacy/SoftDropDown.ts +4 -4
- package/front_end/ui/legacy/SplitWidget.ts +2 -2
- package/front_end/ui/legacy/SuggestBox.ts +2 -2
- package/front_end/ui/legacy/TabbedPane.ts +2 -2
- package/front_end/ui/legacy/TextPrompt.ts +1 -2
- package/front_end/ui/legacy/Toolbar.ts +2 -3
- package/front_end/ui/legacy/Treeoutline.ts +3 -3
- package/front_end/ui/legacy/UIUtils.ts +2 -3
- package/front_end/ui/legacy/View.ts +4 -4
- package/front_end/ui/legacy/ViewManager.ts +8 -8
- package/front_end/ui/legacy/ViewRegistration.ts +2 -2
- package/front_end/ui/legacy/XLink.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +1 -2
- package/front_end/ui/legacy/components/color_picker/ContrastOverlay.ts +1 -2
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/SortableDataGrid.ts +1 -2
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +1 -2
- package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -5
- package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +1 -1
- package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +1 -2
- package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +1 -2
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +1 -2
- package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +3 -4
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +1 -2
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +2 -3
- package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +1 -2
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -2
- package/front_end/ui/legacy/inspectorSyntaxHighlight.css +0 -1
- package/front_end/ui/legacy/themeColors.css +2 -2
- package/inspector_overlay/css_grid_label_helpers.ts +1 -2
- package/inspector_overlay/highlight_common.ts +1 -1
- package/inspector_overlay/highlight_container_query.ts +3 -3
- package/inspector_overlay/highlight_flex_common.ts +12 -3
- package/inspector_overlay/highlight_grid_common.ts +3 -3
- package/inspector_overlay/highlight_isolated_element.ts +1 -1
- package/inspector_overlay/highlight_scroll_snap.ts +3 -3
- package/inspector_overlay/main.ts +6 -6
- package/inspector_overlay/tool_highlight.ts +26 -12
- package/inspector_overlay/tool_persistent.ts +13 -14
- package/inspector_overlay/tool_source_order.ts +3 -4
- package/package.json +1 -1
- package/scripts/protocol_typescript/protocol_dts_generator.ts +1 -1
@@ -5,12 +5,12 @@
|
|
5
5
|
import * as Common from '../common/common.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
|
10
|
-
import {Events as ResourceTreeModelEvents, ResourceTreeModel} from './ResourceTreeModel.js';
|
11
|
-
import type
|
12
|
-
|
13
|
-
import {TargetManager} from './TargetManager.js';
|
8
|
+
import {type Resource} from './Resource.js';
|
9
|
+
|
10
|
+
import {Events as ResourceTreeModelEvents, ResourceTreeModel, type ResourceTreeFrame} from './ResourceTreeModel.js';
|
11
|
+
import {type Target} from './Target.js';
|
12
|
+
|
13
|
+
import {TargetManager, type SDKModelObserver} from './TargetManager.js';
|
14
14
|
|
15
15
|
let frameManagerInstance: FrameManager|null = null;
|
16
16
|
|
@@ -6,11 +6,11 @@ import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
import type * as Platform from '../platform/platform.js';
|
8
8
|
|
9
|
-
import type
|
10
|
-
import type
|
9
|
+
import {type DebuggerModel} from './DebuggerModel.js';
|
10
|
+
import {type RemoteObject} from './RemoteObject.js';
|
11
11
|
import {RuntimeModel} from './RuntimeModel.js';
|
12
|
-
|
13
|
-
import {Capability} from './Target.js';
|
12
|
+
|
13
|
+
import {Capability, type Target} from './Target.js';
|
14
14
|
import {SDKModel} from './SDKModel.js';
|
15
15
|
|
16
16
|
export class HeapProfilerModel extends SDKModel<EventTypes> {
|
@@ -5,8 +5,8 @@
|
|
5
5
|
import * as Common from '../common/common.js';
|
6
6
|
|
7
7
|
import {RemoteObject} from './RemoteObject.js';
|
8
|
-
|
9
|
-
import {Capability} from './Target.js';
|
8
|
+
|
9
|
+
import {Capability, type Target} from './Target.js';
|
10
10
|
import {SDKModel} from './SDKModel.js';
|
11
11
|
import type * as Protocol from '../../generated/protocol.js';
|
12
12
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
import * as Common from '../common/common.js';
|
6
6
|
|
7
|
-
import type
|
7
|
+
import {type HeapProfilerModel} from './HeapProfilerModel.js';
|
8
8
|
import {RuntimeModel} from './RuntimeModel.js';
|
9
|
-
|
10
|
-
import {TargetManager} from './TargetManager.js';
|
9
|
+
|
10
|
+
import {TargetManager, type SDKModelObserver} from './TargetManager.js';
|
11
11
|
|
12
12
|
let isolateManagerInstance: IsolateManager;
|
13
13
|
|
@@ -5,8 +5,7 @@
|
|
5
5
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
import {Capability} from './Target.js';
|
8
|
+
import {Capability, type Target} from './Target.js';
|
10
9
|
import {SDKModel} from './SDKModel.js';
|
11
10
|
|
12
11
|
/**
|
@@ -4,10 +4,9 @@
|
|
4
4
|
|
5
5
|
import type * as Protocol from '../../generated/protocol.js';
|
6
6
|
|
7
|
-
import type
|
8
|
-
import {
|
9
|
-
import type
|
10
|
-
import type {Target} from './Target.js';
|
7
|
+
import {DOMModel, type DOMNode} from './DOMModel.js';
|
8
|
+
import {type SnapshotWithRect} from './PaintProfiler.js';
|
9
|
+
import {type Target} from './Target.js';
|
11
10
|
|
12
11
|
export interface Layer {
|
13
12
|
id(): string;
|
@@ -6,8 +6,7 @@ import * as Host from '../host/host.js';
|
|
6
6
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
7
7
|
import * as Protocol from '../../generated/protocol.js';
|
8
8
|
|
9
|
-
import type
|
10
|
-
import {Capability} from './Target.js';
|
9
|
+
import {Capability, type Target} from './Target.js';
|
11
10
|
import {SDKModel} from './SDKModel.js';
|
12
11
|
|
13
12
|
export class LogModel extends SDKModel<EventTypes> implements ProtocolProxyApi.LogDispatcher {
|
@@ -41,16 +41,25 @@ import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
41
41
|
import * as Protocol from '../../generated/protocol.js';
|
42
42
|
|
43
43
|
import {Cookie} from './Cookie.js';
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
44
|
+
|
45
|
+
import {
|
46
|
+
Events as NetworkRequestEvents,
|
47
|
+
NetworkRequest,
|
48
|
+
type BlockedCookieWithReason,
|
49
|
+
type ContentData,
|
50
|
+
type ExtraRequestInfo,
|
51
|
+
type ExtraResponseInfo,
|
52
|
+
type MIME_TYPE,
|
53
|
+
type NameValue,
|
54
|
+
type WebBundleInfo,
|
55
|
+
type WebBundleInnerRequestInfo,
|
56
|
+
} from './NetworkRequest.js';
|
57
|
+
|
58
|
+
import {Capability, type Target} from './Target.js';
|
50
59
|
import {SDKModel} from './SDKModel.js';
|
51
|
-
|
52
|
-
import {TargetManager} from './TargetManager.js';
|
53
|
-
import type
|
60
|
+
|
61
|
+
import {TargetManager, type SDKModelObserver} from './TargetManager.js';
|
62
|
+
import {type Serializer} from '../common/Settings.js';
|
54
63
|
|
55
64
|
const UIStrings = {
|
56
65
|
/**
|
@@ -38,8 +38,7 @@ import * as Common from '../common/common.js';
|
|
38
38
|
import * as i18n from '../i18n/i18n.js';
|
39
39
|
import * as Platform from '../platform/platform.js';
|
40
40
|
|
41
|
-
import type
|
42
|
-
import {Attributes} from './Cookie.js';
|
41
|
+
import {Attributes, type Cookie} from './Cookie.js';
|
43
42
|
import {CookieParser} from './CookieParser.js';
|
44
43
|
import {NetworkManager, Events as NetworkManagerEvents} from './NetworkManager.js';
|
45
44
|
import {Type} from './Target.js';
|
@@ -9,12 +9,12 @@ import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
9
9
|
import * as Protocol from '../../generated/protocol.js';
|
10
10
|
|
11
11
|
import {DebuggerModel, Events as DebuggerModelEvents} from './DebuggerModel.js';
|
12
|
-
|
13
|
-
import {DeferredDOMNode, DOMModel, Events as DOMModelEvents} from './DOMModel.js';
|
12
|
+
|
13
|
+
import {DeferredDOMNode, DOMModel, Events as DOMModelEvents, type DOMNode} from './DOMModel.js';
|
14
14
|
import {OverlayPersistentHighlighter} from './OverlayPersistentHighlighter.js';
|
15
|
-
import type
|
16
|
-
|
17
|
-
import {Capability} from './Target.js';
|
15
|
+
import {type RemoteObject} from './RemoteObject.js';
|
16
|
+
|
17
|
+
import {Capability, type Target} from './Target.js';
|
18
18
|
import {SDKModel} from './SDKModel.js';
|
19
19
|
import {TargetManager} from './TargetManager.js';
|
20
20
|
|
@@ -12,9 +12,9 @@ import {FrameManager} from './FrameManager.js';
|
|
12
12
|
import {IOModel} from './IOModel.js';
|
13
13
|
import {MultitargetNetworkManager} from './NetworkManager.js';
|
14
14
|
import {NetworkManager} from './NetworkManager.js';
|
15
|
-
|
16
|
-
import {Events as ResourceTreeModelEvents, ResourceTreeModel} from './ResourceTreeModel.js';
|
17
|
-
import type
|
15
|
+
|
16
|
+
import {Events as ResourceTreeModelEvents, ResourceTreeModel, type ResourceTreeFrame} from './ResourceTreeModel.js';
|
17
|
+
import {type Target} from './Target.js';
|
18
18
|
import {TargetManager} from './TargetManager.js';
|
19
19
|
|
20
20
|
const UIStrings = {
|
@@ -31,8 +31,7 @@
|
|
31
31
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
32
32
|
import type * as Protocol from '../../generated/protocol.js';
|
33
33
|
|
34
|
-
import type
|
35
|
-
import {Capability} from './Target.js';
|
34
|
+
import {Capability, type Target} from './Target.js';
|
36
35
|
import {SDKModel} from './SDKModel.js';
|
37
36
|
|
38
37
|
export class PaintProfilerModel extends SDKModel<void> {
|
@@ -5,8 +5,7 @@
|
|
5
5
|
import * as Platform from '../platform/platform.js';
|
6
6
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
import {Capability} from './Target.js';
|
8
|
+
import {Capability, type Target} from './Target.js';
|
10
9
|
import {SDKModel} from './SDKModel.js';
|
11
10
|
|
12
11
|
export class PerformanceMetricsModel extends SDKModel<void> {
|
@@ -5,7 +5,7 @@
|
|
5
5
|
import type * as Protocol from '../../generated/protocol.js';
|
6
6
|
import type * as Platform from '../platform/platform.js';
|
7
7
|
|
8
|
-
import type
|
8
|
+
import {type Target} from './Target.js';
|
9
9
|
|
10
10
|
export class ProfileNode {
|
11
11
|
callFrame: Protocol.Runtime.CallFrame;
|
@@ -34,10 +34,10 @@
|
|
34
34
|
|
35
35
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
36
36
|
import * as Protocol from '../../generated/protocol.js';
|
37
|
-
import type
|
37
|
+
import {type DOMPinnedWebIDLProp, type DOMPinnedWebIDLType} from '../common/JavaScriptMetaData.js';
|
38
38
|
|
39
|
-
import type
|
40
|
-
import type
|
39
|
+
import {type DebuggerModel, type FunctionDetails} from './DebuggerModel.js';
|
40
|
+
import {type RuntimeModel} from './RuntimeModel.js';
|
41
41
|
|
42
42
|
export class RemoteObject {
|
43
43
|
/**
|
@@ -35,9 +35,8 @@ import * as Common from '../common/common.js';
|
|
35
35
|
import * as Platform from '../platform/platform.js';
|
36
36
|
import type * as Protocol from '../../generated/protocol.js';
|
37
37
|
|
38
|
-
import type
|
39
|
-
import {
|
40
|
-
import type {ResourceTreeFrame, ResourceTreeModel} from './ResourceTreeModel.js';
|
38
|
+
import {Events, type NetworkRequest} from './NetworkRequest.js';
|
39
|
+
import {type ResourceTreeFrame, type ResourceTreeModel} from './ResourceTreeModel.js';
|
41
40
|
|
42
41
|
export class Resource implements TextUtils.ContentProvider.ContentProvider {
|
43
42
|
readonly #resourceTreeModel: ResourceTreeModel;
|
@@ -38,15 +38,14 @@ import * as Platform from '../platform/platform.js';
|
|
38
38
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
39
39
|
import * as Protocol from '../../generated/protocol.js';
|
40
40
|
|
41
|
-
import type
|
42
|
-
|
43
|
-
import type
|
44
|
-
import {
|
45
|
-
import type {NetworkRequest} from './NetworkRequest.js';
|
41
|
+
import {DOMModel, type DeferredDOMNode, type DOMNode} from './DOMModel.js';
|
42
|
+
|
43
|
+
import {Events as NetworkManagerEvents, NetworkManager, type RequestUpdateDroppedEventData} from './NetworkManager.js';
|
44
|
+
import {type NetworkRequest} from './NetworkRequest.js';
|
46
45
|
import {Resource} from './Resource.js';
|
47
46
|
import {ExecutionContext, RuntimeModel} from './RuntimeModel.js';
|
48
|
-
|
49
|
-
import {Capability} from './Target.js';
|
47
|
+
|
48
|
+
import {Capability, type Target} from './Target.js';
|
50
49
|
import {SDKModel} from './SDKModel.js';
|
51
50
|
import {TargetManager} from './TargetManager.js';
|
52
51
|
import {SecurityOriginManager} from './SecurityOriginManager.js';
|
@@ -38,19 +38,19 @@ import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
38
38
|
import type * as Protocol from '../../generated/protocol.js';
|
39
39
|
import type * as Platform from '../platform/platform.js';
|
40
40
|
|
41
|
-
import type
|
42
|
-
import {DebuggerModel} from './DebuggerModel.js';
|
41
|
+
import {DebuggerModel, type FunctionDetails} from './DebuggerModel.js';
|
43
42
|
import {HeapProfilerModel} from './HeapProfilerModel.js';
|
44
|
-
|
43
|
+
|
45
44
|
import {
|
46
45
|
RemoteFunction,
|
47
46
|
RemoteObject,
|
48
47
|
RemoteObjectImpl,
|
49
48
|
RemoteObjectProperty,
|
50
49
|
ScopeRemoteObject,
|
50
|
+
type ScopeRef,
|
51
51
|
} from './RemoteObject.js';
|
52
|
-
|
53
|
-
import {Capability, Type} from './Target.js';
|
52
|
+
|
53
|
+
import {Capability, Type, type Target} from './Target.js';
|
54
54
|
import {SDKModel} from './SDKModel.js';
|
55
55
|
|
56
56
|
export class RuntimeModel extends SDKModel<EventTypes> {
|
@@ -6,8 +6,8 @@ import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
8
|
import {OverlayModel} from './OverlayModel.js';
|
9
|
-
|
10
|
-
import {Capability} from './Target.js';
|
9
|
+
|
10
|
+
import {Capability, type Target} from './Target.js';
|
11
11
|
import {SDKModel} from './SDKModel.js';
|
12
12
|
|
13
13
|
export class ScreenCaptureModel extends SDKModel<void> implements ProtocolProxyApi.PageDispatcher {
|
@@ -33,13 +33,12 @@ import type * as Platform from '../../core/platform/platform.js';
|
|
33
33
|
import * as Common from '../common/common.js';
|
34
34
|
import * as i18n from '../i18n/i18n.js';
|
35
35
|
|
36
|
-
import type
|
37
|
-
import {
|
38
|
-
import type
|
39
|
-
import type {PageResourceLoadInitiator} from './PageResourceLoader.js';
|
36
|
+
import {Location, type DebuggerModel} from './DebuggerModel.js';
|
37
|
+
import {type FrameAssociated} from './FrameAssociated.js';
|
38
|
+
import {type PageResourceLoadInitiator} from './PageResourceLoader.js';
|
40
39
|
import {ResourceTreeModel} from './ResourceTreeModel.js';
|
41
|
-
import type
|
42
|
-
import type
|
40
|
+
import {type ExecutionContext} from './RuntimeModel.js';
|
41
|
+
import {type Target} from './Target.js';
|
43
42
|
|
44
43
|
const UIStrings = {
|
45
44
|
/**
|
@@ -2,8 +2,7 @@
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
3
3
|
// found in the LICENSE file.
|
4
4
|
|
5
|
-
import type
|
6
|
-
import {Capability} from './Target.js';
|
5
|
+
import {Capability, type Target} from './Target.js';
|
7
6
|
import {SDKModel} from './SDKModel.js';
|
8
7
|
|
9
8
|
export class SecurityOriginManager extends SDKModel<EventTypes> {
|
@@ -6,7 +6,7 @@ import * as Common from '../common/common.js';
|
|
6
6
|
import * as i18n from '../i18n/i18n.js';
|
7
7
|
import * as Platform from '../platform/platform.js';
|
8
8
|
|
9
|
-
import type
|
9
|
+
import {type NameValue} from './NetworkRequest.js';
|
10
10
|
|
11
11
|
const UIStrings = {
|
12
12
|
/**
|
@@ -8,9 +8,9 @@ import type * as Platform from '../platform/platform.js';
|
|
8
8
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
9
9
|
import type * as Protocol from '../../generated/protocol.js';
|
10
10
|
|
11
|
-
import type
|
12
|
-
|
13
|
-
import {Capability} from './Target.js';
|
11
|
+
import {type NameValue} from './NetworkRequest.js';
|
12
|
+
|
13
|
+
import {Capability, type Target} from './Target.js';
|
14
14
|
import {SDKModel} from './SDKModel.js';
|
15
15
|
import {Events as SecurityOriginManagerEvents, SecurityOriginManager} from './SecurityOriginManager.js';
|
16
16
|
|
@@ -38,10 +38,9 @@ import type * as Platform from '../platform/platform.js';
|
|
38
38
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
39
39
|
import * as Protocol from '../../generated/protocol.js';
|
40
40
|
|
41
|
-
import type
|
42
|
-
|
43
|
-
import type
|
44
|
-
import {Capability, Type} from './Target.js';
|
41
|
+
import {Events as RuntimeModelEvents, RuntimeModel, type ExecutionContext} from './RuntimeModel.js';
|
42
|
+
|
43
|
+
import {Capability, Type, type Target} from './Target.js';
|
45
44
|
import {SDKModel} from './SDKModel.js';
|
46
45
|
import {TargetManager} from './TargetManager.js';
|
47
46
|
|
@@ -38,8 +38,8 @@ import * as i18n from '../i18n/i18n.js';
|
|
38
38
|
import * as Platform from '../platform/platform.js';
|
39
39
|
|
40
40
|
import {CompilerSourceMappingContentProvider} from './CompilerSourceMappingContentProvider.js';
|
41
|
-
|
42
|
-
import {PageResourceLoader} from './PageResourceLoader.js';
|
41
|
+
|
42
|
+
import {PageResourceLoader, type PageResourceLoadInitiator} from './PageResourceLoader.js';
|
43
43
|
|
44
44
|
const UIStrings = {
|
45
45
|
/**
|
@@ -88,6 +88,8 @@ export class SourceMapV3 {
|
|
88
88
|
sourceRoot!: Platform.DevToolsPath.UrlString|undefined;
|
89
89
|
names!: string[]|undefined;
|
90
90
|
sourcesContent!: string|undefined;
|
91
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
92
|
+
x_google_ignoreList!: number[]|undefined;
|
91
93
|
constructor() {
|
92
94
|
}
|
93
95
|
}
|
@@ -432,6 +434,7 @@ export class TextSourceMap implements SourceMap {
|
|
432
434
|
private parseSources(sourceMap: SourceMapV3): void {
|
433
435
|
const sourcesList = [];
|
434
436
|
const sourceRoot = sourceMap.sourceRoot || Platform.DevToolsPath.EmptyUrlString;
|
437
|
+
const ignoreList = new Set(sourceMap.x_google_ignoreList);
|
435
438
|
for (let i = 0; i < sourceMap.sources.length; ++i) {
|
436
439
|
let href = sourceMap.sources[i];
|
437
440
|
// The source map v3 proposal says to prepend the sourceRoot to the source URL
|
@@ -453,7 +456,9 @@ export class TextSourceMap implements SourceMap {
|
|
453
456
|
}
|
454
457
|
sourcesList.push(url);
|
455
458
|
if (!this.#sourceInfos.has(url)) {
|
456
|
-
|
459
|
+
const content = source ?? null;
|
460
|
+
const ignoreListHint = ignoreList.has(i);
|
461
|
+
this.#sourceInfos.set(url, new TextSourceMap.SourceInfo(content, ignoreListHint));
|
457
462
|
}
|
458
463
|
}
|
459
464
|
sourceMapToSourceList.set(sourceMap, sourcesList);
|
@@ -584,6 +589,40 @@ export class TextSourceMap implements SourceMap {
|
|
584
589
|
}
|
585
590
|
return false;
|
586
591
|
}
|
592
|
+
|
593
|
+
hasIgnoreListHint(sourceURL: Platform.DevToolsPath.UrlString): boolean {
|
594
|
+
return this.#sourceInfos.get(sourceURL)?.ignoreListHint ?? false;
|
595
|
+
}
|
596
|
+
|
597
|
+
/**
|
598
|
+
* Returns a list of ranges in the generated script, which are known to be
|
599
|
+
* third-party code that should be ignore-listed. Each range is a [begin, end)
|
600
|
+
* pair, meaning that code at the beginning location, up to but not including
|
601
|
+
* the end location, is known to be third-party code.
|
602
|
+
*/
|
603
|
+
ignoreListRanges(): TextUtils.TextRange.TextRange[] {
|
604
|
+
const mappings = this.mappings();
|
605
|
+
const ranges = [];
|
606
|
+
|
607
|
+
let current: TextUtils.TextRange.TextRange|null = null;
|
608
|
+
|
609
|
+
for (const {sourceURL, lineNumber, columnNumber} of mappings) {
|
610
|
+
const ignoreListHint = sourceURL && this.hasIgnoreListHint(sourceURL);
|
611
|
+
|
612
|
+
if (!current && ignoreListHint) {
|
613
|
+
current = TextUtils.TextRange.TextRange.createUnboundedFromLocation(lineNumber, columnNumber);
|
614
|
+
ranges.push(current);
|
615
|
+
continue;
|
616
|
+
}
|
617
|
+
if (current && !ignoreListHint) {
|
618
|
+
current.endLine = lineNumber;
|
619
|
+
current.endColumn = columnNumber;
|
620
|
+
current = null;
|
621
|
+
}
|
622
|
+
}
|
623
|
+
|
624
|
+
return ranges;
|
625
|
+
}
|
587
626
|
}
|
588
627
|
|
589
628
|
export namespace TextSourceMap {
|
@@ -620,11 +659,9 @@ export namespace TextSourceMap {
|
|
620
659
|
}
|
621
660
|
|
622
661
|
export class SourceInfo {
|
623
|
-
content: string|null;
|
624
662
|
reverseMappings: number[]|null = null;
|
625
663
|
|
626
|
-
constructor(content: string|null) {
|
627
|
-
this.content = content;
|
664
|
+
constructor(public content: string|null, public ignoreListHint: boolean) {
|
628
665
|
}
|
629
666
|
}
|
630
667
|
}
|
@@ -6,12 +6,12 @@ import * as Common from '../common/common.js';
|
|
6
6
|
import * as i18n from '../i18n/i18n.js';
|
7
7
|
import * as Platform from '../platform/platform.js';
|
8
8
|
|
9
|
-
import type
|
10
|
-
|
11
|
-
import {Type} from './Target.js';
|
9
|
+
import {type FrameAssociated} from './FrameAssociated.js';
|
10
|
+
|
11
|
+
import {Type, type Target} from './Target.js';
|
12
12
|
import {Events as TargetManagerEvents, TargetManager} from './TargetManager.js';
|
13
|
-
|
14
|
-
import {TextSourceMap} from './SourceMap.js';
|
13
|
+
|
14
|
+
import {TextSourceMap, type SourceMap} from './SourceMap.js';
|
15
15
|
|
16
16
|
const UIStrings = {
|
17
17
|
/**
|
@@ -2,8 +2,7 @@
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
3
3
|
// found in the LICENSE file.
|
4
4
|
|
5
|
-
import type
|
6
|
-
import {Capability} from './Target.js';
|
5
|
+
import {Capability, type Target} from './Target.js';
|
7
6
|
import {SDKModel} from './SDKModel.js';
|
8
7
|
|
9
8
|
export class StorageKeyManager extends SDKModel<EventTypes> {
|
@@ -7,7 +7,7 @@ import * as Host from '../host/host.js';
|
|
7
7
|
import * as Platform from '../platform/platform.js';
|
8
8
|
import * as ProtocolClient from '../protocol_client/protocol_client.js';
|
9
9
|
import type * as Protocol from '../../generated/protocol.js';
|
10
|
-
import type
|
10
|
+
import {type TargetManager} from './TargetManager.js';
|
11
11
|
import {SDKModel} from './SDKModel.js';
|
12
12
|
|
13
13
|
export class Target extends ProtocolClient.InspectorBackend.TargetBase {
|
@@ -8,7 +8,7 @@ import type * as ProtocolClient from '../protocol_client/protocol_client.js';
|
|
8
8
|
import type * as Protocol from '../../generated/protocol.js';
|
9
9
|
import {Type as TargetType} from './Target.js';
|
10
10
|
import {Target} from './Target.js';
|
11
|
-
import type
|
11
|
+
import {type SDKModel} from './SDKModel.js';
|
12
12
|
import * as Root from '../root/root.js';
|
13
13
|
import * as Host from '../host/host.js';
|
14
14
|
|
@@ -5,10 +5,9 @@
|
|
5
5
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
6
6
|
import * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
import {Capability} from './Target.js';
|
8
|
+
import {Capability, type Target} from './Target.js';
|
10
9
|
import {SDKModel} from './SDKModel.js';
|
11
|
-
import type
|
10
|
+
import {type ObjectSnapshot} from './TracingModel.js';
|
12
11
|
|
13
12
|
export class TracingManager extends SDKModel<void> {
|
14
13
|
readonly #tracingAgent: ProtocolProxyApi.TracingApi;
|
@@ -5,8 +5,7 @@
|
|
5
5
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
import {Capability} from './Target.js';
|
8
|
+
import {Capability, type Target} from './Target.js';
|
10
9
|
import {SDKModel} from './SDKModel.js';
|
11
10
|
|
12
11
|
export class WebAuthnModel extends SDKModel {
|
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
import * as Platform from '../../core/platform/platform.js';
|
32
32
|
|
33
|
-
import type
|
33
|
+
import {type FormattedContentBuilder} from './FormattedContentBuilder.js';
|
34
34
|
import {createTokenizer} from './FormatterWorker.js';
|
35
35
|
|
36
36
|
const cssTrimEnd = (tokenValue: string): string => {
|
@@ -2,8 +2,7 @@
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
3
3
|
// found in the LICENSE file.
|
4
4
|
|
5
|
-
import type
|
6
|
-
import {createTokenizer} from './FormatterWorker.js';
|
5
|
+
import {createTokenizer, type Chunk, type ChunkCallback} from './FormatterWorker.js';
|
7
6
|
|
8
7
|
export const CSSParserStates = {
|
9
8
|
Initial: 'Initial',
|
@@ -41,7 +41,7 @@ import {AcornTokenizer, ECMA_VERSION} from './AcornTokenizer.js';
|
|
41
41
|
import {CSSFormatter} from './CSSFormatter.js';
|
42
42
|
import {ESTreeWalker} from './ESTreeWalker.js';
|
43
43
|
import {FormattedContentBuilder} from './FormattedContentBuilder.js';
|
44
|
-
import type
|
44
|
+
import {type FormatResult} from './FormatterActions.js';
|
45
45
|
import {HTMLFormatter} from './HTMLFormatter.js';
|
46
46
|
import {IdentityFormatter} from './IdentityFormatter.js';
|
47
47
|
import {JavaScriptFormatter} from './JavaScriptFormatter.js';
|
@@ -5,7 +5,7 @@
|
|
5
5
|
import * as Platform from '../../core/platform/platform.js';
|
6
6
|
|
7
7
|
import {CSSFormatter} from './CSSFormatter.js';
|
8
|
-
import type
|
8
|
+
import {type FormattedContentBuilder} from './FormattedContentBuilder.js';
|
9
9
|
import {AbortTokenization, createTokenizer} from './FormatterWorker.js';
|
10
10
|
import {JavaScriptFormatter} from './JavaScriptFormatter.js';
|
11
11
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
3
3
|
// found in the LICENSE file.
|
4
4
|
|
5
|
-
import type
|
5
|
+
import {type FormattedContentBuilder} from './FormattedContentBuilder.js';
|
6
6
|
|
7
7
|
export class IdentityFormatter {
|
8
8
|
constructor(private builder: FormattedContentBuilder) {
|