chrome-devtools-frontend 1.0.1683520 → 1.0.1689415
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/AUTHORS +1 -0
- 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 +18 -10
- 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 +2 -2
- 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/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 -2
- 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 +11 -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 +3 -3
- package/front_end/core/sdk/DebuggerModel.ts +1 -1
- package/front_end/core/sdk/EmulationModel.ts +5 -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 +6 -0
- package/front_end/core/sdk/Script.ts +2 -1
- package/front_end/core/sdk/SecurityOrigin.ts +48 -0
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +0 -7
- package/front_end/core/sdk/ServiceWorkerManager.ts +75 -17
- package/front_end/core/sdk/StorageBucketsModel.ts +0 -6
- 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/main/MainImpl.ts +2 -1
- package/front_end/entrypoints/main/main-meta.ts +5 -31
- 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/foundation/Universe.ts +7 -0
- package/front_end/generated/ARIAProperties.ts +39 -1
- package/front_end/generated/InspectorBackendCommands.ts +13 -22
- package/front_end/generated/SupportedCSSProperties.ts +60 -119
- package/front_end/generated/protocol-mapping.d.ts +18 -59
- package/front_end/generated/protocol-proxy-api.d.ts +14 -47
- package/front_end/generated/protocol.ts +104 -331
- package/front_end/models/ai_assistance/AiAgent2.ts +25 -11
- package/front_end/models/ai_assistance/AiConversation.ts +23 -14
- package/front_end/models/ai_assistance/AiHistoryStorage.ts +2 -2
- package/front_end/models/ai_assistance/AiUtils.ts +16 -0
- 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 +2 -3
- package/front_end/models/ai_assistance/agents/AiAgent.ts +40 -25
- 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 +13 -11
- package/front_end/models/ai_assistance/agents/StylingAgent.snapshot.txt +2 -2
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +9 -7
- package/front_end/models/ai_assistance/ai_assistance.ts +12 -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 +5 -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 +15 -8
- 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 +18 -5
- 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 +17 -5
- 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 +14 -17
- package/front_end/models/ai_assistance/tools/SelectTraceEventByKey.ts +9 -8
- package/front_end/models/ai_assistance/tools/Tool.ts +36 -13
- 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/DOMIssuesManager.ts +144 -0
- package/front_end/models/issues_manager/ElementAccessibilityIssue.ts +13 -1
- package/front_end/models/issues_manager/GenericIssue.ts +32 -20
- package/front_end/models/issues_manager/IssuesManager.ts +0 -1
- package/front_end/models/issues_manager/StylesheetLoadingIssue.ts +1 -1
- package/front_end/models/issues_manager/issues_manager.ts +2 -0
- package/front_end/models/javascript_metadata/{NativeFunctions.js → NativeFunctions.ts} +29 -9
- 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 +2 -1
- package/front_end/models/trace/insights/Cache.ts +3 -1
- package/front_end/models/trace/insights/CharacterSet.ts +3 -1
- package/front_end/models/trace/insights/DOMSize.ts +3 -1
- package/front_end/models/trace/insights/DocumentLatency.ts +3 -1
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +3 -1
- package/front_end/models/trace/insights/FontDisplay.ts +2 -1
- package/front_end/models/trace/insights/ForcedReflow.ts +2 -1
- package/front_end/models/trace/insights/INPBreakdown.ts +3 -1
- package/front_end/models/trace/insights/ImageDelivery.ts +3 -1
- package/front_end/models/trace/insights/LCPBreakdown.ts +3 -1
- package/front_end/models/trace/insights/LCPDiscovery.ts +3 -1
- package/front_end/models/trace/insights/LegacyJavaScript.ts +3 -1
- package/front_end/models/trace/insights/ModernHTTP.ts +2 -1
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +2 -1
- package/front_end/models/trace/insights/RenderBlocking.ts +5 -4
- package/front_end/models/trace/insights/SlowCSSSelector.ts +3 -1
- package/front_end/models/trace/insights/ThirdParties.ts +5 -3
- package/front_end/models/trace/insights/Viewport.ts +2 -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/AccessibilityAnnouncementRecordingView.ts +686 -2
- 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 +89 -0
- package/front_end/panels/ai_assistance/aiAssistancePanel.css +1 -1
- package/front_end/panels/ai_assistance/ai_assistance.ts +1 -0
- 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/animationTimeline.css +62 -62
- package/front_end/panels/application/ApplicationPanelSidebar.ts +6 -1
- package/front_end/panels/application/BackgroundServiceModel.ts +4 -3
- package/front_end/panels/application/BackgroundServiceView.ts +290 -252
- package/front_end/panels/application/IndexedDBModel.ts +0 -7
- package/front_end/panels/application/WebMCPView.ts +15 -7
- 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/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/RuleSetDetailsView.css +2 -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 +12 -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.css +4 -4
- 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.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 +6 -3
- package/front_end/panels/console/ConsoleView.ts +23 -19
- package/front_end/panels/console/ConsoleViewMessage.ts +7 -2
- package/front_end/panels/console/console-meta.ts +9 -43
- 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/ElementIssueUtils.ts +10 -2
- package/front_end/panels/elements/ElementsPanel.ts +5 -2
- package/front_end/panels/elements/ElementsTreeElement.ts +212 -255
- package/front_end/panels/elements/ElementsTreeOutline.ts +1804 -495
- package/front_end/panels/elements/ShortcutTreeElement.ts +6 -3
- package/front_end/panels/elements/StandaloneStylesContainer.ts +5 -11
- package/front_end/panels/elements/StylePropertiesSection.ts +65 -8
- package/front_end/panels/elements/StylePropertyTreeElement.ts +8 -0
- package/front_end/panels/elements/StylesContainer.ts +1 -0
- package/front_end/panels/elements/StylesSidebarPane.ts +317 -159
- 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 +222 -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.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/Layers3DView.ts +9 -10
- 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/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/throttlingSettingsTab.css +9 -9
- package/front_end/panels/network/NetworkDataGridNode.ts +1 -0
- 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 +18 -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 +35 -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 +3 -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/profiler/heapProfiler.css +15 -15
- package/front_end/panels/profiler/profileLauncherView.css +10 -10
- 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/SecurityPanelSidebar.ts +0 -32
- 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/KeybindsSettingsTab.ts +5 -2
- 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/UISourceCodeFrame.ts +1 -1
- 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/TimelineDetailsView.ts +9 -21
- package/front_end/panels/timeline/TimelineFlameChartView.ts +3 -5
- package/front_end/panels/timeline/TimelineMiniMap.ts +3 -3
- package/front_end/panels/timeline/components/BreadcrumbsUI.ts +2 -6
- package/front_end/panels/timeline/components/CWVMetrics.ts +9 -10
- package/front_end/panels/timeline/components/DetailsView.ts +12 -16
- package/front_end/panels/timeline/components/ExportTraceOptions.ts +13 -13
- package/front_end/panels/timeline/components/FieldSettingsDialog.ts +19 -19
- package/front_end/panels/timeline/components/IgnoreListSetting.ts +7 -9
- package/front_end/panels/timeline/components/InteractionBreakdown.ts +3 -3
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +13 -13
- package/front_end/panels/timeline/components/LiveMetricsView.ts +65 -65
- package/front_end/panels/timeline/components/MetricCard.ts +25 -25
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +22 -22
- package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +9 -9
- package/front_end/panels/timeline/components/OriginMap.ts +7 -7
- package/front_end/panels/timeline/components/RelatedInsightChips.ts +2 -2
- package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +19 -20
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +1 -1
- package/front_end/panels/timeline/components/TimelineSummary.ts +2 -2
- package/front_end/panels/timeline/components/Utils.ts +2 -6
- 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/BaseInsightComponent.ts +6 -9
- package/front_end/panels/timeline/components/insights/Checklist.ts +2 -2
- 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/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 +0 -6
- package/front_end/panels/timeline/timelineDetailsView.css +11 -11
- package/front_end/panels/timeline/timelinePanel.css +20 -20
- package/front_end/panels/timeline/timelineTreeView.css +8 -8
- 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 +109 -4
- package/front_end/ui/comments/CommentOverlayManager.ts +16 -32
- 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/FloatingButton.ts +1 -1
- package/front_end/ui/components/buttons/button.css +9 -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/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/text_editor/TextEditor.ts +3 -1
- package/front_end/ui/components/text_editor/config.ts +16 -4
- package/front_end/ui/kit/icons/icon.css +4 -4
- package/front_end/ui/kit/link/link.css +1 -1
- package/front_end/ui/legacy/ActionRegistration.ts +23 -23
- package/front_end/ui/legacy/Dialog.ts +1 -1
- package/front_end/ui/legacy/DockController.ts +7 -4
- package/front_end/ui/legacy/EmptyWidget.ts +13 -34
- package/front_end/ui/legacy/FilterBar.ts +4 -4
- 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 +22 -27
- package/front_end/ui/legacy/KeyboardShortcut.ts +4 -7
- package/front_end/ui/legacy/ListWidget.ts +7 -7
- package/front_end/ui/legacy/PlusButton.ts +1 -3
- package/front_end/ui/legacy/RemoteDebuggingTerminatedScreen.ts +6 -6
- package/front_end/ui/legacy/SearchableView.ts +18 -17
- package/front_end/ui/legacy/ShortcutRegistry.ts +6 -3
- package/front_end/ui/legacy/SoftContextMenu.ts +8 -8
- package/front_end/ui/legacy/SoftDropDown.ts +1 -1
- package/front_end/ui/legacy/SuggestBox.ts +2 -2
- package/front_end/ui/legacy/TabbedPane.ts +10 -10
- 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 +90 -26
- 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.css +90 -90
- package/front_end/ui/legacy/components/cookie_table/CookiesTable.ts +23 -24
- 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/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 +6 -6
- package/front_end/ui/legacy/components/perf_ui/BrickBreaker.ts +2 -2
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +28 -11
- package/front_end/ui/legacy/components/perf_ui/FilmStripView.ts +6 -6
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +14 -15
- package/front_end/ui/legacy/components/perf_ui/GCActionDelegate.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/NetworkPriorities.ts +5 -5
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +5 -5
- package/front_end/ui/legacy/components/perf_ui/PieChart.ts +1 -1
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +0 -4
- 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/perf_ui-meta.ts +4 -6
- 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.css +3 -3
- package/front_end/ui/legacy/components/source_frame/FontView.ts +2 -2
- package/front_end/ui/legacy/components/source_frame/ImageView.ts +13 -13
- package/front_end/ui/legacy/components/source_frame/JSONView.ts +1 -1
- package/front_end/ui/legacy/components/source_frame/PreviewFactory.ts +2 -2
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +2 -2
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +15 -18
- package/front_end/ui/legacy/components/source_frame/XMLView.ts +1 -1
- 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/source_frame-meta.ts +10 -10
- 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 +66 -0
- package/front_end/ui/settings/MainSettings.ts +47 -0
- package/front_end/ui/settings/settings.ts +2 -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 +2 -2
- 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
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
top: 0;
|
|
38
38
|
width: 100%;
|
|
39
39
|
background-color: var(--app-color-toolbar-background);
|
|
40
|
-
border-bottom:
|
|
40
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
41
41
|
overflow: hidden;
|
|
42
42
|
z-index: 1;
|
|
43
43
|
}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
.scripts-debug-toolbar-drawer > devtools-checkbox {
|
|
60
60
|
display: none;
|
|
61
61
|
padding-left: 3px;
|
|
62
|
-
height:
|
|
62
|
+
height: var(--sys-size-12);
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
.scripts-debug-toolbar-drawer.expanded > devtools-checkbox {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
flex: 0 0 auto;
|
|
18
18
|
min-height: 27px;
|
|
19
19
|
background-color: var(--sys-color-cdt-base-container);
|
|
20
|
-
border-top:
|
|
20
|
+
border-top: var(--sys-size-1) solid var(--sys-color-divider);
|
|
21
21
|
overflow: hidden;
|
|
22
22
|
z-index: 0;
|
|
23
23
|
align-items: flex-end;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
.thread-item {
|
|
8
|
-
padding: 3px
|
|
8
|
+
padding: 3px var(--sys-size-5) 3px var(--sys-size-9);
|
|
9
9
|
position: relative;
|
|
10
10
|
min-height: 18px;
|
|
11
11
|
line-height: 15px;
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.thread-item + .thread-item {
|
|
21
|
-
border-top:
|
|
21
|
+
border-top: var(--sys-size-1) solid var(--sys-color-divider);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.thread-item:hover {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
.selected-thread-icon {
|
|
46
46
|
position: absolute;
|
|
47
47
|
top: 3px;
|
|
48
|
-
left:
|
|
49
|
-
width:
|
|
50
|
-
height:
|
|
48
|
+
left: var(--sys-size-3);
|
|
49
|
+
width: var(--sys-size-8);
|
|
50
|
+
height: var(--sys-size-8);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
@media (forced-colors: active) {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
.watch-expression-title {
|
|
40
40
|
white-space: nowrap;
|
|
41
|
-
line-height:
|
|
41
|
+
line-height: var(--sys-typescale-body3-line-height);
|
|
42
42
|
display: flex;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -53,13 +53,13 @@ li.watch-expression-tree-item > span.tree-element-title {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.watch-expression-object-header .watch-expression-title {
|
|
56
|
-
margin-left:
|
|
56
|
+
margin-left: var(--sys-size-1);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.watch-expression {
|
|
60
60
|
position: relative;
|
|
61
61
|
flex: auto;
|
|
62
|
-
min-height:
|
|
62
|
+
min-height: var(--sys-size-9);
|
|
63
63
|
display: block;
|
|
64
64
|
width: 100%;
|
|
65
65
|
}
|
|
@@ -86,7 +86,7 @@ li.watch-expression-tree-item > span.tree-element-title {
|
|
|
86
86
|
white-space: nowrap;
|
|
87
87
|
display: inline;
|
|
88
88
|
overflow: hidden;
|
|
89
|
-
padding-left:
|
|
89
|
+
padding-left: var(--sys-size-3);
|
|
90
90
|
text-overflow: ellipsis;
|
|
91
91
|
flex-shrink: 1;
|
|
92
92
|
}
|
|
@@ -95,27 +95,27 @@ li.watch-expression-tree-item > span.tree-element-title {
|
|
|
95
95
|
text-overflow: clip;
|
|
96
96
|
overflow: hidden;
|
|
97
97
|
white-space: nowrap;
|
|
98
|
-
padding-left:
|
|
98
|
+
padding-left: var(--sys-size-3);
|
|
99
99
|
min-height: 18px;
|
|
100
100
|
line-height: 18px;
|
|
101
101
|
user-select: text;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.watch-expression-text-prompt-proxy {
|
|
105
|
-
margin:
|
|
105
|
+
margin: var(--sys-size-2) var(--sys-size-6) var(--sys-size-2) calc(-1 * var(--sys-size-3));
|
|
106
106
|
padding-bottom: 3px;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.watch-expression-header {
|
|
110
110
|
flex: auto;
|
|
111
|
-
margin-left: -
|
|
111
|
+
margin-left: calc(-1 * var(--sys-size-8));
|
|
112
112
|
padding-left: 15px;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
li.watch-expression-tree-item {
|
|
116
116
|
container-type: inline-size;
|
|
117
117
|
container-name: watch-expression;
|
|
118
|
-
padding-left:
|
|
118
|
+
padding-left: var(--sys-size-3);
|
|
119
119
|
|
|
120
120
|
--watch-expression-delete-button-background-color: var(--sys-color-cdt-base);
|
|
121
121
|
}
|
|
@@ -86,7 +86,8 @@ export class TimelineDetailsPane extends
|
|
|
86
86
|
private lazyLayersView?: TimelineLayersView|null;
|
|
87
87
|
private preferredTabId?: string;
|
|
88
88
|
private selection?: TimelineSelection|null;
|
|
89
|
-
|
|
89
|
+
#debouncedUpdateContentsFromWindow: (() => void)&
|
|
90
|
+
{cancel: () => void} = Common.Debouncer.debounce(() => this.updateContentsFromWindow(), 100);
|
|
90
91
|
private lazySelectorStatsView: TimelineSelectorStatsView|null;
|
|
91
92
|
#parsedTrace: Trace.TraceModel.ParsedTrace|null = null;
|
|
92
93
|
#eventToRelatedInsightsMap: TimelineComponents.RelatedInsightChips.EventToRelatedInsightsMap|null = null;
|
|
@@ -147,7 +148,6 @@ export class TimelineDetailsPane extends
|
|
|
147
148
|
this.setPreferredTab(Tab.Details);
|
|
148
149
|
|
|
149
150
|
this.rangeDetailViews = new Map();
|
|
150
|
-
this.updateContentsScheduled = false;
|
|
151
151
|
|
|
152
152
|
const bottomUpView = new BottomUpTimelineTreeView();
|
|
153
153
|
this.appendTab(Tab.BottomUp, i18nString(UIStrings.bottomup), bottomUpView);
|
|
@@ -384,13 +384,11 @@ export class TimelineDetailsPane extends
|
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
/**
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
*
|
|
392
|
-
* debounced. The forceImmediateUpdate param configures the debouncing
|
|
393
|
-
* behaviour.
|
|
387
|
+
* Recalculates and renders the timing breakdown for the active details tab.
|
|
388
|
+
* Panning or zooming triggers rapid bounds updates, so we debounce this call
|
|
389
|
+
* using a trailing debounce. This ensures expensive tree recalculations in
|
|
390
|
+
* detailed views (e.g. Call Tree, Bottom-Up) only run once after user
|
|
391
|
+
* interaction finishes, preventing main-thread CPU spikes mid-gesture.
|
|
394
392
|
*/
|
|
395
393
|
private scheduleUpdateContentsFromWindow(forceImmediateUpdate = false): void {
|
|
396
394
|
if (!this.#parsedTrace) {
|
|
@@ -402,17 +400,7 @@ export class TimelineDetailsPane extends
|
|
|
402
400
|
return;
|
|
403
401
|
}
|
|
404
402
|
|
|
405
|
-
|
|
406
|
-
if (!this.updateContentsScheduled) {
|
|
407
|
-
this.updateContentsScheduled = true;
|
|
408
|
-
setTimeout(() => {
|
|
409
|
-
if (!this.updateContentsScheduled) {
|
|
410
|
-
return;
|
|
411
|
-
}
|
|
412
|
-
this.updateContentsScheduled = false;
|
|
413
|
-
this.updateContentsFromWindow();
|
|
414
|
-
}, 100);
|
|
415
|
-
}
|
|
403
|
+
this.#debouncedUpdateContentsFromWindow();
|
|
416
404
|
}
|
|
417
405
|
|
|
418
406
|
private updateContentsFromWindow(): void {
|
|
@@ -468,7 +456,7 @@ export class TimelineDetailsPane extends
|
|
|
468
456
|
|
|
469
457
|
if (selectionIsEvent(selection)) {
|
|
470
458
|
// Cancel any pending debounced range stats update
|
|
471
|
-
this.
|
|
459
|
+
this.#debouncedUpdateContentsFromWindow.cancel();
|
|
472
460
|
|
|
473
461
|
if (Trace.Types.Events.isLegacyTimelineFrame(selection.event)) {
|
|
474
462
|
this.#addLayerTreeForSelectedFrame(selection.event);
|
|
@@ -139,6 +139,8 @@ export class TimelineFlameChartView extends Common.ObjectWrapper.eventMixin<Even
|
|
|
139
139
|
#eventToRelatedInsightsMap: TimelineComponents.RelatedInsightChips.EventToRelatedInsightsMap|null = null;
|
|
140
140
|
#selectedGroupName: string|null = null;
|
|
141
141
|
#onTraceBoundsChangeBound = this.#onTraceBoundsChange.bind(this);
|
|
142
|
+
#debouncedUpdateSearchResults: () => void = Common.Debouncer.debounce(() => this.updateSearchResults(false, false),
|
|
143
|
+
100);
|
|
142
144
|
#gameKeyMatches = 0;
|
|
143
145
|
#gameTimeout = setTimeout(() => ({}), 0);
|
|
144
146
|
|
|
@@ -1146,11 +1148,7 @@ export class TimelineFlameChartView extends Common.ObjectWrapper.eventMixin<Even
|
|
|
1146
1148
|
this.mainFlameChart.setWindowTimes(visibleWindow.min, visibleWindow.max, shouldAnimate);
|
|
1147
1149
|
this.networkDataProvider.setWindowTimes(visibleWindow.min, visibleWindow.max);
|
|
1148
1150
|
this.networkFlameChart.setWindowTimes(visibleWindow.min, visibleWindow.max, shouldAnimate);
|
|
1149
|
-
|
|
1150
|
-
const debouncedUpdate = Common.Debouncer.debounce(() => {
|
|
1151
|
-
this.updateSearchResults(false, false);
|
|
1152
|
-
}, 100);
|
|
1153
|
-
debouncedUpdate();
|
|
1151
|
+
this.#debouncedUpdateSearchResults();
|
|
1154
1152
|
}
|
|
1155
1153
|
|
|
1156
1154
|
getLinkSelectionAnnotation(): Trace.Types.File.EntriesLinkAnnotation|null {
|
|
@@ -108,9 +108,9 @@ export class TimelineMiniMap extends
|
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
const left = (event.data.startTime > 0) ? event.data.startTime : traceBoundsState.milli.
|
|
111
|
+
const left = (event.data.startTime > 0) ? event.data.startTime : traceBoundsState.milli.minimapTraceBounds.min;
|
|
112
112
|
const right =
|
|
113
|
-
Number.isFinite(event.data.endTime) ? event.data.endTime : traceBoundsState.milli.
|
|
113
|
+
Number.isFinite(event.data.endTime) ? event.data.endTime : traceBoundsState.milli.minimapTraceBounds.max;
|
|
114
114
|
|
|
115
115
|
TraceBounds.TraceBounds.BoundsManager.instance().setTimelineVisibleWindow(
|
|
116
116
|
Trace.Helpers.Timing.traceWindowFromMilliSeconds(
|
|
@@ -118,7 +118,7 @@ export class TimelineMiniMap extends
|
|
|
118
118
|
Trace.Types.Timing.Milli(right),
|
|
119
119
|
),
|
|
120
120
|
{
|
|
121
|
-
shouldAnimate:
|
|
121
|
+
shouldAnimate: false,
|
|
122
122
|
},
|
|
123
123
|
);
|
|
124
124
|
}
|
|
@@ -17,17 +17,13 @@ const {render, html} = Lit;
|
|
|
17
17
|
|
|
18
18
|
const UIStrings = {
|
|
19
19
|
/**
|
|
20
|
-
* @description
|
|
21
|
-
* This context menu option activates the breadcrumb that the context menu was opened on.
|
|
20
|
+
* @description Context menu item in the Performance panel to activate the selected breadcrumb.
|
|
22
21
|
*/
|
|
23
22
|
activateBreadcrumb: 'Activate breadcrumb',
|
|
24
23
|
/**
|
|
25
|
-
* @description
|
|
26
|
-
* This context menu option removed all the child breadcrumbs and activates
|
|
27
|
-
* the breadcrumb that the context menu was opened on.
|
|
24
|
+
* @description Context menu item in the Performance panel to remove all child breadcrumbs and activate the selected breadcrumb.
|
|
28
25
|
*/
|
|
29
26
|
removeChildBreadcrumbs: 'Remove child breadcrumbs',
|
|
30
|
-
|
|
31
27
|
} as const;
|
|
32
28
|
|
|
33
29
|
const str_ = i18n.i18n.registerUIStrings('panels/timeline/components/BreadcrumbsUI.ts', UIStrings);
|
|
@@ -20,44 +20,43 @@ const {html} = Lit.StaticHtml;
|
|
|
20
20
|
|
|
21
21
|
const UIStrings = {
|
|
22
22
|
/**
|
|
23
|
-
* @description
|
|
23
|
+
* @description Tooltip and aria label for a metric value indicating its score classification in the Performance panel.
|
|
24
24
|
* @example {INP} PH1
|
|
25
25
|
* @example {1.2s} PH2
|
|
26
26
|
* @example {poor} PH3
|
|
27
27
|
*/
|
|
28
28
|
metricScore: '{PH1}: {PH2} {PH3} score',
|
|
29
29
|
/**
|
|
30
|
-
* @description
|
|
30
|
+
* @description Tooltip and aria label for a metric value indicating that the data is unavailable in the Performance panel.
|
|
31
31
|
* @example {INP} PH1
|
|
32
32
|
*/
|
|
33
33
|
metricScoreUnavailable: '{PH1}: unavailable',
|
|
34
34
|
/**
|
|
35
|
-
* @description Label denoting that metrics were observed in the field
|
|
35
|
+
* @description Label denoting that metrics were observed in the field from real user data (CrUX), and whether the data is from the URL or origin dataset in the Performance panel.
|
|
36
36
|
* @example {URL} PH1
|
|
37
37
|
*/
|
|
38
38
|
fieldScoreLabel: 'Field ({PH1})',
|
|
39
39
|
/**
|
|
40
|
-
* @description Label for an option that selects the
|
|
40
|
+
* @description Label for an option that selects the specific URL in the Performance panel.
|
|
41
41
|
*/
|
|
42
42
|
urlOption: 'URL',
|
|
43
43
|
/**
|
|
44
|
-
* @description Label for an option that selects the
|
|
44
|
+
* @description Label for an option that selects the entire origin in the Performance panel.
|
|
45
45
|
*/
|
|
46
46
|
originOption: 'Origin',
|
|
47
47
|
/**
|
|
48
|
-
* @description
|
|
48
|
+
* @description Tooltip text for the dismiss button that closes a warning popup in the Performance panel.
|
|
49
49
|
*/
|
|
50
50
|
dismissTitle: 'Dismiss',
|
|
51
51
|
/**
|
|
52
|
-
* @description Title shown in a warning dialog when field metrics
|
|
52
|
+
* @description Title shown in a warning dialog when field metrics are worse than locally observed metrics in the Performance panel.
|
|
53
53
|
*/
|
|
54
54
|
fieldMismatchTitle: 'Field & local metrics mismatch',
|
|
55
55
|
/**
|
|
56
|
-
* @description
|
|
57
|
-
* Asks user to use features such as throttling and device emulation.
|
|
56
|
+
* @description Warning notice shown when field metrics are worse than locally observed metrics in the Performance panel.
|
|
58
57
|
*/
|
|
59
58
|
fieldMismatchNotice:
|
|
60
|
-
'
|
|
59
|
+
'Local and field metrics [may not match](https://web.dev/articles/lab-and-field-data-differences) for several reasons. ' +
|
|
61
60
|
'Adjust [throttling settings and device emulation](https://developer.chrome.com/docs/devtools/device-mode) to analyze traces more similar to the average user’s environment.',
|
|
62
61
|
} as const;
|
|
63
62
|
|
|
@@ -18,53 +18,49 @@ import {Link} from '../../../ui/kit/kit.js';
|
|
|
18
18
|
|
|
19
19
|
const UIStrings = {
|
|
20
20
|
/**
|
|
21
|
-
* @description Text in the Performance panel for a forced style and layout calculation of elements
|
|
22
|
-
* in a page. See https://developer.mozilla.org/en-US/docs/Glossary/Reflow
|
|
21
|
+
* @description Text in the Performance panel for a forced style and layout calculation of elements in a page.
|
|
23
22
|
*/
|
|
24
23
|
forcedReflow: 'Forced reflow',
|
|
25
24
|
/**
|
|
26
|
-
* @description
|
|
25
|
+
* @description Warning message indicating that an event is likely a performance bottleneck in the Performance panel.
|
|
27
26
|
* @example {Forced reflow} PH1
|
|
28
27
|
*/
|
|
29
28
|
sIsALikelyPerformanceBottleneck: '{PH1} is a likely performance bottleneck.',
|
|
30
29
|
/**
|
|
31
|
-
* @description
|
|
32
|
-
* idle (inactive), which to longer to execute than a predefined deadline.
|
|
30
|
+
* @description Warning message in the Performance panel for an idle callback function that took longer to execute than its predefined deadline.
|
|
33
31
|
* @example {10ms} PH1
|
|
34
32
|
*/
|
|
35
33
|
idleCallbackExecutionExtended: 'Idle callback execution extended beyond deadline by {PH1}',
|
|
36
34
|
/**
|
|
37
|
-
* @description
|
|
38
|
-
* @example {
|
|
35
|
+
* @description Warning message in the Performance panel describing how long a task took.
|
|
36
|
+
* @example {Task} PH1
|
|
39
37
|
* @example {10ms} PH2
|
|
40
38
|
*/
|
|
41
39
|
sTookS: '{PH1} took {PH2}.',
|
|
42
40
|
/**
|
|
43
|
-
* @description
|
|
44
|
-
* https://developer.mozilla.org/en-US/docs/Glossary/Long_task
|
|
41
|
+
* @description Label in the Performance panel for a task that took a long time.
|
|
45
42
|
*/
|
|
46
43
|
longTask: 'Long task',
|
|
47
44
|
/**
|
|
48
|
-
* @description
|
|
45
|
+
* @description Label in the Performance panel for an interaction that took a long time.
|
|
49
46
|
*/
|
|
50
47
|
longInteractionINP: 'Long interaction',
|
|
51
48
|
/**
|
|
52
|
-
* @description
|
|
53
|
-
* user clicks on a long interaction.
|
|
49
|
+
* @description Warning message in the Performance panel indicating that an interaction caused poor responsiveness.
|
|
54
50
|
* @example {Long interaction} PH1
|
|
55
51
|
*/
|
|
56
|
-
sIsLikelyPoorPageResponsiveness: '{PH1}
|
|
52
|
+
sIsLikelyPoorPageResponsiveness: '{PH1} indicates poor page responsiveness.',
|
|
57
53
|
/**
|
|
58
|
-
* @description
|
|
54
|
+
* @description Label for the WebSocket sub-protocol in the event details view of the Performance panel.
|
|
59
55
|
*/
|
|
60
56
|
websocketProtocol: 'WebSocket protocol',
|
|
61
57
|
/**
|
|
62
|
-
* @description Details text indicating how many bytes were
|
|
58
|
+
* @description Details text indicating how many bytes were transferred in a WebSocket message in the Performance panel.
|
|
63
59
|
* @example {1024} PH1
|
|
64
60
|
*/
|
|
65
61
|
webSocketBytes: '{PH1} byte(s)',
|
|
66
62
|
/**
|
|
67
|
-
* @description Details
|
|
63
|
+
* @description Details label indicating the data length of a WebSocket message in the Performance panel.
|
|
68
64
|
*/
|
|
69
65
|
webSocketDataLength: 'Data length',
|
|
70
66
|
} as const;
|
|
@@ -22,49 +22,49 @@ const {html} = Lit;
|
|
|
22
22
|
|
|
23
23
|
const UIStrings = {
|
|
24
24
|
/**
|
|
25
|
-
* @description
|
|
25
|
+
* @description Dialog title for saving a performance trace in the Performance panel.
|
|
26
26
|
*/
|
|
27
|
-
exportTraceOptionsDialogTitle: 'Save performance trace
|
|
27
|
+
exportTraceOptionsDialogTitle: 'Save performance trace',
|
|
28
28
|
/**
|
|
29
|
-
* @description Tooltip for the
|
|
29
|
+
* @description Tooltip text for the toolbar button that opens the save trace dialog in the Performance panel.
|
|
30
30
|
*/
|
|
31
31
|
showExportTraceOptionsDialogTitle: 'Save trace…',
|
|
32
32
|
/**
|
|
33
|
-
* @description
|
|
33
|
+
* @description Checkbox label to include resource content when saving a trace in the Performance panel.
|
|
34
34
|
*/
|
|
35
35
|
includeResourceContent: 'Include resource content',
|
|
36
36
|
/**
|
|
37
|
-
* @description
|
|
37
|
+
* @description Checkbox label to include script source maps when saving a trace in the Performance panel.
|
|
38
38
|
*/
|
|
39
39
|
includeSourcemap: 'Include script source maps',
|
|
40
40
|
/**
|
|
41
|
-
* @description
|
|
41
|
+
* @description Checkbox label to include annotations when saving a trace in the Performance panel.
|
|
42
42
|
*/
|
|
43
43
|
includeAnnotations: 'Include annotations',
|
|
44
44
|
/**
|
|
45
|
-
* @description
|
|
45
|
+
* @description Checkbox label to compress the saved trace with gzip in the Performance panel.
|
|
46
46
|
*/
|
|
47
47
|
shouldCompress: 'Compress with gzip',
|
|
48
48
|
/**
|
|
49
|
-
* @description
|
|
49
|
+
* @description Link text to documentation explaining trace export options in the Performance panel.
|
|
50
50
|
*/
|
|
51
51
|
explanation: 'Explanation',
|
|
52
52
|
/**
|
|
53
|
-
* @description
|
|
53
|
+
* @description Button label to save the trace in the Performance panel.
|
|
54
54
|
*/
|
|
55
55
|
saveButtonTitle: 'Save',
|
|
56
56
|
/**
|
|
57
|
-
* @description
|
|
57
|
+
* @description Tooltip text explaining the privacy implications of including resource content when saving a trace in the Performance panel.
|
|
58
58
|
*/
|
|
59
59
|
resourceContentPrivacyInfo: 'Includes the full content of all loaded HTML, CSS, and scripts (except extensions).',
|
|
60
60
|
/**
|
|
61
|
-
* @description
|
|
61
|
+
* @description Tooltip text explaining the privacy implications of including script source maps when saving a trace in the Performance panel.
|
|
62
62
|
*/
|
|
63
63
|
sourceMapsContentPrivacyInfo: 'Includes available source maps, which may expose authored code.',
|
|
64
64
|
/**
|
|
65
|
-
* @description
|
|
65
|
+
* @description Accessible label prefix for the information button in the Performance panel.
|
|
66
66
|
*/
|
|
67
|
-
moreInfoLabel: '
|
|
67
|
+
moreInfoLabel: 'More information:',
|
|
68
68
|
} as const;
|
|
69
69
|
|
|
70
70
|
const str_ = i18n.i18n.registerUIStrings('panels/timeline/components/ExportTraceOptions.ts', UIStrings);
|
|
@@ -21,74 +21,74 @@ import {OriginMap} from './OriginMap.js';
|
|
|
21
21
|
|
|
22
22
|
const UIStrings = {
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description Button label that opens a dialog to set up field metrics in the Performance panel.
|
|
25
25
|
*/
|
|
26
26
|
setUp: 'Set up',
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description Button label that opens a dialog to configure field metrics in the Performance panel.
|
|
29
29
|
*/
|
|
30
30
|
configure: 'Configure',
|
|
31
31
|
/**
|
|
32
|
-
* @description
|
|
32
|
+
* @description Button label that enables the collection of field metrics in the Performance panel.
|
|
33
33
|
*/
|
|
34
34
|
ok: 'Ok',
|
|
35
35
|
/**
|
|
36
|
-
* @description
|
|
36
|
+
* @description Button label that opts out of the collection of field metrics in the Performance panel.
|
|
37
37
|
*/
|
|
38
38
|
optOut: 'Opt out',
|
|
39
39
|
/**
|
|
40
|
-
* @description
|
|
40
|
+
* @description Button label that cancels the setup of field metrics collection in the Performance panel.
|
|
41
41
|
*/
|
|
42
42
|
cancel: 'Cancel',
|
|
43
43
|
/**
|
|
44
|
-
* @description
|
|
44
|
+
* @description Checkbox label that controls if a manual URL override is enabled for field metrics in the Performance panel.
|
|
45
45
|
*/
|
|
46
46
|
onlyFetchFieldData: 'Always show field metrics for the below URL',
|
|
47
47
|
/**
|
|
48
|
-
* @description
|
|
48
|
+
* @description Label for a text input that contains the manual override URL for fetching field metrics in the Performance panel.
|
|
49
49
|
*/
|
|
50
50
|
url: 'URL',
|
|
51
51
|
/**
|
|
52
|
-
* @description Warning message explaining that the Chrome UX Report could not find enough real
|
|
52
|
+
* @description Warning message explaining that the Chrome UX Report could not find enough real-world speed data for the page in the Performance panel.
|
|
53
53
|
*/
|
|
54
|
-
doesNotHaveSufficientData: 'The Chrome UX Report
|
|
54
|
+
doesNotHaveSufficientData: 'The Chrome UX Report doesn’t have enough real-world speed data for this page.',
|
|
55
55
|
/**
|
|
56
|
-
* @description Title for a dialog that contains
|
|
56
|
+
* @description Title for a dialog that contains settings related to fetching field metrics in the Performance panel.
|
|
57
57
|
*/
|
|
58
58
|
configureFieldData: 'Configure field metrics fetching',
|
|
59
59
|
/**
|
|
60
|
-
* @description
|
|
60
|
+
* @description Explanation of where field metrics come from and how they can be used in the Performance panel.
|
|
61
61
|
* @example {Chrome UX Report} PH1
|
|
62
62
|
*/
|
|
63
63
|
fetchAggregated:
|
|
64
64
|
'Fetch aggregated field metrics from the {PH1} to help you contextualize local measurements with what real users experience on the site.',
|
|
65
65
|
/**
|
|
66
|
-
* @description Heading for a section that explains what user data needs to be collected to fetch field metrics.
|
|
66
|
+
* @description Heading for a section that explains what user data needs to be collected to fetch field metrics in the Performance panel.
|
|
67
67
|
*/
|
|
68
68
|
privacyDisclosure: 'Privacy disclosure',
|
|
69
69
|
/**
|
|
70
|
-
* @description
|
|
70
|
+
* @description Explanation of what data is sent to Google to fetch field metrics in the Performance panel.
|
|
71
71
|
*/
|
|
72
72
|
whenPerformanceIsShown:
|
|
73
|
-
'When DevTools is open, the URLs you visit will be sent to Google to query field metrics. These requests
|
|
73
|
+
'When DevTools is open, the URLs you visit will be sent to Google to query field metrics. These requests aren’t tied to your Google account.',
|
|
74
74
|
/**
|
|
75
|
-
* @description Header for a section containing advanced settings
|
|
75
|
+
* @description Header for a section containing advanced settings in the Performance panel.
|
|
76
76
|
*/
|
|
77
77
|
advanced: 'Advanced',
|
|
78
78
|
/**
|
|
79
|
-
* @description
|
|
79
|
+
* @description Explanation of how associating a development origin with a production origin works for fetching real user data in the Performance panel.
|
|
80
80
|
*/
|
|
81
81
|
mapDevelopmentOrigins:
|
|
82
82
|
'Set a development origin to automatically get relevant field metrics for its production origin.',
|
|
83
83
|
/**
|
|
84
|
-
* @description
|
|
84
|
+
* @description Button label to add a new editable row to the origin mapping table in the Performance panel.
|
|
85
85
|
*/
|
|
86
86
|
new: 'New',
|
|
87
87
|
/**
|
|
88
|
-
* @description Warning message explaining that an
|
|
88
|
+
* @description Warning message explaining that an entered origin is not a valid origin or URL in the Performance panel.
|
|
89
89
|
* @example {http//malformed.com} PH1
|
|
90
90
|
*/
|
|
91
|
-
invalidOrigin: '"{PH1}"
|
|
91
|
+
invalidOrigin: '"{PH1}" isn’t a valid origin or URL.',
|
|
92
92
|
} as const;
|
|
93
93
|
|
|
94
94
|
const str_ = i18n.i18n.registerUIStrings('panels/timeline/components/FieldSettingsDialog.ts', UIStrings);
|
|
@@ -20,35 +20,33 @@ const {live} = Directives;
|
|
|
20
20
|
|
|
21
21
|
const UIStrings = {
|
|
22
22
|
/**
|
|
23
|
-
* @description
|
|
23
|
+
* @description Tooltip text for the button to open the ignore list settings dialog in the Performance panel.
|
|
24
24
|
*/
|
|
25
25
|
showIgnoreListSettingDialog: 'Show ignore list setting dialog',
|
|
26
26
|
/**
|
|
27
|
-
* @description
|
|
27
|
+
* @description Header title for the ignore list settings dialog in the Performance panel.
|
|
28
28
|
*/
|
|
29
29
|
ignoreList: 'Ignore list',
|
|
30
30
|
/**
|
|
31
|
-
* @description
|
|
31
|
+
* @description Description text in the ignore list settings dialog of the Performance panel.
|
|
32
32
|
*/
|
|
33
33
|
ignoreListDescription: 'Add regular expression rules to remove matching scripts from the flame chart.',
|
|
34
34
|
/**
|
|
35
|
-
* @description
|
|
35
|
+
* @description Label for a pattern rule in the ignore list settings dialog of the Performance panel.
|
|
36
36
|
* @example {ad.*?} regex
|
|
37
37
|
*/
|
|
38
38
|
ignoreScriptsWhoseNamesMatchS: 'Ignore scripts whose names match \'\'{regex}\'\'',
|
|
39
39
|
/**
|
|
40
|
-
* @description
|
|
40
|
+
* @description Accessible label for the button to remove a regular expression rule in the ignore list settings dialog of the Performance panel.
|
|
41
41
|
* @example {ad.*?} regex
|
|
42
42
|
*/
|
|
43
43
|
removeRegex: 'Remove the regex: \'\'{regex}\'\'',
|
|
44
44
|
/**
|
|
45
|
-
* @description
|
|
46
|
-
* field used to add new or edit existing regular expressions that match file names to ignore in the debugger.
|
|
45
|
+
* @description Accessible label for the text input to add a regular expression rule in the ignore list settings dialog of the Performance panel.
|
|
47
46
|
*/
|
|
48
47
|
addNewRegex: 'Add a regular expression rule for the script’s URL',
|
|
49
48
|
/**
|
|
50
|
-
* @description
|
|
51
|
-
* the input field used to enable the new regular expressions that match file names to ignore in the debugger.
|
|
49
|
+
* @description Accessible label for the checkbox to enable a new regular expression rule in the ignore list settings dialog of the Performance panel.
|
|
52
50
|
*/
|
|
53
51
|
ignoreScriptsWhoseNamesMatchNewRegex: 'Ignore scripts whose names match the new regex',
|
|
54
52
|
} as const;
|
|
@@ -13,15 +13,15 @@ const {html} = Lit;
|
|
|
13
13
|
|
|
14
14
|
const UIStrings = {
|
|
15
15
|
/**
|
|
16
|
-
* @description
|
|
16
|
+
* @description Label for the input delay phase of an interaction event in the event details view of the Performance panel.
|
|
17
17
|
*/
|
|
18
18
|
inputDelay: 'Input delay',
|
|
19
19
|
/**
|
|
20
|
-
* @description
|
|
20
|
+
* @description Label for the processing duration phase of an interaction event in the event details view of the Performance panel.
|
|
21
21
|
*/
|
|
22
22
|
processingDuration: 'Processing duration',
|
|
23
23
|
/**
|
|
24
|
-
* @description
|
|
24
|
+
* @description Label for the presentation delay phase of an interaction event in the event details view of the Performance panel.
|
|
25
25
|
*/
|
|
26
26
|
presentationDelay: 'Presentation delay',
|
|
27
27
|
} as const;
|