chrome-devtools-frontend 1.0.1023108 → 1.0.1024644
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 +4 -2
- 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 +24 -3
- package/front_end/core/i18n/locales/en-XL.json +24 -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 +2 -2
- 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/generated/.clang-format +1 -0
- package/front_end/generated/ARIAProperties.js +1515 -517
- package/front_end/generated/InspectorBackendCommands.js +960 -3655
- package/front_end/generated/SupportedCSSProperties.js +5719 -1314
- package/front_end/generated/protocol-mapping.d.ts +1865 -608
- package/front_end/generated/protocol-proxy-api.d.ts +384 -576
- package/front_end/generated/protocol.ts +5 -12
- 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/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/DOMLinkifier.ts +5 -1
- 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/network/components/RequestHeadersView.css +4 -0
- package/front_end/panels/network/components/RequestHeadersView.ts +57 -14
- 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 +32 -7
- 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 +10 -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/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/build/generate_aria.py +2 -1
- package/scripts/build/generate_supported_css.py +6 -3
- package/scripts/protocol_typescript/protocol_dts_generator.ts +1 -1
package/.eslintignore
CHANGED
@@ -4,11 +4,13 @@
|
|
4
4
|
// glob into this file it willl not mean that the
|
5
5
|
// clang-format check also ignores that file
|
6
6
|
front_end/.eslintrc.js
|
7
|
-
front_end/diff/diff_match_patch.
|
8
|
-
front_end/generated/protocol.ts
|
7
|
+
front_end/diff/diff_match_patch.jD
|
9
8
|
front_end/javascript_metadata/NativeFunctions.js
|
10
9
|
front_end/javascript_metadata/DOMPinnedProperties.ts
|
11
10
|
|
11
|
+
// All of the scripts in this folder are auto-generated so don't lint them.
|
12
|
+
front_end/generated/
|
13
|
+
|
12
14
|
// Any third_party addition has its source code checked out into
|
13
15
|
// third_party/X/package, so we ignore that code as it's not code we author or
|
14
16
|
// own.
|
package/.eslintrc.js
CHANGED
@@ -28,8 +28,13 @@
|
|
28
28
|
*/
|
29
29
|
|
30
30
|
import type * as Platform from '../platform/platform.js';
|
31
|
-
import
|
32
|
-
EventDescriptor,
|
31
|
+
import {
|
32
|
+
type EventDescriptor,
|
33
|
+
type EventListener,
|
34
|
+
type EventTarget,
|
35
|
+
type EventTargetEvent,
|
36
|
+
type EventPayloadToRestParameters,
|
37
|
+
} from './EventTarget.js';
|
33
38
|
|
34
39
|
export interface ListenerCallbackTuple<Events, T extends keyof Events> {
|
35
40
|
thisObject?: Object;
|
@@ -6,7 +6,7 @@ import * as i18n from '../i18n/i18n.js';
|
|
6
6
|
import type * as Platform from '../platform/platform.js';
|
7
7
|
import * as Root from '../root/root.js';
|
8
8
|
|
9
|
-
import type
|
9
|
+
import {type SettingStorageType} from './Settings.js';
|
10
10
|
|
11
11
|
const UIStrings = {
|
12
12
|
/**
|
@@ -31,10 +31,9 @@
|
|
31
31
|
import type * as Platform from '../platform/platform.js';
|
32
32
|
import * as Root from '../root/root.js';
|
33
33
|
|
34
|
-
import type
|
35
|
-
import {Format} from './Color.js';
|
34
|
+
import {Format, type Color} from './Color.js';
|
36
35
|
import {Console} from './Console.js';
|
37
|
-
import type
|
36
|
+
import {type GenericEvents, type EventDescriptor, type EventTargetEvent} from './EventTarget.js';
|
38
37
|
import {ObjectWrapper} from './Object.js';
|
39
38
|
import {
|
40
39
|
getLocalizedSettingsCategory,
|
@@ -36,11 +36,19 @@ import * as i18n from '../i18n/i18n.js';
|
|
36
36
|
import * as Platform from '../platform/platform.js';
|
37
37
|
import * as Root from '../root/root.js';
|
38
38
|
|
39
|
-
import
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
39
|
+
import {
|
40
|
+
EventDescriptors,
|
41
|
+
Events,
|
42
|
+
type CanShowSurveyResult,
|
43
|
+
type ContextMenuDescriptor,
|
44
|
+
type EnumeratedHistogram,
|
45
|
+
type EventTypes,
|
46
|
+
type ExtensionDescriptor,
|
47
|
+
type InspectorFrontendHostAPI,
|
48
|
+
type LoadNetworkResourceResult,
|
49
|
+
type ShowSurveyResult,
|
50
|
+
type SyncInformation,
|
51
|
+
} from './InspectorFrontendHostAPI.js';
|
44
52
|
import {streamWrite as resourceLoaderStreamWrite} from './ResourceLoader.js';
|
45
53
|
|
46
54
|
const UIStrings = {
|
@@ -8,7 +8,7 @@ import * as Common from '../common/common.js';
|
|
8
8
|
import * as i18n from '../i18n/i18n.js';
|
9
9
|
|
10
10
|
import {InspectorFrontendHostInstance} from './InspectorFrontendHost.js';
|
11
|
-
import type
|
11
|
+
import {type LoadNetworkResourceResult} from './InspectorFrontendHostAPI.js';
|
12
12
|
|
13
13
|
const UIStrings = {
|
14
14
|
/**
|
@@ -6482,6 +6482,21 @@
|
|
6482
6482
|
"panels/media/PlayerMessagesView.ts | error": {
|
6483
6483
|
"message": "Error"
|
6484
6484
|
},
|
6485
|
+
"panels/media/PlayerMessagesView.ts | errorCauseLabel": {
|
6486
|
+
"message": "Caused by:"
|
6487
|
+
},
|
6488
|
+
"panels/media/PlayerMessagesView.ts | errorCodeLabel": {
|
6489
|
+
"message": "Error Code:"
|
6490
|
+
},
|
6491
|
+
"panels/media/PlayerMessagesView.ts | errorDataLabel": {
|
6492
|
+
"message": "Data:"
|
6493
|
+
},
|
6494
|
+
"panels/media/PlayerMessagesView.ts | errorGroupLabel": {
|
6495
|
+
"message": "Error Group:"
|
6496
|
+
},
|
6497
|
+
"panels/media/PlayerMessagesView.ts | errorStackLabel": {
|
6498
|
+
"message": "Stacktrace:"
|
6499
|
+
},
|
6485
6500
|
"panels/media/PlayerMessagesView.ts | filterLogMessages": {
|
6486
6501
|
"message": "Filter log messages"
|
6487
6502
|
},
|
@@ -6830,6 +6845,15 @@
|
|
6830
6845
|
"panels/network/components/RequestHeadersView.ts | onlyChooseThisOptionIfAn": {
|
6831
6846
|
"message": "Only choose this option if an arbitrary website including this resource does not impose a security risk."
|
6832
6847
|
},
|
6848
|
+
"panels/network/components/RequestHeadersView.ts | onlyProvisionalHeadersAre": {
|
6849
|
+
"message": "Only provisional headers are available because this request was not sent over the network and instead was served from a local cache, which doesn’t store the original request headers. Disable cache to see full request headers."
|
6850
|
+
},
|
6851
|
+
"panels/network/components/RequestHeadersView.ts | provisionalHeadersAreShown": {
|
6852
|
+
"message": "Provisional headers are shown."
|
6853
|
+
},
|
6854
|
+
"panels/network/components/RequestHeadersView.ts | provisionalHeadersAreShownDisableCache": {
|
6855
|
+
"message": "Provisional headers are shown. Disable cache to see full headers."
|
6856
|
+
},
|
6833
6857
|
"panels/network/components/RequestHeadersView.ts | raw": {
|
6834
6858
|
"message": "Raw"
|
6835
6859
|
},
|
@@ -8927,9 +8951,6 @@
|
|
8927
8951
|
"panels/security/SecurityPanel.ts | keyExchange": {
|
8928
8952
|
"message": "Key exchange"
|
8929
8953
|
},
|
8930
|
-
"panels/security/SecurityPanel.ts | keyExchangeGroup": {
|
8931
|
-
"message": "Key exchange group"
|
8932
|
-
},
|
8933
8954
|
"panels/security/SecurityPanel.ts | logId": {
|
8934
8955
|
"message": "Log ID"
|
8935
8956
|
},
|
@@ -6482,6 +6482,21 @@
|
|
6482
6482
|
"panels/media/PlayerMessagesView.ts | error": {
|
6483
6483
|
"message": "Êŕr̂ór̂"
|
6484
6484
|
},
|
6485
|
+
"panels/media/PlayerMessagesView.ts | errorCauseLabel": {
|
6486
|
+
"message": "Ĉáûśêd́ b̂ý:"
|
6487
|
+
},
|
6488
|
+
"panels/media/PlayerMessagesView.ts | errorCodeLabel": {
|
6489
|
+
"message": "Êŕr̂ór̂ Ćôd́ê:"
|
6490
|
+
},
|
6491
|
+
"panels/media/PlayerMessagesView.ts | errorDataLabel": {
|
6492
|
+
"message": "D̂át̂á:"
|
6493
|
+
},
|
6494
|
+
"panels/media/PlayerMessagesView.ts | errorGroupLabel": {
|
6495
|
+
"message": "Êŕr̂ór̂ Ǵr̂óûṕ:"
|
6496
|
+
},
|
6497
|
+
"panels/media/PlayerMessagesView.ts | errorStackLabel": {
|
6498
|
+
"message": "Ŝt́âćk̂t́r̂áĉé:"
|
6499
|
+
},
|
6485
6500
|
"panels/media/PlayerMessagesView.ts | filterLogMessages": {
|
6486
6501
|
"message": "F̂íl̂t́êŕ l̂óĝ ḿêśŝáĝéŝ"
|
6487
6502
|
},
|
@@ -6830,6 +6845,15 @@
|
|
6830
6845
|
"panels/network/components/RequestHeadersView.ts | onlyChooseThisOptionIfAn": {
|
6831
6846
|
"message": "Ôńl̂ý ĉh́ôóŝé t̂h́îś ôṕt̂íôń îf́ âń âŕb̂ít̂ŕâŕŷ ẃêb́ŝít̂é îńĉĺûd́îńĝ t́ĥíŝ ŕêśôúr̂ćê d́ôéŝ ńôt́ îḿp̂óŝé â śêćûŕît́ŷ ŕîśk̂."
|
6832
6847
|
},
|
6848
|
+
"panels/network/components/RequestHeadersView.ts | onlyProvisionalHeadersAre": {
|
6849
|
+
"message": "Ôńl̂ý p̂ŕôv́îśîón̂ál̂ h́êád̂ér̂ś âŕê áv̂áîĺâb́l̂é b̂éĉáûśê t́ĥíŝ ŕêq́ûéŝt́ ŵáŝ ńôt́ ŝén̂t́ ôv́êŕ t̂h́ê ńêt́ŵór̂ḱ âńd̂ ín̂śt̂éâd́ ŵáŝ śêŕv̂éd̂ f́r̂óm̂ á l̂óĉál̂ ćâćĥé, ŵh́îćĥ d́ôéŝń’t̂ śt̂ór̂é t̂h́ê ór̂íĝín̂ál̂ ŕêq́ûéŝt́ ĥéâd́êŕŝ. D́îśâb́l̂é ĉáĉh́ê t́ô śêé f̂úl̂ĺ r̂éq̂úêśt̂ h́êád̂ér̂ś."
|
6850
|
+
},
|
6851
|
+
"panels/network/components/RequestHeadersView.ts | provisionalHeadersAreShown": {
|
6852
|
+
"message": "P̂ŕôv́îśîón̂ál̂ h́êád̂ér̂ś âŕê śĥóŵń."
|
6853
|
+
},
|
6854
|
+
"panels/network/components/RequestHeadersView.ts | provisionalHeadersAreShownDisableCache": {
|
6855
|
+
"message": "P̂ŕôv́îśîón̂ál̂ h́êád̂ér̂ś âŕê śĥóŵń. D̂íŝáb̂ĺê ćâćĥé t̂ó ŝéê f́ûĺl̂ h́êád̂ér̂ś."
|
6856
|
+
},
|
6833
6857
|
"panels/network/components/RequestHeadersView.ts | raw": {
|
6834
6858
|
"message": "R̂áŵ"
|
6835
6859
|
},
|
@@ -8927,9 +8951,6 @@
|
|
8927
8951
|
"panels/security/SecurityPanel.ts | keyExchange": {
|
8928
8952
|
"message": "K̂éŷ éx̂ćĥán̂ǵê"
|
8929
8953
|
},
|
8930
|
-
"panels/security/SecurityPanel.ts | keyExchangeGroup": {
|
8931
|
-
"message": "K̂éŷ éx̂ćĥán̂ǵê ǵr̂óûṕ"
|
8932
|
-
},
|
8933
8954
|
"panels/security/SecurityPanel.ts | logId": {
|
8934
8955
|
"message": "L̂óĝ ÍD̂"
|
8935
8956
|
},
|
@@ -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 LocalizedString} from './UIString.js';
|
6
6
|
|
7
7
|
/**
|
8
8
|
* Represents an error that might become visible to the user. Where errors
|
@@ -5,10 +5,9 @@
|
|
5
5
|
import type * as Protocol from '../../generated/protocol.js';
|
6
6
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
|
10
|
-
import type
|
11
|
-
import {Capability} from './Target.js';
|
8
|
+
import {DeferredDOMNode, type DOMNode} from './DOMModel.js';
|
9
|
+
|
10
|
+
import {Capability, type Target} from './Target.js';
|
12
11
|
import {SDKModel} from './SDKModel.js';
|
13
12
|
|
14
13
|
// TODO(crbug.com/1167717): Make this a const enum again
|
@@ -8,7 +8,7 @@ import * as Platform from '../platform/platform.js';
|
|
8
8
|
import type * as Protocol from '../../generated/protocol.js';
|
9
9
|
|
10
10
|
import {ProfileNode, ProfileTreeModel} from './ProfileTreeModel.js';
|
11
|
-
import type
|
11
|
+
import {type Target} from './Target.js';
|
12
12
|
|
13
13
|
const UIStrings = {
|
14
14
|
/**
|
@@ -33,9 +33,9 @@ import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
33
33
|
import type * as Protocol from '../../generated/protocol.js';
|
34
34
|
|
35
35
|
import {DebuggerModel, Location} from './DebuggerModel.js';
|
36
|
-
import type
|
37
|
-
|
38
|
-
import {Capability} from './Target.js';
|
36
|
+
import {type RuntimeModel} from './RuntimeModel.js';
|
37
|
+
|
38
|
+
import {Capability, type Target} from './Target.js';
|
39
39
|
import {SDKModel} from './SDKModel.js';
|
40
40
|
|
41
41
|
const UIStrings = {
|
@@ -5,8 +5,8 @@
|
|
5
5
|
import * as Common from '../../core/common/common.js';
|
6
6
|
|
7
7
|
import {EmulationModel} from './EmulationModel.js';
|
8
|
-
|
9
|
-
import {TargetManager} from './TargetManager.js';
|
8
|
+
|
9
|
+
import {TargetManager, type SDKModelObserver} from './TargetManager.js';
|
10
10
|
|
11
11
|
let throttlingManagerInstance: CPUThrottlingManager;
|
12
12
|
|
@@ -5,9 +5,9 @@
|
|
5
5
|
import * as TextUtils from '../../models/text_utils/text_utils.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
8
|
+
import {type CSSModel} from './CSSModel.js';
|
9
9
|
import {CSSQuery} from './CSSQuery.js';
|
10
|
-
import type
|
10
|
+
import {type DOMNode} from './DOMModel.js';
|
11
11
|
|
12
12
|
export class CSSContainerQuery extends CSSQuery {
|
13
13
|
name?: string;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
import * as TextUtils from '../../models/text_utils/text_utils.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
8
|
+
import {type CSSModel} from './CSSModel.js';
|
9
9
|
import {CSSQuery} from './CSSQuery.js';
|
10
10
|
|
11
11
|
export class CSSLayer extends CSSQuery {
|
@@ -7,11 +7,11 @@ import * as TextUtils from '../../models/text_utils/text_utils.js';
|
|
7
7
|
|
8
8
|
import {cssMetadata, CustomVariableRegex, VariableRegex} from './CSSMetadata.js';
|
9
9
|
|
10
|
-
import type
|
11
|
-
import type
|
10
|
+
import {type CSSModel} from './CSSModel.js';
|
11
|
+
import {type CSSProperty} from './CSSProperty.js';
|
12
12
|
import {CSSKeyframesRule, CSSStyleRule} from './CSSRule.js';
|
13
13
|
import {CSSStyleDeclaration, Type} from './CSSStyleDeclaration.js';
|
14
|
-
import type
|
14
|
+
import {type DOMNode} from './DOMModel.js';
|
15
15
|
|
16
16
|
export class CSSMatchedStyles {
|
17
17
|
readonly #cssModelInternal: CSSModel;
|
@@ -25,13 +25,14 @@ export class CSSMatchedStyles {
|
|
25
25
|
readonly #pseudoDOMCascades: Map<Protocol.DOM.PseudoType, DOMInheritanceCascade>;
|
26
26
|
readonly #customHighlightPseudoDOMCascades: Map<string, DOMInheritanceCascade>;
|
27
27
|
readonly #styleToDOMCascade: Map<CSSStyleDeclaration, DOMInheritanceCascade>;
|
28
|
+
readonly #parentLayoutNodeId: Protocol.DOM.NodeId|undefined;
|
28
29
|
|
29
30
|
constructor(
|
30
31
|
cssModel: CSSModel, node: DOMNode, inlinePayload: Protocol.CSS.CSSStyle|null,
|
31
32
|
attributesPayload: Protocol.CSS.CSSStyle|null, matchedPayload: Protocol.CSS.RuleMatch[],
|
32
33
|
pseudoPayload: Protocol.CSS.PseudoElementMatches[], inheritedPayload: Protocol.CSS.InheritedStyleEntry[],
|
33
34
|
inheritedPseudoPayload: Protocol.CSS.InheritedPseudoElementMatches[],
|
34
|
-
animationsPayload: Protocol.CSS.CSSKeyframesRule[]) {
|
35
|
+
animationsPayload: Protocol.CSS.CSSKeyframesRule[], parentLayoutNodeId: Protocol.DOM.NodeId|undefined) {
|
35
36
|
this.#cssModelInternal = cssModel;
|
36
37
|
this.#nodeInternal = node;
|
37
38
|
this.#addedStyles = new Map();
|
@@ -40,6 +41,7 @@ export class CSSMatchedStyles {
|
|
40
41
|
if (animationsPayload) {
|
41
42
|
this.#keyframesInternal = animationsPayload.map(rule => new CSSKeyframesRule(cssModel, rule));
|
42
43
|
}
|
44
|
+
this.#parentLayoutNodeId = parentLayoutNodeId;
|
43
45
|
|
44
46
|
this.#nodeForStyleInternal = new Map();
|
45
47
|
this.#inheritedStyles = new Set();
|
@@ -411,6 +413,10 @@ export class CSSMatchedStyles {
|
|
411
413
|
return matchingSelectors.length > 0 && this.queryMatches(rule.style);
|
412
414
|
}
|
413
415
|
|
416
|
+
getParentLayoutNodeId(): Protocol.DOM.NodeId|undefined {
|
417
|
+
return this.#parentLayoutNodeId;
|
418
|
+
}
|
419
|
+
|
414
420
|
getMatchingSelectors(rule: CSSStyleRule): number[] {
|
415
421
|
const node = this.nodeForStyle(rule.style);
|
416
422
|
if (!node || typeof node.id !== 'number') {
|
@@ -5,7 +5,7 @@
|
|
5
5
|
import * as TextUtils from '../../models/text_utils/text_utils.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
8
|
+
import {type CSSModel} from './CSSModel.js';
|
9
9
|
import {CSSQuery} from './CSSQuery.js';
|
10
10
|
|
11
11
|
export class CSSMediaQuery {
|
@@ -45,12 +45,12 @@ import {CSSMedia} from './CSSMedia.js';
|
|
45
45
|
import {CSSStyleRule} from './CSSRule.js';
|
46
46
|
import {CSSStyleDeclaration, Type} from './CSSStyleDeclaration.js';
|
47
47
|
import {CSSStyleSheetHeader} from './CSSStyleSheetHeader.js';
|
48
|
-
|
49
|
-
import {DOMModel} from './DOMModel.js';
|
50
|
-
|
51
|
-
import {Events as ResourceTreeModelEvents, ResourceTreeModel} from './ResourceTreeModel.js';
|
52
|
-
|
53
|
-
import {Capability} from './Target.js';
|
48
|
+
|
49
|
+
import {DOMModel, type DOMNode} from './DOMModel.js';
|
50
|
+
|
51
|
+
import {Events as ResourceTreeModelEvents, ResourceTreeModel, type ResourceTreeFrame} from './ResourceTreeModel.js';
|
52
|
+
|
53
|
+
import {Capability, type Target} from './Target.js';
|
54
54
|
import {SDKModel} from './SDKModel.js';
|
55
55
|
import {SourceMapManager} from './SourceMapManager.js';
|
56
56
|
|
@@ -305,7 +305,7 @@ export class CSSModel extends SDKModel<EventTypes> {
|
|
305
305
|
return new CSSMatchedStyles(
|
306
306
|
this, (node as DOMNode), response.inlineStyle || null, response.attributesStyle || null,
|
307
307
|
response.matchedCSSRules || [], response.pseudoElements || [], response.inherited || [],
|
308
|
-
response.inheritedPseudoElements || [], response.cssKeyframesRules || []);
|
308
|
+
response.inheritedPseudoElements || [], response.cssKeyframesRules || [], response.parentLayoutNodeId);
|
309
309
|
}
|
310
310
|
|
311
311
|
async getClassNames(styleSheetId: Protocol.CSS.StyleSheetId): Promise<string[]> {
|
@@ -9,8 +9,8 @@ import * as Platform from '../platform/platform.js';
|
|
9
9
|
import type * as Protocol from '../../generated/protocol.js';
|
10
10
|
|
11
11
|
import {cssMetadata, GridAreaRowRegex} from './CSSMetadata.js';
|
12
|
-
import type
|
13
|
-
import type
|
12
|
+
import {type Edit} from './CSSModel.js';
|
13
|
+
import {type CSSStyleDeclaration} from './CSSStyleDeclaration.js';
|
14
14
|
|
15
15
|
export class CSSProperty {
|
16
16
|
ownerStyle: CSSStyleDeclaration;
|
@@ -5,9 +5,8 @@
|
|
5
5
|
import type * as TextUtils from '../../models/text_utils/text_utils.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
9
|
-
import {
|
10
|
-
import type {CSSStyleSheetHeader} from './CSSStyleSheetHeader.js';
|
8
|
+
import {CSSLocation, type CSSModel, type Edit} from './CSSModel.js';
|
9
|
+
import {type CSSStyleSheetHeader} from './CSSStyleSheetHeader.js';
|
11
10
|
|
12
11
|
type CSSQueryPayload =
|
13
12
|
Protocol.CSS.CSSMedia|Protocol.CSS.CSSContainerQuery|Protocol.CSS.CSSSupports|Protocol.CSS.CSSScope;
|
@@ -12,9 +12,9 @@ import {CSSMedia} from './CSSMedia.js';
|
|
12
12
|
import {CSSScope} from './CSSScope.js';
|
13
13
|
import {CSSSupports} from './CSSSupports.js';
|
14
14
|
|
15
|
-
import type
|
15
|
+
import {type CSSModel, type Edit} from './CSSModel.js';
|
16
16
|
import {CSSStyleDeclaration, Type} from './CSSStyleDeclaration.js';
|
17
|
-
import type
|
17
|
+
import {type CSSStyleSheetHeader} from './CSSStyleSheetHeader.js';
|
18
18
|
|
19
19
|
export class CSSRule {
|
20
20
|
readonly cssModelInternal: CSSModel;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
import * as TextUtils from '../../models/text_utils/text_utils.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
8
|
+
import {type CSSModel} from './CSSModel.js';
|
9
9
|
import {CSSQuery} from './CSSQuery.js';
|
10
10
|
|
11
11
|
export class CSSScope extends CSSQuery {
|
@@ -6,10 +6,10 @@ import * as TextUtils from '../../models/text_utils/text_utils.js';
|
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
8
|
import {cssMetadata} from './CSSMetadata.js';
|
9
|
-
import type
|
9
|
+
import {type CSSModel, type Edit} from './CSSModel.js';
|
10
10
|
import {CSSProperty} from './CSSProperty.js';
|
11
|
-
import type
|
12
|
-
import type
|
11
|
+
import {type CSSRule} from './CSSRule.js';
|
12
|
+
import {type Target} from './Target.js';
|
13
13
|
|
14
14
|
export class CSSStyleDeclaration {
|
15
15
|
readonly #cssModelInternal: CSSModel;
|
@@ -9,10 +9,10 @@ import * as Platform from '../platform/platform.js';
|
|
9
9
|
import * as Root from '../root/root.js';
|
10
10
|
import type * as Protocol from '../../generated/protocol.js';
|
11
11
|
|
12
|
-
import type
|
12
|
+
import {type CSSModel} from './CSSModel.js';
|
13
13
|
import {DeferredDOMNode} from './DOMModel.js';
|
14
|
-
import type
|
15
|
-
import type
|
14
|
+
import {type FrameAssociated} from './FrameAssociated.js';
|
15
|
+
import {type PageResourceLoadInitiator} from './PageResourceLoader.js';
|
16
16
|
import {ResourceTreeModel} from './ResourceTreeModel.js';
|
17
17
|
|
18
18
|
const UIStrings = {
|
@@ -5,7 +5,7 @@
|
|
5
5
|
import * as TextUtils from '../../models/text_utils/text_utils.js';
|
6
6
|
import type * as Protocol from '../../generated/protocol.js';
|
7
7
|
|
8
|
-
import type
|
8
|
+
import {type CSSModel} from './CSSModel.js';
|
9
9
|
import {CSSQuery} from './CSSQuery.js';
|
10
10
|
|
11
11
|
export class CSSSupports extends CSSQuery {
|
@@ -9,8 +9,8 @@ import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
9
9
|
import type * as Protocol from '../../generated/protocol.js';
|
10
10
|
|
11
11
|
import {ParallelConnection} from './Connections.js';
|
12
|
-
|
13
|
-
import {Capability, Type} from './Target.js';
|
12
|
+
|
13
|
+
import {Capability, Type, type Target} from './Target.js';
|
14
14
|
import {SDKModel} from './SDKModel.js';
|
15
15
|
import {Events as TargetManagerEvents, TargetManager} from './TargetManager.js';
|
16
16
|
|
@@ -33,8 +33,7 @@ import type * as Common from '../common/common.js';
|
|
33
33
|
import * as i18n from '../i18n/i18n.js';
|
34
34
|
import type * as Platform from '../platform/platform.js';
|
35
35
|
|
36
|
-
import type
|
37
|
-
import {PageResourceLoader} from './PageResourceLoader.js';
|
36
|
+
import {PageResourceLoader, type PageResourceLoadInitiator} from './PageResourceLoader.js';
|
38
37
|
|
39
38
|
const UIStrings = {
|
40
39
|
/**
|
@@ -37,20 +37,23 @@ import type * as Platform from '../platform/platform.js';
|
|
37
37
|
import {FrontendMessageSource, FrontendMessageType} from './ConsoleModelTypes.js';
|
38
38
|
export {FrontendMessageSource, FrontendMessageType} from './ConsoleModelTypes.js';
|
39
39
|
|
40
|
-
import type
|
41
|
-
|
42
|
-
import type
|
43
|
-
import {Events as DebuggerModelEvents} from './DebuggerModel.js';
|
40
|
+
import {CPUProfilerModel, Events as CPUProfilerModelEvents, type EventData} from './CPUProfilerModel.js';
|
41
|
+
|
42
|
+
import {Events as DebuggerModelEvents, type Location} from './DebuggerModel.js';
|
44
43
|
import {LogModel} from './LogModel.js';
|
45
44
|
import {RemoteObject} from './RemoteObject.js';
|
46
|
-
import {Events as ResourceTreeModelEvents, ResourceTreeModel} from './ResourceTreeModel.js';
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
45
|
+
import {Events as ResourceTreeModelEvents, ResourceTreeModel, type ResourceTreeFrame} from './ResourceTreeModel.js';
|
46
|
+
|
47
|
+
import {
|
48
|
+
Events as RuntimeModelEvents,
|
49
|
+
RuntimeModel,
|
50
|
+
type ConsoleAPICall,
|
51
|
+
type ExceptionWithTimestamp,
|
52
|
+
type ExecutionContext,
|
53
|
+
type QueryObjectRequestedEvent,
|
54
|
+
} from './RuntimeModel.js';
|
55
|
+
import {type Target} from './Target.js';
|
56
|
+
import {TargetManager, type Observer} from './TargetManager.js';
|
54
57
|
|
55
58
|
const UIStrings = {
|
56
59
|
/**
|
@@ -6,12 +6,11 @@ import * as Protocol from '../../generated/protocol.js';
|
|
6
6
|
import * as Common from '../common/common.js';
|
7
7
|
import * as Root from '../root/root.js';
|
8
8
|
|
9
|
-
import type
|
10
|
-
import {
|
11
|
-
import type {Resource} from './Resource.js';
|
9
|
+
import {Cookie, type Attributes} from './Cookie.js';
|
10
|
+
import {type Resource} from './Resource.js';
|
12
11
|
import {ResourceTreeModel} from './ResourceTreeModel.js';
|
13
|
-
|
14
|
-
import {Capability} from './Target.js';
|
12
|
+
|
13
|
+
import {Capability, type Target} from './Target.js';
|
15
14
|
import {SDKModel} from './SDKModel.js';
|
16
15
|
|
17
16
|
export class CookieModel extends SDKModel<void> {
|
@@ -9,16 +9,16 @@ import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
|
9
9
|
import * as Protocol from '../../generated/protocol.js';
|
10
10
|
|
11
11
|
import {CategorizedBreakpoint} from './CategorizedBreakpoint.js';
|
12
|
-
import type
|
13
|
-
|
14
|
-
import {DOMModel, Events as DOMModelEvents} from './DOMModel.js';
|
12
|
+
import {type Location} from './DebuggerModel.js';
|
13
|
+
|
14
|
+
import {DOMModel, Events as DOMModelEvents, type DOMNode} from './DOMModel.js';
|
15
15
|
import {RemoteObject} from './RemoteObject.js';
|
16
16
|
import {RuntimeModel} from './RuntimeModel.js';
|
17
|
-
|
18
|
-
import {Capability} from './Target.js';
|
17
|
+
|
18
|
+
import {Capability, type Target} from './Target.js';
|
19
19
|
import {SDKModel} from './SDKModel.js';
|
20
|
-
|
21
|
-
import {TargetManager} from './TargetManager.js';
|
20
|
+
|
21
|
+
import {TargetManager, type SDKModelObserver} from './TargetManager.js';
|
22
22
|
|
23
23
|
const UIStrings = {
|
24
24
|
/**
|
@@ -43,10 +43,10 @@ import * as Protocol from '../../generated/protocol.js';
|
|
43
43
|
import {CSSModel} from './CSSModel.js';
|
44
44
|
import {FrameManager} from './FrameManager.js';
|
45
45
|
import {OverlayModel} from './OverlayModel.js';
|
46
|
-
import type
|
46
|
+
import {type RemoteObject} from './RemoteObject.js';
|
47
47
|
import {RuntimeModel} from './RuntimeModel.js';
|
48
|
-
|
49
|
-
import {Capability} from './Target.js';
|
48
|
+
|
49
|
+
import {Capability, type Target} from './Target.js';
|
50
50
|
import {SDKModel} from './SDKModel.js';
|
51
51
|
import {TargetManager} from './TargetManager.js';
|
52
52
|
import {ResourceTreeModel} from './ResourceTreeModel.js';
|
@@ -40,14 +40,13 @@ import * as Root from '../root/root.js';
|
|
40
40
|
import type * as ProtocolProxyApi from '../../generated/protocol-proxy-api.js';
|
41
41
|
import * as Protocol from '../../generated/protocol.js';
|
42
42
|
|
43
|
-
import type
|
44
|
-
import {ScopeRef} from './RemoteObject.js';
|
43
|
+
import {ScopeRef, type GetPropertiesResult, type RemoteObject} from './RemoteObject.js';
|
45
44
|
import {Events as ResourceTreeModelEvents, ResourceTreeModel} from './ResourceTreeModel.js';
|
46
|
-
|
47
|
-
import {RuntimeModel} from './RuntimeModel.js';
|
45
|
+
|
46
|
+
import {RuntimeModel, type EvaluationOptions, type EvaluationResult, type ExecutionContext} from './RuntimeModel.js';
|
48
47
|
import {Script} from './Script.js';
|
49
|
-
|
50
|
-
import {Capability, Type} from './Target.js';
|
48
|
+
|
49
|
+
import {Capability, Type, type Target} from './Target.js';
|
51
50
|
import {SDKModel} from './SDKModel.js';
|
52
51
|
import {SourceMapManager} from './SourceMapManager.js';
|
53
52
|
|
@@ -9,8 +9,8 @@ import * as Protocol from '../../generated/protocol.js';
|
|
9
9
|
import {CSSModel} from './CSSModel.js';
|
10
10
|
import {MultitargetNetworkManager} from './NetworkManager.js';
|
11
11
|
import {Events, OverlayModel} from './OverlayModel.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 EmulationModel extends SDKModel<void> {
|