chrome-devtools-frontend 1.0.1684555 → 1.0.1690116
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/.agents/skills/gerrit-cli/SKILL.md +29 -8
- package/.agents/skills/gerrit-cli/references/commands.md +51 -18
- package/.agents/skills/gerrit-cli/references/workflows.md +6 -6
- package/.agents/skills/gerrit-cli/scripts/import_upstream.py +43 -70
- package/config/typescript/tsconfig.base.json +1 -0
- package/config/typescript/tsconfig.eslint.json +9 -0
- package/docs/contributing/issues.md +1 -1
- package/docs/styleguide/ux/writing.md +2 -2
- package/eslint.config.mjs +26 -12
- package/front_end/core/common/Base64.ts +1 -1
- package/front_end/core/common/Color.ts +28 -6
- package/front_end/core/common/ColorConverter.ts +12 -0
- package/front_end/core/common/Console.ts +2 -1
- package/front_end/core/common/Object.ts +10 -4
- package/front_end/core/common/ResourceType.ts +12 -13
- package/front_end/core/common/Revealer.ts +1 -1
- package/front_end/core/common/Settings.ts +2 -2
- package/front_end/core/common/TextDictionary.ts +2 -2
- package/front_end/core/common/Throttler.ts +1 -1
- package/front_end/core/host/InspectorFrontendHostAPI.ts +2 -2
- package/front_end/core/host/UserMetrics.ts +51 -37
- package/front_end/core/host/host.ts +1 -1
- package/front_end/core/i18n/collect-ui-strings.js +5 -5
- package/front_end/core/i18n/generate-locales-js.js +1 -1
- package/front_end/core/i18n/i18n.ts +6 -0
- package/front_end/core/i18n/i18nImpl.ts +1 -1
- package/front_end/core/platform/HostRuntime.ts +3 -3
- package/front_end/core/platform/KeyboardUtilities.ts +1 -1
- package/front_end/core/protocol_client/InspectorBackend.ts +7 -6
- package/front_end/core/root/Runtime.ts +4 -7
- package/front_end/core/sdk/AnimationModel.ts +1 -1
- package/front_end/core/sdk/CPUThrottlingManager.ts +198 -0
- package/front_end/core/sdk/CSSMetadata.ts +9 -6
- package/front_end/core/sdk/CSSPropertyParser.ts +5 -3
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +90 -59
- package/front_end/core/sdk/ConsoleModel.ts +1 -1
- package/front_end/core/sdk/DOMModel.ts +49 -14
- package/front_end/core/sdk/DebuggerModel.ts +1 -1
- package/front_end/core/sdk/EmulationModel.ts +23 -0
- package/front_end/core/sdk/LayerTreeBase.ts +1 -1
- package/front_end/core/sdk/NetworkManager.ts +1 -1
- package/front_end/core/sdk/README.md +40 -0
- package/front_end/core/sdk/RehydratingConnection.ts +1 -1
- package/front_end/core/sdk/RemoteObject.ts +1 -1
- package/front_end/core/sdk/ResourceTreeModel.ts +2 -2
- package/front_end/core/sdk/SDKModel.ts +1 -1
- package/front_end/core/sdk/SDKSettings.ts +15 -0
- package/front_end/core/sdk/Script.ts +1 -1
- package/front_end/core/sdk/SecurityOrigin.ts +158 -0
- package/front_end/core/sdk/ServiceWorkerManager.ts +75 -17
- package/front_end/core/sdk/Target.ts +1 -5
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/core/text_utils/ContentData.ts +1 -1
- package/front_end/entrypoints/formatter_worker/FormattedContentBuilder.ts +3 -1
- package/front_end/entrypoints/formatter_worker/FormatterWorker.ts +1 -1
- package/front_end/entrypoints/formatter_worker/ScopeParser.ts +2 -2
- package/front_end/entrypoints/formatter_worker/Substitute.ts +1 -1
- package/front_end/entrypoints/formatter_worker/formatter_worker-entrypoint.ts +1 -1
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -1
- package/front_end/entrypoints/inspector_main/OutermostTargetSelector.ts +1 -1
- package/front_end/entrypoints/inspector_main/nodeIcon.css +1 -1
- package/front_end/entrypoints/inspector_main/outermostTargetSelector.css +3 -3
- package/front_end/entrypoints/inspector_main/renderingOptions.css +3 -3
- package/front_end/entrypoints/js_app/js_app.ts +25 -9
- package/front_end/entrypoints/node_app/app/nodeConnectionsPanel.css +5 -5
- package/front_end/entrypoints/node_app/node_app.ts +1 -1
- package/front_end/generated/ARIAProperties.ts +39 -1
- package/front_end/generated/InspectorBackendCommands.ts +2 -1
- package/front_end/generated/SupportedCSSProperties.ts +60 -119
- package/front_end/generated/protocol-mapping.d.ts +9 -0
- package/front_end/generated/protocol-proxy-api.d.ts +7 -0
- package/front_end/generated/protocol.ts +12 -2
- package/front_end/models/ai_assistance/AiAgent2.ts +13 -7
- package/front_end/models/ai_assistance/AiConversation.ts +8 -17
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +2 -2
- package/front_end/models/ai_assistance/AiUtils.ts +16 -10
- package/front_end/models/ai_assistance/EvaluateAction.ts +1 -1
- package/front_end/models/ai_assistance/README.md +1 -1
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +8 -13
- package/front_end/models/ai_assistance/agents/AiAgent.ts +29 -6
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +4 -3
- package/front_end/models/ai_assistance/agents/FileAgent.ts +2 -2
- package/front_end/models/ai_assistance/agents/NetworkAgent.ts +2 -2
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +1 -1
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +7 -5
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +8 -7
- package/front_end/models/ai_assistance/ai_assistance.ts +8 -0
- package/front_end/models/ai_assistance/contexts/AccessibilityContext.ts +16 -1
- package/front_end/models/ai_assistance/contexts/FileContext.ts +6 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +150 -325
- package/front_end/models/ai_assistance/injected.ts +3 -3
- package/front_end/models/ai_assistance/performance/AIContext.ts +1 -1
- package/front_end/models/ai_assistance/skills/README.md +1 -1
- package/front_end/models/ai_assistance/skills/accessibility.md +19 -10
- package/front_end/models/ai_assistance/skills/network.md +13 -7
- package/front_end/models/ai_assistance/skills/performance.md +22 -16
- package/front_end/models/ai_assistance/skills/sources.md +13 -7
- package/front_end/models/ai_assistance/skills/storage.md +19 -18
- package/front_end/models/ai_assistance/skills/styling.md +30 -37
- package/front_end/models/ai_assistance/tools/CookieUtils.ts +120 -0
- package/front_end/models/ai_assistance/tools/DOMStorageUtils.ts +53 -4
- package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +8 -32
- package/front_end/models/ai_assistance/tools/GetCookieValues.ts +146 -0
- package/front_end/models/ai_assistance/tools/GetDetailedCallTree.ts +11 -9
- package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +17 -5
- package/front_end/models/ai_assistance/tools/GetFunctionCode.ts +12 -11
- package/front_end/models/ai_assistance/tools/GetInsightDetails.ts +11 -11
- package/front_end/models/ai_assistance/tools/GetLighthouseAudits.ts +3 -2
- package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +3 -3
- package/front_end/models/ai_assistance/tools/GetResourceContent.ts +12 -12
- package/front_end/models/ai_assistance/tools/GetSourceContent.ts +3 -2
- package/front_end/models/ai_assistance/tools/GetStorageBreakdown.ts +132 -0
- package/front_end/models/ai_assistance/tools/GetStorageValues.ts +17 -4
- package/front_end/models/ai_assistance/tools/GetStyles.ts +3 -3
- package/front_end/models/ai_assistance/tools/GetTraceEventByKey.ts +9 -8
- package/front_end/models/ai_assistance/tools/GetTraceMainThreadSummary.ts +13 -14
- package/front_end/models/ai_assistance/tools/GetTraceNetworkSummary.ts +12 -10
- package/front_end/models/ai_assistance/tools/ListCookies.ts +93 -0
- package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +15 -6
- package/front_end/models/ai_assistance/tools/ListPageOrigins.ts +3 -3
- package/front_end/models/ai_assistance/tools/ListSources.ts +5 -3
- package/front_end/models/ai_assistance/tools/ListStorageKeys.ts +16 -4
- package/front_end/models/ai_assistance/tools/RecordPerformanceTrace.ts +3 -2
- package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +4 -3
- package/front_end/models/ai_assistance/tools/RunLighthouse.ts +9 -9
- package/front_end/models/ai_assistance/tools/SelectTraceEventByKey.ts +9 -8
- package/front_end/models/ai_assistance/tools/Tool.ts +21 -11
- package/front_end/models/ai_assistance/tools/ToolRegistry.ts +41 -8
- package/front_end/models/badges/AiExplorerBadge.ts +3 -3
- package/front_end/models/badges/CodeWhispererBadge.ts +2 -2
- package/front_end/models/badges/DOMDetectiveBadge.ts +3 -3
- package/front_end/models/badges/SpeedsterBadge.ts +3 -3
- package/front_end/models/badges/StarterBadge.ts +4 -4
- package/front_end/models/bindings/CompilerScriptMapping.ts +11 -2
- package/front_end/models/bindings/ContentProviderBasedProject.ts +3 -2
- package/front_end/models/breakpoints/BreakpointManager.ts +1 -1
- package/front_end/models/emulation/EmulatedDevices.ts +2 -2
- package/front_end/models/formatter/FormatterWorkerPool.ts +2 -2
- package/front_end/models/formatter/ScriptFormatter.ts +1 -2
- package/front_end/models/geometry/GeometryImpl.ts +2 -2
- package/front_end/models/heap_snapshot/HeapSnapshotModel.ts +1 -1
- package/front_end/models/heap_snapshot/HeapSnapshotProxy.ts +3 -2
- package/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts +5 -5
- package/front_end/models/issues_manager/GenericIssue.ts +18 -18
- package/front_end/models/issues_manager/StylesheetLoadingIssue.ts +1 -1
- package/front_end/models/javascript_metadata/{NativeFunctions.js → NativeFunctions.ts} +26 -10
- package/front_end/models/live-metrics/LiveMetrics.ts +9 -3
- package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +58 -6
- package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +2 -62
- package/front_end/models/network_time_calculator/RequestTimeRanges.ts +2 -2
- package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +5 -0
- package/front_end/models/persistence/IsolatedFileSystem.ts +1 -1
- package/front_end/models/persistence/NetworkPersistenceManager.ts +35 -6
- package/front_end/models/stack_trace/StackTraceImpl.ts +2 -2
- package/front_end/models/trace/LanternComputationData.ts +2 -3
- package/front_end/models/trace/extras/StackTraceForEvent.ts +3 -2
- package/front_end/models/trace/extras/ThirdParties.ts +9 -9
- package/front_end/models/trace/handlers/AsyncJSCallsHandler.ts +7 -4
- package/front_end/models/trace/handlers/FramesHandler.ts +3 -3
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +2 -2
- package/front_end/models/trace/handlers/SamplesHandler.ts +4 -2
- package/front_end/models/trace/handlers/UserInteractionsHandler.ts +1 -1
- package/front_end/models/trace/handlers/WarningsHandler.ts +2 -2
- package/front_end/models/trace/helpers/Network.ts +3 -3
- package/front_end/models/trace/helpers/Trace.ts +1 -1
- package/front_end/models/trace/insights/CLSCulprits.ts +1 -1
- package/front_end/models/trace/insights/Cache.ts +1 -1
- package/front_end/models/trace/insights/CharacterSet.ts +1 -1
- package/front_end/models/trace/insights/DOMSize.ts +1 -1
- package/front_end/models/trace/insights/DocumentLatency.ts +1 -1
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +1 -1
- package/front_end/models/trace/insights/FontDisplay.ts +1 -1
- package/front_end/models/trace/insights/ForcedReflow.ts +1 -1
- package/front_end/models/trace/insights/INPBreakdown.ts +1 -1
- package/front_end/models/trace/insights/ImageDelivery.ts +1 -1
- package/front_end/models/trace/insights/LCPBreakdown.ts +1 -1
- package/front_end/models/trace/insights/LCPDiscovery.ts +1 -1
- package/front_end/models/trace/insights/LegacyJavaScript.ts +1 -1
- package/front_end/models/trace/insights/ModernHTTP.ts +1 -1
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +1 -1
- package/front_end/models/trace/insights/RenderBlocking.ts +3 -4
- package/front_end/models/trace/insights/SlowCSSSelector.ts +1 -1
- package/front_end/models/trace/insights/ThirdParties.ts +3 -3
- package/front_end/models/trace/insights/Viewport.ts +1 -1
- package/front_end/models/trace/lantern/simulation/Constants.ts +34 -2
- package/front_end/models/trace/lantern/simulation/DNSCache.ts +1 -1
- package/front_end/models/trace/types/TraceEvents.ts +8 -3
- package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +2 -1
- package/front_end/models/workspace/WorkspaceImpl.ts +18 -2
- package/front_end/panels/accessibility/ARIAAttributesView.ts +1 -1
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingView.ts +686 -2
- package/front_end/panels/accessibility/AccessibilityNodeView.ts +1 -2
- package/front_end/panels/accessibility/AccessibilityStrings.ts +7 -3
- package/front_end/panels/accessibility/accessibilityNode.css +4 -4
- package/front_end/panels/accessibility/accessibilityProperties.css +1 -1
- package/front_end/panels/accessibility/accessibilitySidebarView.css +2 -2
- package/front_end/panels/accessibility/axBreadcrumbs.css +13 -13
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +14 -14
- package/front_end/panels/ai_assistance/ExternalHandler.ts +1 -1
- package/front_end/panels/ai_assistance/aiAssistancePanel.css +1 -1
- package/front_end/panels/ai_assistance/components/AIv2MarkdownRenderer.ts +2 -2
- package/front_end/panels/ai_assistance/components/AccessibilityAgentMarkdownRenderer.ts +1 -3
- package/front_end/panels/ai_assistance/components/ChatInput.ts +3 -2
- package/front_end/panels/ai_assistance/components/ChatView.ts +1 -1
- package/front_end/panels/ai_assistance/components/DisabledWidget.ts +1 -1
- package/front_end/panels/ai_assistance/components/ExploreWidget.ts +1 -1
- package/front_end/panels/ai_assistance/components/chatInput.css +12 -12
- package/front_end/panels/ai_assistance/components/chatMessage.css +16 -16
- package/front_end/panels/ai_assistance/components/chatView.css +2 -2
- package/front_end/panels/ai_assistance/components/exploreWidget.css +1 -1
- package/front_end/panels/ai_assistance/components/exportForAgentsDialog.css +4 -0
- package/front_end/panels/ai_assistance/components/walkthroughView.css +6 -6
- package/front_end/panels/animation/AnimationGroupPreviewUI.ts +1 -1
- package/front_end/panels/animation/AnimationTimeline.ts +1 -1
- package/front_end/panels/animation/AnimationUI.ts +1 -1
- package/front_end/panels/animation/animationTimeline.css +62 -62
- package/front_end/panels/application/AppManifestView.ts +6 -2
- package/front_end/panels/application/ApplicationPanelSidebar.ts +8 -5
- package/front_end/panels/application/BackgroundServiceView.ts +290 -252
- package/front_end/panels/application/BounceTrackingMitigationsTreeElement.ts +1 -1
- package/front_end/panels/application/FrameDetailsView.ts +1 -1
- package/front_end/panels/application/IndexedDBViews.ts +3 -2
- package/front_end/panels/application/ReportingApiTreeElement.ts +1 -1
- package/front_end/panels/application/ReportingApiView.ts +2 -2
- package/front_end/panels/application/ServiceWorkerUpdateCycleView.ts +1 -1
- package/front_end/panels/application/ServiceWorkersView.ts +1 -1
- package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
- package/front_end/panels/application/StorageItemsToolbar.ts +6 -2
- package/front_end/panels/application/StorageView.ts +9 -8
- package/front_end/panels/application/TrustTokensTreeElement.ts +1 -1
- package/front_end/panels/application/WebMCPView.ts +17 -8
- package/front_end/panels/application/appManifestView.css +5 -5
- package/front_end/panels/application/backgroundServiceView.css +18 -2
- package/front_end/panels/application/components/AdsView.ts +100 -4
- package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +1 -1
- package/front_end/panels/application/components/CrashReportContextGrid.ts +1 -1
- package/front_end/panels/application/components/EndpointsGrid.ts +1 -1
- package/front_end/panels/application/components/ReportsGrid.ts +1 -1
- package/front_end/panels/application/components/TrustTokensView.ts +1 -1
- package/front_end/panels/application/components/adsView.css +8 -5
- package/front_end/panels/application/components/backForwardCacheView.css +5 -5
- package/front_end/panels/application/components/bounceTrackingMitigationsView.css +1 -1
- package/front_end/panels/application/components/endpointsGrid.css +1 -1
- package/front_end/panels/application/components/permissionsPolicySection.css +1 -1
- package/front_end/panels/application/components/protocolHandlersView.css +6 -6
- package/front_end/panels/application/components/reportsGrid.css +1 -1
- package/front_end/panels/application/components/serviceWorkerRouterView.css +4 -4
- package/front_end/panels/application/components/trustTokensView.css +7 -7
- package/front_end/panels/application/cookieItemsView.css +3 -3
- package/front_end/panels/application/deviceBoundSessionsView.css +3 -3
- package/front_end/panels/application/frameDetailsReportView.css +11 -11
- package/front_end/panels/application/indexedDBViews.css +7 -7
- package/front_end/panels/application/originTrialTokenRows.css +2 -2
- package/front_end/panels/application/originTrialTreeView.css +3 -3
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +1 -1
- package/front_end/panels/application/preloading/components/PreloadingGrid.ts +1 -1
- package/front_end/panels/application/preloading/components/RuleSetDetailsView.css +2 -2
- package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -2
- package/front_end/panels/application/preloading/components/preloadingDetailsReportView.css +1 -1
- package/front_end/panels/application/preloading/components/preloadingDisabledInfobar.css +2 -2
- package/front_end/panels/application/preloading/components/preloadingGrid.css +2 -2
- package/front_end/panels/application/preloading/components/usedPreloadingView.css +7 -7
- package/front_end/panels/application/preloading/preloadingView.css +1 -1
- package/front_end/panels/application/preloading/preloadingViewDropDown.css +3 -3
- package/front_end/panels/application/serviceWorkerCacheViews.css +5 -5
- package/front_end/panels/application/serviceWorkerUpdateCycleView.css +14 -12
- package/front_end/panels/application/serviceWorkersView.css +15 -16
- package/front_end/panels/application/storageView.css +5 -5
- package/front_end/panels/application/webMCPView.css +9 -9
- package/front_end/panels/autofill/AutofillView.ts +2 -2
- package/front_end/panels/autofill/autofillView.css +4 -4
- package/front_end/panels/browser_debugger/CategorizedBreakpointsSidebarPane.ts +2 -3
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/categorizedBreakpointsSidebarPane.css +4 -4
- package/front_end/panels/browser_debugger/domBreakpointsSidebarPane.css +5 -3
- package/front_end/panels/browser_debugger/xhrBreakpointsSidebarPane.css +4 -4
- package/front_end/panels/changes/ChangesSidebar.ts +56 -15
- package/front_end/panels/changes/ChangesView.ts +1 -1
- package/front_end/panels/changes/changesSidebar.css +1 -1
- package/front_end/panels/changes/changesView.css +1 -1
- package/front_end/panels/changes/combinedDiffView.css +1 -1
- package/front_end/panels/common/CPUThrottlingOption.ts +5 -10
- package/front_end/panels/common/badgeNotification.css +2 -2
- package/front_end/panels/common/domLinkifier.css +1 -1
- package/front_end/panels/common/gdpSignUpDialog.css +3 -3
- package/front_end/panels/common/geminiRebrandPromoDialog.css +1 -1
- package/front_end/panels/console/ConsolePrompt.ts +12 -5
- package/front_end/panels/console/ConsoleSidebar.ts +6 -2
- package/front_end/panels/console/ConsoleView.ts +6 -3
- package/front_end/panels/console/ConsoleViewMessage.ts +3 -1
- package/front_end/panels/console/console-meta.ts +5 -24
- package/front_end/panels/console/consoleContextSelector.css +2 -2
- package/front_end/panels/console/consolePinPane.css +9 -9
- package/front_end/panels/console/consolePrompt.css +5 -5
- package/front_end/panels/console/consoleView.css +39 -39
- package/front_end/panels/coverage/coverageListView.css +2 -2
- package/front_end/panels/css_overview/cssOverviewCompletedView.css +34 -34
- package/front_end/panels/css_overview/cssOverviewProcessingView.css +5 -5
- package/front_end/panels/css_overview/cssOverviewSidebarPanel.css +1 -1
- package/front_end/panels/css_overview/cssOverviewStartView.css +17 -17
- package/front_end/panels/elements/AdoptedStyleSheetTreeElement.ts +209 -62
- package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +4 -4
- package/front_end/panels/elements/DOMTreeContextMenu.ts +59 -54
- package/front_end/panels/elements/ElementsPanel.ts +1 -1
- package/front_end/panels/elements/ElementsTreeElement.ts +142 -94
- package/front_end/panels/elements/ElementsTreeOutline.ts +2132 -472
- package/front_end/panels/elements/PropertyRenderer.ts +22 -15
- package/front_end/panels/elements/ShortcutTreeElement.ts +6 -3
- package/front_end/panels/elements/StandaloneStylesContainer.ts +6 -2
- package/front_end/panels/elements/StylePropertiesSection.ts +65 -8
- package/front_end/panels/elements/StylePropertyTreeElement.ts +81 -26
- package/front_end/panels/elements/StylesSidebarPane.ts +149 -10
- package/front_end/panels/elements/classesPaneWidget.css +6 -6
- package/front_end/panels/elements/components/stylePropertyEditor.css +7 -7
- package/front_end/panels/elements/computedStyleWidget.css +1 -1
- package/front_end/panels/elements/elementStatePaneWidget.css +8 -8
- package/front_end/panels/elements/elements-meta.ts +14 -0
- package/front_end/panels/elements/elementsPanel.css +4 -4
- package/front_end/panels/elements/elementsTreeOutline.css +226 -38
- package/front_end/panels/elements/layersWidget.css +4 -4
- package/front_end/panels/elements/layoutPane.css +18 -18
- package/front_end/panels/elements/metricsSidebarPane.css +11 -11
- package/front_end/panels/elements/platformFontsWidget.css +5 -5
- package/front_end/panels/elements/propertiesWidget.css +2 -2
- package/front_end/panels/elements/stylePropertiesTreeOutline.css +20 -20
- package/front_end/panels/elements/stylesSidebarPane.css +37 -20
- package/front_end/panels/emulation/DeviceModeView.ts +6 -1
- package/front_end/panels/emulation/InspectedPagePlaceholder.ts +6 -2
- package/front_end/panels/emulation/deviceModeView.css +49 -49
- package/front_end/panels/emulation/mediaQueryInspector.css +18 -18
- package/front_end/panels/event_listeners/eventListenersView.css +1 -1
- package/front_end/panels/explain/components/consoleInsight.css +29 -29
- package/front_end/panels/issues/components/elementsPanelLink.css +2 -2
- package/front_end/panels/issues/components/hideIssuesMenu.css +1 -1
- package/front_end/panels/issues/issuesPane.css +2 -2
- package/front_end/panels/issues/issuesTree.css +50 -50
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +6 -2
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +7 -2
- package/front_end/panels/layer_viewer/Layers3DView.ts +17 -11
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +6 -2
- package/front_end/panels/layer_viewer/layerDetailsView.css +1 -1
- package/front_end/panels/layer_viewer/layerTreeOutline.css +2 -2
- package/front_end/panels/layer_viewer/layers3DView.css +1 -1
- package/front_end/panels/layer_viewer/paintProfiler.css +1 -1
- package/front_end/panels/lighthouse/LighthouseReportSelector.ts +2 -2
- package/front_end/panels/lighthouse/lighthousePanel.css +5 -5
- package/front_end/panels/lighthouse/lighthouseStartView.css +13 -13
- package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts +6 -2
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +6 -2
- package/front_end/panels/media/playerListView.css +9 -9
- package/front_end/panels/media/playerMessagesView.css +8 -8
- package/front_end/panels/media/playerPropertiesView.css +6 -6
- package/front_end/panels/mobile_throttling/NetworkPanelIndicator.ts +1 -1
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +6 -2
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +25 -54
- package/front_end/panels/mobile_throttling/throttlingSettingsTab.css +9 -9
- package/front_end/panels/network/NetworkDataGridNode.ts +1 -0
- package/front_end/panels/network/NetworkLogView.ts +8 -3
- package/front_end/panels/network/NetworkPanel.ts +9 -4
- package/front_end/panels/network/RequestConditionsDrawer.ts +12 -12
- package/front_end/panels/network/RequestPayloadView.ts +78 -26
- package/front_end/panels/network/binaryResourceView.css +1 -1
- package/front_end/panels/network/components/EditableSpan.css +3 -3
- package/front_end/panels/network/components/HeaderSectionRow.css +14 -14
- package/front_end/panels/network/components/RequestHeaderSection.css +7 -7
- package/front_end/panels/network/components/RequestHeadersView.css +23 -18
- package/front_end/panels/network/components/RequestTrustTokensView.css +1 -1
- package/front_end/panels/network/network-meta.ts +9 -9
- package/front_end/panels/network/networkConfigView.css +11 -11
- package/front_end/panels/network/networkLogView.css +39 -35
- package/front_end/panels/network/networkManageCustomHeadersView.css +1 -1
- package/front_end/panels/network/networkPanel.css +7 -7
- package/front_end/panels/network/networkTimingTable.css +13 -13
- package/front_end/panels/network/requestConditionsDrawer.css +4 -4
- package/front_end/panels/network/requestCookiesView.css +5 -5
- package/front_end/panels/network/requestDeviceBoundSessionsView.css +1 -1
- package/front_end/panels/network/requestHTMLView.css +1 -1
- package/front_end/panels/network/requestHeadersTree.css +19 -19
- package/front_end/panels/network/requestInitiatorView.css +1 -1
- package/front_end/panels/network/requestInitiatorViewTree.css +5 -3
- package/front_end/panels/network/requestPayloadTree.css +5 -5
- package/front_end/panels/network/requestPayloadView.css +1 -1
- package/front_end/panels/network/resourceChunkView.css +3 -3
- package/front_end/panels/network/signedExchangeInfoTree.css +6 -6
- package/front_end/panels/performance_monitor/performanceMonitor.css +3 -3
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +7 -2
- package/front_end/panels/profiler/HeapProfileView.ts +7 -2
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +8 -4
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +8 -4
- package/front_end/panels/profiler/HeapSnapshotView.ts +15 -6
- package/front_end/panels/profiler/HeapTimelineOverview.ts +6 -2
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +12 -5
- package/front_end/panels/profiler/ProfileLauncherView.ts +6 -2
- package/front_end/panels/profiler/heapProfiler.css +15 -15
- package/front_end/panels/profiler/profileLauncherView.css +10 -10
- package/front_end/panels/profiler/profilesPanel.css +8 -9
- package/front_end/panels/profiler/profilesSidebarTree.css +13 -13
- package/front_end/panels/protocol_monitor/JSONEditor.css +2 -2
- package/front_end/panels/protocol_monitor/JSONEditor.ts +6 -1
- package/front_end/panels/protocol_monitor/protocolMonitor.css +2 -2
- package/front_end/panels/recorder/RecordingView.ts +1 -1
- package/front_end/panels/recorder/StepEditor.ts +86 -7
- package/front_end/panels/recorder/TimelineSection.ts +2 -1
- package/front_end/panels/recorder/createRecordingView.css +17 -17
- package/front_end/panels/recorder/extensionView.css +5 -5
- package/front_end/panels/recorder/injected/RecordingClient.ts +1 -1
- package/front_end/panels/recorder/models/SchemaUtils.ts +2 -2
- package/front_end/panels/recorder/models/ScreenshotStorage.ts +1 -1
- package/front_end/panels/recorder/recorderPanel.css +7 -7
- package/front_end/panels/recorder/recordingListView.css +12 -12
- package/front_end/panels/recorder/recordingView.css +47 -47
- package/front_end/panels/recorder/stepEditor.css +2 -2
- package/front_end/panels/recorder/stepView.css +20 -20
- package/front_end/panels/recorder/timelineSection.css +9 -9
- package/front_end/panels/screencast/screencastView.css +12 -12
- package/front_end/panels/search/searchResultsPane.css +10 -10
- package/front_end/panels/search/searchView.css +9 -9
- package/front_end/panels/security/SecurityPanel.ts +84 -54
- package/front_end/panels/security/mainView.css +26 -26
- package/front_end/panels/security/originView.css +15 -15
- package/front_end/panels/sensors/locationsSettingsTab.css +6 -6
- package/front_end/panels/sensors/sensors.css +28 -28
- package/front_end/panels/settings/components/syncSection.css +5 -5
- package/front_end/panels/settings/emulation/components/userAgentClientHintsForm.css +13 -13
- package/front_end/panels/settings/emulation/devicesSettingsTab.css +16 -16
- package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +2 -2
- package/front_end/panels/settings/keybindsSettingsTab.css +2 -2
- package/front_end/panels/settings/settingsScreen.css +5 -5
- package/front_end/panels/sources/SourcesView.ts +7 -2
- package/front_end/panels/sources/TabbedEditorContainer.ts +6 -2
- package/front_end/panels/sources/UISourceCodeFrame.ts +11 -4
- package/front_end/panels/sources/breakpointEditDialog.css +9 -9
- package/front_end/panels/sources/breakpointsView.css +25 -25
- package/front_end/panels/sources/callStackSidebarPane.css +10 -10
- package/front_end/panels/sources/components/HeadersView.css +6 -6
- package/front_end/panels/sources/debuggerPausedMessage.css +4 -4
- package/front_end/panels/sources/dialog.css +2 -2
- package/front_end/panels/sources/navigatorTree.css +2 -2
- package/front_end/panels/sources/navigatorView.css +2 -2
- package/front_end/panels/sources/scopeChainSidebarPane.css +1 -1
- package/front_end/panels/sources/sourcesNavigator.css +1 -1
- package/front_end/panels/sources/sourcesPanel.css +2 -2
- package/front_end/panels/sources/sourcesView.css +1 -1
- package/front_end/panels/sources/threadsSidebarPane.css +5 -5
- package/front_end/panels/sources/watchExpressionsSidebarPane.css +8 -8
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/AnnotationHelpers.ts +9 -9
- package/front_end/panels/timeline/CountersGraph.ts +8 -8
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +3 -3
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +1 -1
- package/front_end/panels/timeline/GPUTrackAppender.ts +1 -1
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/IsolateSelector.ts +2 -2
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +3 -3
- package/front_end/panels/timeline/NetworkTrackAppender.ts +1 -1
- package/front_end/panels/timeline/StatusDialog.ts +5 -6
- package/front_end/panels/timeline/ThirdPartyTreeView.ts +4 -4
- package/front_end/panels/timeline/ThreadAppender.ts +12 -14
- package/front_end/panels/timeline/TimelineController.ts +5 -8
- package/front_end/panels/timeline/TimelineDetailsView.ts +22 -30
- package/front_end/panels/timeline/TimelineEventOverview.ts +4 -4
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +17 -17
- package/front_end/panels/timeline/TimelineFlameChartView.ts +11 -8
- package/front_end/panels/timeline/TimelineHistoryManager.ts +8 -8
- package/front_end/panels/timeline/TimelineLoader.ts +1 -1
- package/front_end/panels/timeline/TimelineMiniMap.ts +10 -5
- package/front_end/panels/timeline/TimelinePanel.ts +57 -59
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +27 -27
- package/front_end/panels/timeline/TimelineTreeView.ts +46 -44
- package/front_end/panels/timeline/TimelineUIUtils.ts +142 -116
- package/front_end/panels/timeline/TimingsTrackAppender.ts +1 -1
- package/front_end/panels/timeline/TrackConfigBanner.ts +4 -4
- package/front_end/panels/timeline/UIDevtoolsUtils.ts +15 -15
- package/front_end/panels/timeline/components/LiveMetricsView.ts +1 -1
- package/front_end/panels/timeline/components/breadcrumbsUI.css +3 -3
- package/front_end/panels/timeline/components/exportTraceOptions.css +1 -1
- package/front_end/panels/timeline/components/fieldSettingsDialog.css +13 -13
- package/front_end/panels/timeline/components/ignoreListSetting.css +3 -3
- package/front_end/panels/timeline/components/insights/Table.ts +1 -1
- package/front_end/panels/timeline/components/liveMetricsView.css +39 -39
- package/front_end/panels/timeline/components/metricCard.css +20 -20
- package/front_end/panels/timeline/components/networkRequestDetails.css +9 -9
- package/front_end/panels/timeline/components/networkRequestTooltip.css +14 -14
- package/front_end/panels/timeline/components/networkTrackWidget.css +2 -2
- package/front_end/panels/timeline/components/originMap.css +4 -4
- package/front_end/panels/timeline/components/relatedInsightChips.css +1 -1
- package/front_end/panels/timeline/components/sidebarAnnotationsTab.css +4 -4
- package/front_end/panels/timeline/components/sidebarInsightsTab.css +5 -5
- package/front_end/panels/timeline/components/sidebarSingleInsightSet.css +1 -1
- package/front_end/panels/timeline/components/timelineSummary.css +4 -4
- package/front_end/panels/timeline/enable-easter-egg.js +1 -1
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +4 -4
- package/front_end/panels/timeline/overlays/components/EntriesLinkOverlay.ts +1 -1
- package/front_end/panels/timeline/overlays/components/EntryLabelOverlay.ts +6 -6
- package/front_end/panels/timeline/overlays/components/TimeRangeOverlay.ts +1 -1
- package/front_end/panels/timeline/thirdPartyTreeView.css +5 -5
- package/front_end/panels/timeline/timeline-meta.ts +30 -36
- package/front_end/panels/timeline/timelineDetailsView.css +11 -11
- package/front_end/panels/timeline/timelineFlameChartView.css +10 -10
- package/front_end/panels/timeline/timelineFlamechartPopover.css +5 -5
- package/front_end/panels/timeline/timelineHistoryManager.css +7 -7
- package/front_end/panels/timeline/timelinePaintProfiler.css +2 -2
- package/front_end/panels/timeline/timelinePanel.css +20 -20
- package/front_end/panels/timeline/timelineTreeView.css +8 -8
- package/front_end/panels/timeline/utils/IgnoreList.ts +4 -4
- package/front_end/panels/webauthn/webauthnPane.css +6 -6
- package/front_end/panels/whats_new/ReleaseNoteText.ts +2 -2
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/i18n/i18n-impl.ts +1 -1
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +15 -1
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +42 -8
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js +15 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Frame.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts +14 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js +23 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/WebMCP.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/generated/injected.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.js +77 -6
- package/front_end/third_party/puppeteer/package/lib/puppeteer/injected/Poller.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +15 -1
- package/front_end/third_party/puppeteer/package/package.json +2 -2
- package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +16 -2
- package/front_end/third_party/puppeteer/package/src/cdp/WebMCP.ts +36 -1
- package/front_end/third_party/puppeteer/package/src/generated/injected.ts +1 -1
- package/front_end/third_party/puppeteer/package/src/injected/Poller.ts +86 -6
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/third_party/web-vitals/README.chromium +2 -2
- package/front_end/third_party/web-vitals/package/README.md +22 -7
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +6 -2
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.d.ts +2 -2
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.js +30 -3
- package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.d.ts +14 -0
- package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.js +19 -13
- package/front_end/third_party/web-vitals/package/dist/modules/lib/bindReporter.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/doubleRAF.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +3 -3
- package/front_end/third_party/web-vitals/package/dist/modules/lib/softNavs.js +3 -1
- package/front_end/third_party/web-vitals/package/dist/modules/types/lcp.d.ts +15 -1
- package/front_end/third_party/web-vitals/package/package.json +1 -2
- package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +9 -2
- package/front_end/third_party/web-vitals/package/src/attribution/onLCP.ts +36 -5
- package/front_end/third_party/web-vitals/package/src/lib/InteractionManager.ts +21 -15
- package/front_end/third_party/web-vitals/package/src/lib/doubleRAF.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/softNavs.ts +4 -1
- package/front_end/third_party/web-vitals/package/src/types/lcp.ts +16 -1
- package/front_end/third_party/web-vitals/rebuild.sh +3 -3
- package/front_end/ui/comments/CommentAnchorResolver.ts +26 -6
- package/front_end/ui/comments/CommentOverlayManager.ts +9 -1
- package/front_end/ui/comments/commentsOverlay.css +6 -5
- package/front_end/ui/components/adorners/Adorner.ts +1 -1
- package/front_end/ui/components/adorners/adorner.css +6 -6
- package/front_end/ui/components/buttons/Button.docs.ts +1 -1
- package/front_end/ui/components/buttons/FloatingButton.ts +1 -1
- package/front_end/ui/components/buttons/button.css +30 -9
- package/front_end/ui/components/buttons/floatingButton.css +2 -2
- package/front_end/ui/components/buttons/textButton.css +12 -12
- package/front_end/ui/components/dialogs/Dialog.ts +1 -1
- package/front_end/ui/components/dialogs/dialog.css +1 -1
- package/front_end/ui/components/diff_view/diffView.css +3 -3
- package/front_end/ui/components/expandable_list/expandableList.css +9 -9
- package/front_end/ui/components/highlighting/HighlightElement.ts +1 -1
- package/front_end/ui/components/highlighting/HighlightManager.ts +4 -0
- package/front_end/ui/components/icon_button/iconButton.css +2 -2
- package/front_end/ui/components/input/checkbox.css +8 -8
- package/front_end/ui/components/input/textInput.css +3 -3
- package/front_end/ui/components/issue_counter/issueLinkIcon.css +2 -2
- package/front_end/ui/components/linkifier/linkifierImpl.css +1 -1
- package/front_end/ui/components/markdown_view/MarkdownImagesMap.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +1 -1
- package/front_end/ui/components/markdown_view/codeBlock.css +2 -2
- package/front_end/ui/components/markdown_view/markdownView.css +7 -7
- package/front_end/ui/components/menus/menuGroup.css +2 -2
- package/front_end/ui/components/menus/menuItem.css +2 -2
- package/front_end/ui/components/menus/selectMenu.css +2 -2
- package/front_end/ui/components/menus/selectMenuButton.css +4 -4
- package/front_end/ui/components/panel_feedback/panelFeedback.css +15 -15
- package/front_end/ui/components/panel_feedback/previewToggle.css +2 -2
- package/front_end/ui/components/panel_introduction_steps/panelIntroductionSteps.css +7 -7
- package/front_end/ui/components/report_view/ReportView.docs.ts +1 -1
- package/front_end/ui/components/report_view/report.css +3 -3
- package/front_end/ui/components/report_view/reportSectionDivider.css +1 -1
- package/front_end/ui/components/report_view/reportValue.css +1 -1
- package/front_end/ui/components/request_link_icon/requestLinkIcon.css +2 -2
- package/front_end/ui/components/settings/settingCheckbox.css +6 -6
- package/front_end/ui/components/snackbars/Snackbars.docs.ts +1 -1
- package/front_end/ui/components/spinners/Spinner.ts +1 -1
- package/front_end/ui/components/spinners/Spinners.docs.ts +1 -1
- package/front_end/ui/components/suggestion_input/SuggestionInput.ts +1 -2
- package/front_end/ui/components/switch/Switch.docs.ts +1 -1
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +10 -8
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +2 -1
- package/front_end/ui/components/text_editor/ExecutionPositionHighlighter.ts +2 -2
- package/front_end/ui/components/text_editor/TextEditor.ts +22 -1
- package/front_end/ui/components/text_editor/config.ts +125 -100
- package/front_end/ui/components/text_editor/cursor_tooltip.ts +1 -1
- package/front_end/ui/components/text_editor/theme.ts +1 -1
- package/front_end/ui/components/tooltips/Tooltip.docs.ts +1 -1
- package/front_end/ui/components/tooltips/Tooltip.ts +1 -1
- package/front_end/ui/components/tree_outline/TreeOutlineUtils.ts +4 -1
- package/front_end/ui/kit/cards/Card.ts +1 -1
- package/front_end/ui/kit/icons/Icon.ts +1 -1
- package/front_end/ui/kit/icons/icon.css +4 -4
- package/front_end/ui/kit/link/Link.docs.ts +1 -1
- package/front_end/ui/kit/link/Link.ts +1 -1
- package/front_end/ui/kit/link/link.css +1 -1
- package/front_end/ui/legacy/ActionRegistration.ts +23 -23
- package/front_end/ui/legacy/ContextMenu.docs.ts +1 -1
- package/front_end/ui/legacy/Dialog.ts +11 -3
- package/front_end/ui/legacy/DockController.ts +3 -3
- package/front_end/ui/legacy/EmptyWidget.ts +13 -34
- package/front_end/ui/legacy/FilterBar.ts +10 -5
- package/front_end/ui/legacy/Infobar.ts +2 -2
- package/front_end/ui/legacy/InspectorDrawerView.ts +6 -6
- package/front_end/ui/legacy/InspectorView.ts +19 -26
- package/front_end/ui/legacy/ListWidget.ts +7 -7
- package/front_end/ui/legacy/PlusButton.ts +1 -3
- package/front_end/ui/legacy/RadioButton.docs.ts +1 -1
- package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +6 -6
- package/front_end/ui/legacy/SearchableView.ts +16 -16
- package/front_end/ui/legacy/SelectMenu.docs.ts +1 -1
- package/front_end/ui/legacy/Slider.docs.ts +1 -1
- package/front_end/ui/legacy/SoftContextMenu.ts +8 -8
- package/front_end/ui/legacy/SoftDropDown.ts +1 -1
- package/front_end/ui/legacy/SplitWidget.ts +5 -1
- package/front_end/ui/legacy/SuggestBox.ts +2 -2
- package/front_end/ui/legacy/TabbedPane.ts +15 -11
- package/front_end/ui/legacy/TargetCrashedScreen.ts +2 -2
- package/front_end/ui/legacy/Toolbar.ts +5 -5
- package/front_end/ui/legacy/Treeoutline.ts +1 -1
- package/front_end/ui/legacy/UIUtils.ts +80 -20
- package/front_end/ui/legacy/ViewManager.ts +1 -1
- package/front_end/ui/legacy/ViewRegistration.ts +7 -7
- package/front_end/ui/legacy/Widget.ts +5 -5
- package/front_end/ui/legacy/checkboxTextLabel.css +3 -3
- package/front_end/ui/legacy/components/color_picker/ColorFormatSpec.ts +16 -0
- package/front_end/ui/legacy/components/color_picker/FormatPickerContextMenu.ts +1 -0
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +6 -1
- package/front_end/ui/legacy/components/color_picker/spectrum.css +90 -90
- package/front_end/ui/legacy/components/cookie_table/cookiesTable.css +1 -1
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +26 -28
- package/front_end/ui/legacy/components/data_grid/ShowMoreDataGridNode.ts +3 -7
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +6 -2
- package/front_end/ui/legacy/components/inline_editor/BezierEditor.ts +6 -1
- package/front_end/ui/legacy/components/inline_editor/CSSShadowEditor.ts +6 -2
- package/front_end/ui/legacy/components/inline_editor/bezierEditor.css +13 -13
- package/front_end/ui/legacy/components/inline_editor/colorSwatch.css +7 -7
- package/front_end/ui/legacy/components/inline_editor/cssAngleEditor.css +5 -5
- package/front_end/ui/legacy/components/inline_editor/cssShadowEditor.css +18 -18
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +104 -86
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +8 -6
- package/front_end/ui/legacy/components/object_ui/objectPopover.css +4 -4
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +8 -6
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +28 -11
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +6 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +6 -2
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +8 -8
- package/front_end/ui/legacy/components/perf_ui/chartViewport.css +4 -4
- package/front_end/ui/legacy/components/perf_ui/filmStripView.css +6 -6
- package/front_end/ui/legacy/components/perf_ui/flameChart.css +7 -7
- package/front_end/ui/legacy/components/perf_ui/overviewGrid.css +11 -11
- package/front_end/ui/legacy/components/perf_ui/pieChart.css +6 -6
- package/front_end/ui/legacy/components/perf_ui/timelineGrid.css +5 -5
- package/front_end/ui/legacy/components/quick_open/FilteredListWidget.ts +8 -3
- package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +6 -1
- package/front_end/ui/legacy/components/quick_open/filteredListWidget.css +3 -3
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +7 -2
- package/front_end/ui/legacy/components/source_frame/imageView.css +1 -1
- package/front_end/ui/legacy/components/source_frame/jsonView.css +1 -1
- package/front_end/ui/legacy/components/source_frame/resourceSourceFrame.css +1 -1
- package/front_end/ui/legacy/components/source_frame/xmlTree.css +3 -3
- package/front_end/ui/legacy/components/utils/imagePreview.css +1 -1
- package/front_end/ui/legacy/components/utils/jsUtils.css +10 -10
- package/front_end/ui/legacy/dropTarget.css +2 -2
- package/front_end/ui/legacy/emptyWidget.css +6 -0
- package/front_end/ui/legacy/filter.css +19 -19
- package/front_end/ui/legacy/infobar.css +2 -2
- package/front_end/ui/legacy/inspectorCommon.css +67 -67
- package/front_end/ui/legacy/inspectorDrawerTabbedPane.css +1 -1
- package/front_end/ui/legacy/listWidget.css +5 -5
- package/front_end/ui/legacy/progressIndicator.css +4 -4
- package/front_end/ui/legacy/reportView.css +7 -7
- package/front_end/ui/legacy/searchableView.css +5 -5
- package/front_end/ui/legacy/smallBubble.css +3 -3
- package/front_end/ui/legacy/softContextMenu.css +4 -4
- package/front_end/ui/legacy/softDropDownButton.css +1 -1
- package/front_end/ui/legacy/splitWidget.css +9 -31
- package/front_end/ui/legacy/suggestBox.css +4 -4
- package/front_end/ui/legacy/tabbedPane.css +17 -17
- package/front_end/ui/legacy/textPrompt.css +2 -2
- package/front_end/ui/legacy/toolbar.css +4 -4
- package/front_end/ui/legacy/treeoutline.css +14 -14
- package/front_end/ui/legacy/viewContainers.css +6 -6
- package/front_end/ui/settings/ConsoleSettings.ts +34 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +12 -0
- package/inspector_overlay/common.ts +12 -12
- package/inspector_overlay/css_grid_label_helpers.ts +16 -17
- package/inspector_overlay/drag_resize_handler.ts +2 -2
- package/inspector_overlay/highlight_common.ts +11 -13
- package/inspector_overlay/highlight_container_query.ts +2 -2
- package/inspector_overlay/highlight_flex_common.ts +6 -7
- package/inspector_overlay/highlight_grid_common.ts +3 -3
- package/inspector_overlay/highlight_isolated_element.ts +12 -3
- package/inspector_overlay/highlight_scroll_snap.ts +2 -2
- package/inspector_overlay/loadCSS.rollup.js +0 -1
- package/inspector_overlay/testing/InspectorOverlayHelpers.ts +13 -13
- package/inspector_overlay/tool_green_dev_anchors.ts +3 -3
- package/inspector_overlay/tool_highlight.ts +9 -9
- package/inspector_overlay/tool_paused.ts +4 -4
- package/inspector_overlay/tool_persistent.ts +11 -11
- package/inspector_overlay/tool_screenshot.ts +7 -7
- package/inspector_overlay/tool_source_order.ts +4 -4
- package/inspector_overlay/tool_viewport_size.ts +3 -3
- package/inspector_overlay/tool_window_controls.ts +4 -4
- package/mcp/mcp.ts +1 -0
- package/package.json +3 -3
- package/front_end/generated/protocol-tsconfig.json +0 -10
- package/front_end/panels/js_timeline/DIR_METADATA +0 -3
- package/front_end/panels/js_timeline/js_timeline-meta.ts +0 -193
- package/front_end/panels/js_timeline/js_timeline.ts +0 -1
- /package/front_end/entrypoints/{formatter_worker/FormatterActions.ts → formatter_actions/formatter_actions.ts} +0 -0
|
@@ -553,8 +553,13 @@ const enum FetchStyle {
|
|
|
553
553
|
NODE_JS = 1,
|
|
554
554
|
}
|
|
555
555
|
|
|
556
|
-
|
|
557
|
-
|
|
556
|
+
const NetworkLogViewBase: Common.ObjectWrapper.EventMixin<EventTypes, typeof UI.Widget.VBox> =
|
|
557
|
+
Common.ObjectWrapper.eventMixin(
|
|
558
|
+
UI.Widget.VBox,
|
|
559
|
+
);
|
|
560
|
+
|
|
561
|
+
export class NetworkLogView extends NetworkLogViewBase implements
|
|
562
|
+
SDK.TargetManager.SDKModelObserver<SDK.NetworkManager.NetworkManager>, NetworkLogViewInterface {
|
|
558
563
|
private readonly networkInvertFilterSetting: Common.Settings.Setting<boolean>;
|
|
559
564
|
private readonly networkHideDataURLSetting: Common.Settings.Setting<boolean>;
|
|
560
565
|
private readonly networkHideChromeExtensions: Common.Settings.Setting<boolean>;
|
|
@@ -1146,7 +1151,7 @@ export class NetworkLogView extends Common.ObjectWrapper.eventMixin<EventTypes,
|
|
|
1146
1151
|
jslogContext: actionName,
|
|
1147
1152
|
variant: Buttons.Button.Variant.TONAL,
|
|
1148
1153
|
});
|
|
1149
|
-
this.recordingHint.
|
|
1154
|
+
this.recordingHint.element.appendChild(button);
|
|
1150
1155
|
}
|
|
1151
1156
|
|
|
1152
1157
|
this.recordingHint.show(this.element);
|
|
@@ -417,10 +417,9 @@ export class NetworkPanel extends UI.Panel.Panel implements
|
|
|
417
417
|
return this.throttlingSelect;
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
private
|
|
421
|
-
|
|
422
|
-
const
|
|
423
|
-
const endTime = Math.min(this.calculator.maximumBoundary(), event.data.endTime / 1000);
|
|
420
|
+
private updateNetworkLogWindow(startTimeMs: number, endTimeMs: number): void {
|
|
421
|
+
const startTime = Math.max(this.calculator.minimumBoundary(), startTimeMs / 1000);
|
|
422
|
+
const endTime = Math.min(this.calculator.maximumBoundary(), endTimeMs / 1000);
|
|
424
423
|
if (startTime === this.calculator.minimumBoundary() && endTime === this.calculator.maximumBoundary()) {
|
|
425
424
|
// Reset the filters for NetworkLogView when the window is reset
|
|
426
425
|
// to its boundaries. This clears the filters and allows the users
|
|
@@ -432,6 +431,11 @@ export class NetworkPanel extends UI.Panel.Panel implements
|
|
|
432
431
|
}
|
|
433
432
|
}
|
|
434
433
|
|
|
434
|
+
private onWindowChanged(
|
|
435
|
+
event: Common.EventTarget.EventTargetEvent<PerfUI.TimelineOverviewPane.OverviewPaneWindowChangedEvent>): void {
|
|
436
|
+
this.updateNetworkLogWindow(event.data.startTime, event.data.endTime);
|
|
437
|
+
}
|
|
438
|
+
|
|
435
439
|
private async searchToggleClick(): Promise<void> {
|
|
436
440
|
const action = UI.ActionRegistry.ActionRegistry.instance().getAction('network.search');
|
|
437
441
|
await action.execute();
|
|
@@ -831,6 +835,7 @@ export class NetworkPanel extends UI.Panel.Panel implements
|
|
|
831
835
|
private onFilmFrameSelected(event: Common.EventTarget.EventTargetEvent<number>): void {
|
|
832
836
|
const timestamp = event.data;
|
|
833
837
|
this.overviewPane.setWindowTimes(Trace.Types.Timing.Milli(0), Trace.Types.Timing.Milli(timestamp));
|
|
838
|
+
this.updateNetworkLogWindow(0, timestamp);
|
|
834
839
|
}
|
|
835
840
|
|
|
836
841
|
private onFilmFrameEnter(event: Common.EventTarget.EventTargetEvent<number>): void {
|
|
@@ -26,42 +26,42 @@ const {widget} = UI.Widget;
|
|
|
26
26
|
|
|
27
27
|
const UIStrings = {
|
|
28
28
|
/**
|
|
29
|
-
* @description Text to enable blocking of network requests
|
|
29
|
+
* @description Text to enable blocking and throttling of network requests
|
|
30
30
|
*/
|
|
31
31
|
enableBlockingAndThrottling: 'Enable blocking and throttling',
|
|
32
32
|
/**
|
|
33
|
-
* @description Tooltip text for add button in request
|
|
33
|
+
* @description Tooltip text for add button in request conditions tool of the Network panel.
|
|
34
34
|
*/
|
|
35
35
|
addRule: 'Add rule',
|
|
36
36
|
/**
|
|
37
|
-
* @description Accessible label for the button to add request blocking patterns in the
|
|
37
|
+
* @description Accessible label for the button to add request blocking patterns in the request conditions tool.
|
|
38
38
|
*/
|
|
39
39
|
addPatternLabel: 'Add network request throttling or blocking pattern',
|
|
40
40
|
/**
|
|
41
|
-
* @description Text that shows in the
|
|
41
|
+
* @description Text that shows in the request conditions panel if no pattern has yet been added.
|
|
42
42
|
*/
|
|
43
43
|
noPattern: 'Nothing throttled or blocked',
|
|
44
44
|
/**
|
|
45
|
-
* @description Text that shows in the
|
|
45
|
+
* @description Text that shows in the request conditions panel if no pattern has yet been added.
|
|
46
46
|
* @example {Learn more} PH1
|
|
47
47
|
*/
|
|
48
48
|
noThrottlingOrBlockingPattern:
|
|
49
49
|
`To throttle or block a network request, add a rule here manually or via the Network panel’s context menu. {PH1}`,
|
|
50
50
|
/**
|
|
51
|
-
* @description Text in request
|
|
51
|
+
* @description Text in request conditions tool of the Network panel.
|
|
52
52
|
* @example {4} PH1
|
|
53
53
|
*/
|
|
54
54
|
dAffected: '{PH1} affected',
|
|
55
55
|
/**
|
|
56
|
-
* @description Tooltip text for pattern input in request
|
|
56
|
+
* @description Tooltip text for pattern input in request conditions tool of the Network panel.
|
|
57
57
|
*/
|
|
58
58
|
textEditPattern: 'Text pattern to block or throttle matching requests; use URL Pattern syntax.',
|
|
59
59
|
/**
|
|
60
|
-
* @description Error text for empty list widget input in Request
|
|
60
|
+
* @description Error text for empty list widget input in Request Conditions tool
|
|
61
61
|
*/
|
|
62
62
|
patternInputCannotBeEmpty: 'Pattern input cannot be empty.',
|
|
63
63
|
/**
|
|
64
|
-
* @description Error text for duplicate list widget input in Request
|
|
64
|
+
* @description Error text for duplicate list widget input in Request Conditions tool
|
|
65
65
|
*/
|
|
66
66
|
patternAlreadyExists: 'Pattern already exists.',
|
|
67
67
|
/**
|
|
@@ -116,8 +116,8 @@ const UIStrings = {
|
|
|
116
116
|
const str_ = i18n.i18n.registerUIStrings('panels/network/RequestConditionsDrawer.ts', UIStrings);
|
|
117
117
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
118
118
|
|
|
119
|
-
const
|
|
120
|
-
'https://developer.chrome.com/docs/devtools/
|
|
119
|
+
const REQUEST_CONDITIONS_EXPLANATION_URL =
|
|
120
|
+
'https://developer.chrome.com/docs/devtools/request-conditions' as Platform.DevToolsPath.UrlString;
|
|
121
121
|
|
|
122
122
|
const {bindToAction} = UI.UIUtils;
|
|
123
123
|
|
|
@@ -443,7 +443,7 @@ export class AffectedCountWidget extends UI.Widget.Widget {
|
|
|
443
443
|
|
|
444
444
|
function learnMore(): LitTemplate {
|
|
445
445
|
return html`<devtools-link
|
|
446
|
-
href=${
|
|
446
|
+
href=${REQUEST_CONDITIONS_EXPLANATION_URL}
|
|
447
447
|
tabindex=0
|
|
448
448
|
class=devtools-link
|
|
449
449
|
.jslogContext=${'learn-more'}>
|
|
@@ -108,7 +108,7 @@ const UIStrings = {
|
|
|
108
108
|
const str_ = i18n.i18n.registerUIStrings('panels/network/RequestPayloadView.ts', UIStrings);
|
|
109
109
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
110
110
|
|
|
111
|
-
interface ViewInput {
|
|
111
|
+
export interface ViewInput {
|
|
112
112
|
decodeQueryParameters: boolean;
|
|
113
113
|
setDecodeQueryParameters(value: boolean): void;
|
|
114
114
|
decodeFormParameters: boolean;
|
|
@@ -125,13 +125,16 @@ interface ViewInput {
|
|
|
125
125
|
formParameters: SDK.NetworkRequest.NameValue[]|undefined;
|
|
126
126
|
queryString: string|null;
|
|
127
127
|
queryParameters: SDK.NetworkRequest.NameValue[]|null;
|
|
128
|
+
objectTree: ObjectUI.ObjectPropertiesSection.ObjectTree|null;
|
|
129
|
+
onPayloadContextMenu(contextMenu: UI.ContextMenu.ContextMenu): void;
|
|
130
|
+
onPayloadToggle(expanded: boolean): void;
|
|
128
131
|
|
|
129
132
|
/** Raw binary content data for the request body (when base64-encoded by backend). */
|
|
130
133
|
binaryPayloadContentData: TextUtils.ContentData.ContentData|null;
|
|
131
134
|
requestUrl: Platform.DevToolsPath.UrlString;
|
|
132
135
|
}
|
|
133
136
|
|
|
134
|
-
type View = (input: ViewInput, output: object, target: HTMLElement) => void;
|
|
137
|
+
export type View = (input: ViewInput, output: object, target: HTMLElement) => void;
|
|
135
138
|
export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
136
139
|
const createViewSourceToggle = (viewSource: boolean, callback: (value: boolean) => void): LitTemplate =>
|
|
137
140
|
html`<devtools-button
|
|
@@ -182,30 +185,22 @@ export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
|
182
185
|
// clang-format on
|
|
183
186
|
});
|
|
184
187
|
|
|
185
|
-
const
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
}
|
|
192
|
-
return undefined;
|
|
193
|
-
})();
|
|
188
|
+
const createPayload = (objectTree: ObjectUI.ObjectPropertiesSection.ObjectTree): LitTemplate => {
|
|
189
|
+
const onPayloadContextMenu = (event: Event): void => {
|
|
190
|
+
event.consume(true);
|
|
191
|
+
const contextMenu = new UI.ContextMenu.ContextMenu(event);
|
|
192
|
+
input.onPayloadContextMenu(contextMenu);
|
|
193
|
+
void contextMenu.show();
|
|
194
|
+
};
|
|
194
195
|
|
|
195
|
-
const createPayload = (parsedFormData: unknown): LitTemplate => {
|
|
196
|
-
if (!parsedFormData) {
|
|
197
|
-
return nothing;
|
|
198
|
-
}
|
|
199
|
-
const object = new SDK.RemoteObject.LocalJSONObject(parsedFormData);
|
|
200
|
-
const objectTree = new ObjectUI.ObjectPropertiesSection.ObjectTree(object, {
|
|
201
|
-
readOnly: true,
|
|
202
|
-
propertiesMode: ObjectUI.ObjectPropertiesSection.ObjectPropertiesMode.OWN_AND_INTERNAL_AND_INHERITED,
|
|
203
|
-
});
|
|
204
|
-
objectTree.expanded = true;
|
|
205
196
|
return html`
|
|
206
|
-
<li role=treeitem class="source-code object-properties-section-root-element object-properties-section"
|
|
207
|
-
|
|
208
|
-
|
|
197
|
+
<li role=treeitem class="source-code object-properties-section-root-element object-properties-section"
|
|
198
|
+
toggle-on-click
|
|
199
|
+
?open=${objectTree.expanded}
|
|
200
|
+
@expand=${(e: UI.TreeOutline.TreeViewElement.ExpandEvent) => input.onPayloadToggle(e.detail.expanded)}
|
|
201
|
+
@contextmenu=${onPayloadContextMenu}>
|
|
202
|
+
${objectTree.object.description}
|
|
203
|
+
${objectTree.object.hasChildren ? ObjectUI.ObjectPropertiesSection.renderObjectTree(objectTree) : nothing}
|
|
209
204
|
</li>
|
|
210
205
|
`;
|
|
211
206
|
};
|
|
@@ -327,8 +322,8 @@ export const DEFAULT_VIEW: View = (input, output, target) => {
|
|
|
327
322
|
<div class="selection fill"></div>${i18nString(UIStrings.requestPayload)}${
|
|
328
323
|
createViewSourceToggle(input.viewJSONPayloadSource, input.setViewJSONPayloadSource)}
|
|
329
324
|
<ul role=group>
|
|
330
|
-
${ifExpanded(!
|
|
331
|
-
|
|
325
|
+
${ifExpanded(!input.objectTree || input.viewJSONPayloadSource ? createSourceText(input.formData ?? '')
|
|
326
|
+
: createPayload(input.objectTree))}
|
|
332
327
|
</ul>
|
|
333
328
|
</li>
|
|
334
329
|
</ul>
|
|
@@ -362,6 +357,7 @@ export class RequestPayloadView extends UI.Widget.VBox {
|
|
|
362
357
|
#decodeFormParameters = true;
|
|
363
358
|
#formData?: string;
|
|
364
359
|
#formParameters?: SDK.NetworkRequest.NameValue[];
|
|
360
|
+
#objectTree: ObjectUI.ObjectPropertiesSection.ObjectTree|null = null;
|
|
365
361
|
#binaryPayloadContentData: TextUtils.ContentData.ContentData|null = null;
|
|
366
362
|
#view: View;
|
|
367
363
|
#viewJSONPayloadSource = false;
|
|
@@ -468,6 +464,38 @@ export class RequestPayloadView extends UI.Widget.VBox {
|
|
|
468
464
|
Host.userMetrics.actionTaken(Host.UserMetrics.Action.NetworkPanelCopyValue);
|
|
469
465
|
Host.InspectorFrontendHost.InspectorFrontendHostInstance.copyText(value);
|
|
470
466
|
},
|
|
467
|
+
objectTree: this.#objectTree,
|
|
468
|
+
onPayloadContextMenu: (contextMenu: UI.ContextMenu.ContextMenu): void => {
|
|
469
|
+
if (!this.#objectTree) {
|
|
470
|
+
return;
|
|
471
|
+
}
|
|
472
|
+
const objectTree = this.#objectTree;
|
|
473
|
+
ObjectUI.ObjectPropertiesSection.populateObjectTreeContextMenu(
|
|
474
|
+
contextMenu,
|
|
475
|
+
objectTree,
|
|
476
|
+
async () => {
|
|
477
|
+
await objectTree.expandRecursively(ObjectUI.ObjectPropertiesSection.EXPANDABLE_MAX_DEPTH);
|
|
478
|
+
this.requestUpdate();
|
|
479
|
+
},
|
|
480
|
+
() => {
|
|
481
|
+
objectTree.collapseRecursively();
|
|
482
|
+
this.requestUpdate();
|
|
483
|
+
},
|
|
484
|
+
() => {
|
|
485
|
+
objectTree.sortPropertiesAlphabetically = !objectTree.sortPropertiesAlphabetically;
|
|
486
|
+
this.requestUpdate();
|
|
487
|
+
},
|
|
488
|
+
() => {
|
|
489
|
+
objectTree.includeNullOrUndefinedValues = !objectTree.includeNullOrUndefinedValues;
|
|
490
|
+
this.requestUpdate();
|
|
491
|
+
},
|
|
492
|
+
);
|
|
493
|
+
},
|
|
494
|
+
onPayloadToggle: (expanded: boolean): void => {
|
|
495
|
+
if (this.#objectTree) {
|
|
496
|
+
this.#objectTree.expanded = expanded;
|
|
497
|
+
}
|
|
498
|
+
},
|
|
471
499
|
binaryPayloadContentData: this.#binaryPayloadContentData,
|
|
472
500
|
requestUrl: this.request?.url() ?? Platform.DevToolsPath.EmptyUrlString,
|
|
473
501
|
};
|
|
@@ -484,6 +512,30 @@ export class RequestPayloadView extends UI.Widget.VBox {
|
|
|
484
512
|
this.#formParameters = await this.request?.formParameters() ?? undefined;
|
|
485
513
|
}
|
|
486
514
|
|
|
515
|
+
if (this.#objectTree) {
|
|
516
|
+
this.#objectTree.removeEventListener(ObjectUI.ObjectPropertiesSection.ObjectTreeNodeBase.Events.CHILDREN_CHANGED,
|
|
517
|
+
this.requestUpdate, this);
|
|
518
|
+
this.#objectTree.removeEventListener(ObjectUI.ObjectPropertiesSection.ObjectTreeNodeBase.Events.EXPANDED_CHANGED,
|
|
519
|
+
this.requestUpdate, this);
|
|
520
|
+
this.#objectTree = null;
|
|
521
|
+
}
|
|
522
|
+
if (this.#formData && !this.#formParameters) {
|
|
523
|
+
try {
|
|
524
|
+
const parsedFormData = JSON.parse(this.#formData);
|
|
525
|
+
const object = new SDK.RemoteObject.LocalJSONObject(parsedFormData);
|
|
526
|
+
this.#objectTree = new ObjectUI.ObjectPropertiesSection.ObjectTree(object, {
|
|
527
|
+
readOnly: true,
|
|
528
|
+
propertiesMode: ObjectUI.ObjectPropertiesSection.ObjectPropertiesMode.OWN_AND_INTERNAL_AND_INHERITED,
|
|
529
|
+
});
|
|
530
|
+
this.#objectTree.expanded = true;
|
|
531
|
+
this.#objectTree.addEventListener(ObjectUI.ObjectPropertiesSection.ObjectTreeNodeBase.Events.CHILDREN_CHANGED,
|
|
532
|
+
this.requestUpdate, this);
|
|
533
|
+
this.#objectTree.addEventListener(ObjectUI.ObjectPropertiesSection.ObjectTreeNodeBase.Events.EXPANDED_CHANGED,
|
|
534
|
+
this.requestUpdate, this);
|
|
535
|
+
} catch {
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
|
|
487
539
|
// Fetch raw binary content data for the request body when the backend
|
|
488
540
|
// returns base64-encoded data. This enables the binary viewer (hex,
|
|
489
541
|
// base64, utf-8) in the Payload tab for compressed/binary bodies.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
@scope to (devtools-widget > *) {
|
|
8
8
|
.panel.network devtools-toolbar.binary-view-toolbar {
|
|
9
|
-
border-top:
|
|
9
|
+
border-top: var(--sys-size-1) solid var(--sys-color-divider);
|
|
10
10
|
border-bottom: 0;
|
|
11
11
|
padding-left: 5px;
|
|
12
12
|
flex: none;
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
min-width: 0.5em;
|
|
17
17
|
background: transparent;
|
|
18
18
|
border: none;
|
|
19
|
-
border-radius:
|
|
19
|
+
border-radius: var(--sys-shape-corner-extra-small);
|
|
20
20
|
outline: none;
|
|
21
21
|
display: inline-block;
|
|
22
22
|
font-family: var(--monospace-font-family);
|
|
23
23
|
font-size: var(--monospace-font-size);
|
|
24
24
|
|
|
25
25
|
&:hover {
|
|
26
|
-
border:
|
|
26
|
+
border: var(--sys-size-1) solid var(--sys-color-neutral-outline);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&:focus {
|
|
30
|
-
border:
|
|
30
|
+
border: var(--sys-size-1) solid var(--sys-color-state-focus-ring);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
.row {
|
|
12
12
|
display: flex;
|
|
13
13
|
line-height: 18px;
|
|
14
|
-
padding-left:
|
|
14
|
+
padding-left: var(--sys-size-5);
|
|
15
15
|
gap: var(--sys-size-6);
|
|
16
16
|
user-select: text;
|
|
17
17
|
margin: var(--sys-size-3) 0;
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
font: var(--sys-typescale-body5-medium);
|
|
26
26
|
color: var(--sys-color-on-surface-subtle);
|
|
27
27
|
width: 30%;
|
|
28
|
-
min-width:
|
|
29
|
-
max-width:
|
|
28
|
+
min-width: var(--sys-size-23);
|
|
29
|
+
max-width: var(--sys-size-28);
|
|
30
30
|
flex-shrink: 0;
|
|
31
31
|
text-transform: capitalize;
|
|
32
32
|
overflow-wrap: break-word;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
.header-value {
|
|
56
56
|
display: flex;
|
|
57
57
|
overflow-wrap: anywhere;
|
|
58
|
-
margin-inline-end:
|
|
58
|
+
margin-inline-end: var(--sys-size-7);
|
|
59
59
|
font-family: var(--monospace-font-family);
|
|
60
60
|
font-size: var(--monospace-font-size);
|
|
61
61
|
}
|
|
@@ -73,25 +73,25 @@
|
|
|
73
73
|
background-color: var(--sys-color-error);
|
|
74
74
|
color: var(--sys-color-on-error);
|
|
75
75
|
border-radius: 100vh;
|
|
76
|
-
padding-left:
|
|
77
|
-
padding-right:
|
|
76
|
+
padding-left: var(--sys-size-4);
|
|
77
|
+
padding-right: var(--sys-size-4);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.call-to-action {
|
|
81
81
|
background-color: var(--sys-color-neutral-container);
|
|
82
|
-
padding:
|
|
82
|
+
padding: var(--sys-size-5);
|
|
83
83
|
border-radius: 5px;
|
|
84
|
-
margin:
|
|
84
|
+
margin: var(--sys-size-3);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.call-to-action-body {
|
|
88
88
|
display: flex;
|
|
89
89
|
gap: var(--sys-size-4);
|
|
90
|
-
padding:
|
|
90
|
+
padding: var(--sys-size-4) 0;
|
|
91
91
|
margin-left: var(--sys-size-1);
|
|
92
|
-
border-left:
|
|
92
|
+
border-left: var(--sys-size-2) solid var(--issue-color-yellow);
|
|
93
93
|
padding-left: 11px;
|
|
94
|
-
line-height:
|
|
94
|
+
line-height: var(--sys-typescale-body3-line-height);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.call-to-action .explanation {
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
color: var(--sys-color-primary);
|
|
112
112
|
text-decoration: underline;
|
|
113
113
|
cursor: pointer;
|
|
114
|
-
outline-offset:
|
|
114
|
+
outline-offset: var(--sys-size-2);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.explanation .link {
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.row-flex-icon {
|
|
126
|
-
margin:
|
|
126
|
+
margin: var(--sys-size-2) 5px 0;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.header-value code {
|
|
@@ -172,7 +172,7 @@ devtools-link .inline-icon {
|
|
|
172
172
|
opacity: 0%;
|
|
173
173
|
visibility: hidden;
|
|
174
174
|
transition: opacity 200ms;
|
|
175
|
-
padding-left:
|
|
175
|
+
padding-left: var(--sys-size-2);
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
.row.header-overridden:focus-within .inline-button,
|
|
@@ -13,24 +13,24 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
devtools-header-section-row:first-of-type {
|
|
16
|
-
margin-top:
|
|
16
|
+
margin-top: var(--sys-size-2);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.call-to-action {
|
|
20
20
|
background-color: var(--sys-color-neutral-container);
|
|
21
|
-
padding:
|
|
21
|
+
padding: var(--sys-size-5);
|
|
22
22
|
border-radius: 5px;
|
|
23
|
-
margin:
|
|
23
|
+
margin: var(--sys-size-3);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.call-to-action-body {
|
|
27
27
|
display: flex;
|
|
28
28
|
gap: var(--sys-size-4);
|
|
29
|
-
padding:
|
|
29
|
+
padding: var(--sys-size-4) 0;
|
|
30
30
|
margin-left: var(--sys-size-1);
|
|
31
|
-
border-left:
|
|
31
|
+
border-left: var(--sys-size-2) solid var(--issue-color-yellow);
|
|
32
32
|
padding-left: 11px;
|
|
33
|
-
line-height:
|
|
33
|
+
line-height: var(--sys-size-9);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.call-to-action .explanation {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
color: var(--sys-color-primary);
|
|
51
51
|
text-decoration: underline;
|
|
52
52
|
cursor: pointer;
|
|
53
|
-
outline-offset:
|
|
53
|
+
outline-offset: var(--sys-size-2);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.explanation .link {
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
.header {
|
|
8
8
|
background-color: var(--sys-color-surface1);
|
|
9
|
-
border-bottom:
|
|
10
|
-
border-top:
|
|
9
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
10
|
+
border-top: var(--sys-size-1) solid var(--sys-color-divider);
|
|
11
11
|
line-height: 25px;
|
|
12
12
|
padding: 0 5px;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.header::marker {
|
|
16
|
-
font-size:
|
|
16
|
+
font-size: var(--sys-typescale-body5-size);
|
|
17
17
|
line-height: 1;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
background-color: var(--sys-color-state-header-hover);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
+
.header:focus-visible {
|
|
25
|
+
outline: var(--sys-size-2) solid var(--sys-color-state-focus-ring);
|
|
26
|
+
outline-offset: calc(-1 * var(--sys-size-2));
|
|
27
|
+
}
|
|
28
|
+
|
|
24
29
|
details[open] .header-count {
|
|
25
30
|
display: none;
|
|
26
31
|
}
|
|
@@ -40,7 +45,7 @@ details summary input {
|
|
|
40
45
|
.row {
|
|
41
46
|
display: flex;
|
|
42
47
|
line-height: 18px;
|
|
43
|
-
padding-left:
|
|
48
|
+
padding-left: var(--sys-size-5);
|
|
44
49
|
gap: var(--sys-size-6);
|
|
45
50
|
user-select: text;
|
|
46
51
|
margin: var(--sys-size-3) 0;
|
|
@@ -62,8 +67,8 @@ div.raw-headers-row {
|
|
|
62
67
|
color: var(--sys-color-on-surface-subtle);
|
|
63
68
|
font: var(--sys-typescale-body5-medium);
|
|
64
69
|
width: 30%;
|
|
65
|
-
min-width:
|
|
66
|
-
max-width:
|
|
70
|
+
min-width: var(--sys-size-23);
|
|
71
|
+
max-width: var(--sys-size-28);
|
|
67
72
|
flex-shrink: 0;
|
|
68
73
|
text-transform: capitalize;
|
|
69
74
|
}
|
|
@@ -72,7 +77,7 @@ div.raw-headers-row {
|
|
|
72
77
|
word-break: break-all;
|
|
73
78
|
display: flex;
|
|
74
79
|
align-items: center;
|
|
75
|
-
gap:
|
|
80
|
+
gap: var(--sys-size-2);
|
|
76
81
|
font: var(--sys-typescale-body4-regular);
|
|
77
82
|
}
|
|
78
83
|
|
|
@@ -89,11 +94,11 @@ div.raw-headers-row {
|
|
|
89
94
|
.yellow-circle::before {
|
|
90
95
|
content: '';
|
|
91
96
|
display: inline-block;
|
|
92
|
-
width:
|
|
93
|
-
height:
|
|
94
|
-
border-radius:
|
|
97
|
+
width: var(--sys-size-6);
|
|
98
|
+
height: var(--sys-size-6);
|
|
99
|
+
border-radius: var(--sys-size-4);
|
|
95
100
|
vertical-align: text-top;
|
|
96
|
-
margin-right:
|
|
101
|
+
margin-right: var(--sys-size-2);
|
|
97
102
|
}
|
|
98
103
|
|
|
99
104
|
.green-circle::before {
|
|
@@ -124,7 +129,7 @@ div.raw-headers-row {
|
|
|
124
129
|
color: var(--sys-color-primary);
|
|
125
130
|
text-decoration: underline;
|
|
126
131
|
cursor: pointer;
|
|
127
|
-
outline-offset:
|
|
132
|
+
outline-offset: var(--sys-size-2);
|
|
128
133
|
}
|
|
129
134
|
|
|
130
135
|
.inline-icon {
|
|
@@ -134,7 +139,7 @@ div.raw-headers-row {
|
|
|
134
139
|
.header-grid-container {
|
|
135
140
|
display: inline-grid;
|
|
136
141
|
grid-template-columns: 156px 50px 1fr;
|
|
137
|
-
gap:
|
|
142
|
+
gap: var(--sys-size-3);
|
|
138
143
|
/* Make this fit into the same line as the summary marker */
|
|
139
144
|
width: calc(100% - 15px);
|
|
140
145
|
}
|
|
@@ -159,10 +164,10 @@ devtools-link .inline-icon {
|
|
|
159
164
|
.purple.dot::before {
|
|
160
165
|
background-color: var(--sys-color-purple-bright);
|
|
161
166
|
content: var(--image-file-empty);
|
|
162
|
-
width:
|
|
163
|
-
height:
|
|
164
|
-
border-radius:
|
|
165
|
-
outline:
|
|
167
|
+
width: var(--sys-size-4);
|
|
168
|
+
height: var(--sys-size-4);
|
|
169
|
+
border-radius: var(--sys-shape-corner-full);
|
|
170
|
+
outline: var(--sys-size-1) solid var(--icon-gap-toolbar);
|
|
166
171
|
left: 9px;
|
|
167
172
|
position: absolute;
|
|
168
173
|
top: 11px;
|
|
@@ -177,5 +182,5 @@ summary label {
|
|
|
177
182
|
}
|
|
178
183
|
|
|
179
184
|
summary devtools-checkbox {
|
|
180
|
-
margin-top:
|
|
185
|
+
margin-top: var(--sys-size-1);
|
|
181
186
|
}
|
|
@@ -69,15 +69,15 @@ const UIStrings = {
|
|
|
69
69
|
/**
|
|
70
70
|
* @description Title of a setting under the Network category.
|
|
71
71
|
*/
|
|
72
|
-
|
|
72
|
+
requestBlockingAndThrottling: 'Request blocking and throttling',
|
|
73
73
|
/**
|
|
74
74
|
* @description Title of a setting under the Network category that can be invoked through the Command Menu.
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
enableRequestBlockingAndThrottling: 'Enable request blocking and throttling',
|
|
77
77
|
/**
|
|
78
78
|
* @description Title of a setting under the Network category that can be invoked through the Command Menu.
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
disableRequestBlockingAndThrottling: 'Disable request blocking and throttling',
|
|
81
81
|
/**
|
|
82
82
|
* @description Command for showing the 'Network' tool
|
|
83
83
|
*/
|
|
@@ -87,7 +87,7 @@ const UIStrings = {
|
|
|
87
87
|
*/
|
|
88
88
|
network: 'Network',
|
|
89
89
|
/**
|
|
90
|
-
* @description Command for showing the '
|
|
90
|
+
* @description Command for showing the 'Request conditions' tool
|
|
91
91
|
*/
|
|
92
92
|
showRequestConditions: 'Show request conditions',
|
|
93
93
|
/**
|
|
@@ -179,11 +179,11 @@ const UIStrings = {
|
|
|
179
179
|
*/
|
|
180
180
|
clear: 'Clear network log',
|
|
181
181
|
/**
|
|
182
|
-
* @description Title of an action in the
|
|
182
|
+
* @description Title of an action in the Request conditions panel to add a new URL pattern to the blocklist.
|
|
183
183
|
*/
|
|
184
184
|
addNetworkRequestBlockingOrThrottlingPattern: 'Add network request blocking or throttling pattern',
|
|
185
185
|
/**
|
|
186
|
-
* @description Title of an action in the
|
|
186
|
+
* @description Title of an action in the Request conditions panel to clear all URL patterns.
|
|
187
187
|
*/
|
|
188
188
|
removeAllNetworkRequestBlockingOrThrottlingPatterns: 'Remove all network request blocking or throttling patterns',
|
|
189
189
|
/**
|
|
@@ -493,15 +493,15 @@ Common.Settings.registerSettingExtension({
|
|
|
493
493
|
|
|
494
494
|
SettingsUI.SettingUIRegistration.register(SDK.SDKSettings.requestBlockingEnabledSettingDescriptor, {
|
|
495
495
|
category: Common.Settings.SettingCategory.NETWORK,
|
|
496
|
-
title: i18nLazyString(UIStrings.
|
|
496
|
+
title: i18nLazyString(UIStrings.requestBlockingAndThrottling),
|
|
497
497
|
options: [
|
|
498
498
|
{
|
|
499
499
|
value: true,
|
|
500
|
-
title: i18nLazyString(UIStrings.
|
|
500
|
+
title: i18nLazyString(UIStrings.enableRequestBlockingAndThrottling),
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
503
|
value: false,
|
|
504
|
-
title: i18nLazyString(UIStrings.
|
|
504
|
+
title: i18nLazyString(UIStrings.disableRequestBlockingAndThrottling),
|
|
505
505
|
},
|
|
506
506
|
],
|
|
507
507
|
});
|