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
|
@@ -1344,6 +1344,86 @@ function renderSan(sanList: string[], isSanListTruncatable: boolean, isSanListTr
|
|
|
1344
1344
|
// clang-format on
|
|
1345
1345
|
}
|
|
1346
1346
|
|
|
1347
|
+
interface DetailsTableRow {
|
|
1348
|
+
key: string;
|
|
1349
|
+
value: string;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
function renderDetailsTable(rows: DetailsTableRow[]): TemplateResult {
|
|
1353
|
+
// clang-format off
|
|
1354
|
+
return html`
|
|
1355
|
+
<table class="details-table">
|
|
1356
|
+
${rows.map(row => html`
|
|
1357
|
+
<tr class="details-table-row">
|
|
1358
|
+
<td>${row.key}</td>
|
|
1359
|
+
<td>${row.value}</td>
|
|
1360
|
+
</tr>`)}
|
|
1361
|
+
</table>`;
|
|
1362
|
+
// clang-format on
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
function formatKeyExchange(securityDetails: Protocol.Network.SecurityDetails): string|null {
|
|
1366
|
+
// A TLS connection negotiates a cipher suite and, when doing an ephemeral
|
|
1367
|
+
// ECDH key exchange, a "named group". In TLS 1.2, the cipher suite is
|
|
1368
|
+
// named like TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256. The DevTools protocol
|
|
1369
|
+
// tried to decompose this name and calls the "ECDHE_RSA" portion the
|
|
1370
|
+
// "keyExchange", because it determined the rough shape of the key
|
|
1371
|
+
// exchange portion of the handshake. (A keyExchange of "RSA" meant a very
|
|
1372
|
+
// different handshake set.) But ECDHE_RSA was still parameterized by a
|
|
1373
|
+
// named group (e.g. X25519), which the DevTools protocol exposes as
|
|
1374
|
+
// "keyExchangeGroup".
|
|
1375
|
+
//
|
|
1376
|
+
// Then, starting TLS 1.3, the cipher suites are named like
|
|
1377
|
+
// TLS_AES_128_GCM_SHA256. The handshake shape is implicit in the
|
|
1378
|
+
// protocol. keyExchange is empty and we only have keyExchangeGroup.
|
|
1379
|
+
//
|
|
1380
|
+
// "Key exchange group" isn't common terminology and, in TLS 1.3,
|
|
1381
|
+
// something like "X25519" is better labelled as "key exchange" than "key
|
|
1382
|
+
// exchange group" anyway. So combine the two fields when displaying in
|
|
1383
|
+
// the UI.
|
|
1384
|
+
if (securityDetails.keyExchange && securityDetails.keyExchangeGroup) {
|
|
1385
|
+
return securityDetails.keyExchange + ' with ' + securityDetails.keyExchangeGroup;
|
|
1386
|
+
}
|
|
1387
|
+
return securityDetails.keyExchange || securityDetails.keyExchangeGroup || null;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
function buildConnectionDetailsRows(securityDetails: Protocol.Network.SecurityDetails): DetailsTableRow[] {
|
|
1391
|
+
const rows: DetailsTableRow[] = [{key: i18nString(UIStrings.protocol), value: securityDetails.protocol}];
|
|
1392
|
+
|
|
1393
|
+
const keyExchange = formatKeyExchange(securityDetails);
|
|
1394
|
+
if (keyExchange) {
|
|
1395
|
+
rows.push({key: i18nString(UIStrings.keyExchange), value: keyExchange});
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
if (securityDetails.serverSignatureAlgorithm) {
|
|
1399
|
+
// See https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-signaturescheme
|
|
1400
|
+
let sigString = SignatureSchemeStrings.get(securityDetails.serverSignatureAlgorithm);
|
|
1401
|
+
sigString ??= i18nString(UIStrings.unknownField) + ' (' + securityDetails.serverSignatureAlgorithm + ')';
|
|
1402
|
+
rows.push({key: i18nString(UIStrings.serverSignature), value: sigString});
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
rows.push({
|
|
1406
|
+
key: i18nString(UIStrings.cipher),
|
|
1407
|
+
value: securityDetails.cipher + (securityDetails.mac ? ' with ' + securityDetails.mac : ''),
|
|
1408
|
+
});
|
|
1409
|
+
|
|
1410
|
+
if (securityDetails.encryptedClientHello) {
|
|
1411
|
+
rows.push({key: i18nString(UIStrings.encryptedClientHello), value: i18nString(UIStrings.enabled)});
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
return rows;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
function renderConnectionSection(securityDetails: Protocol.Network.SecurityDetails): TemplateResult {
|
|
1418
|
+
const rows = buildConnectionDetailsRows(securityDetails);
|
|
1419
|
+
|
|
1420
|
+
// clang-format off
|
|
1421
|
+
return html`
|
|
1422
|
+
<div class="origin-view-section-title" role="heading" aria-level="2">${i18nString(UIStrings.connection)}</div>
|
|
1423
|
+
${renderDetailsTable(rows)}`;
|
|
1424
|
+
// clang-format on
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1347
1427
|
export class SecurityOriginView extends UI.Widget.VBox {
|
|
1348
1428
|
readonly #origin: Platform.DevToolsPath.UrlString;
|
|
1349
1429
|
readonly #originDisplay: HTMLElement;
|
|
@@ -1377,59 +1457,9 @@ export class SecurityOriginView extends UI.Widget.VBox {
|
|
|
1377
1457
|
UI.ARIAUtils.markAsLink(originNetworkButton);
|
|
1378
1458
|
|
|
1379
1459
|
if (originState.securityDetails) {
|
|
1380
|
-
const connectionSection = this.element.createChild('div', 'origin-view-section');
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
UI.ARIAUtils.markAsHeading(connectionDiv, 2);
|
|
1384
|
-
|
|
1385
|
-
let table: SecurityDetailsTable = new SecurityDetailsTable();
|
|
1386
|
-
connectionSection.appendChild(table.element());
|
|
1387
|
-
table.addRow(i18nString(UIStrings.protocol), originState.securityDetails.protocol);
|
|
1388
|
-
|
|
1389
|
-
// A TLS connection negotiates a cipher suite and, when doing an ephemeral
|
|
1390
|
-
// ECDH key exchange, a "named group". In TLS 1.2, the cipher suite is
|
|
1391
|
-
// named like TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256. The DevTools protocol
|
|
1392
|
-
// tried to decompose this name and calls the "ECDHE_RSA" portion the
|
|
1393
|
-
// "keyExchange", because it determined the rough shape of the key
|
|
1394
|
-
// exchange portion of the handshake. (A keyExchange of "RSA" meant a very
|
|
1395
|
-
// different handshake set.) But ECDHE_RSA was still parameterized by a
|
|
1396
|
-
// named group (e.g. X25519), which the DevTools protocol exposes as
|
|
1397
|
-
// "keyExchangeGroup".
|
|
1398
|
-
//
|
|
1399
|
-
// Then, starting TLS 1.3, the cipher suites are named like
|
|
1400
|
-
// TLS_AES_128_GCM_SHA256. The handshake shape is implicit in the
|
|
1401
|
-
// protocol. keyExchange is empty and we only have keyExchangeGroup.
|
|
1402
|
-
//
|
|
1403
|
-
// "Key exchange group" isn't common terminology and, in TLS 1.3,
|
|
1404
|
-
// something like "X25519" is better labelled as "key exchange" than "key
|
|
1405
|
-
// exchange group" anyway. So combine the two fields when displaying in
|
|
1406
|
-
// the UI.
|
|
1407
|
-
if (originState.securityDetails.keyExchange && originState.securityDetails.keyExchangeGroup) {
|
|
1408
|
-
table.addRow(
|
|
1409
|
-
i18nString(UIStrings.keyExchange),
|
|
1410
|
-
originState.securityDetails.keyExchange + ' with ' + originState.securityDetails.keyExchangeGroup);
|
|
1411
|
-
} else if (originState.securityDetails.keyExchange) {
|
|
1412
|
-
table.addRow(i18nString(UIStrings.keyExchange), originState.securityDetails.keyExchange);
|
|
1413
|
-
} else if (originState.securityDetails.keyExchangeGroup) {
|
|
1414
|
-
table.addRow(i18nString(UIStrings.keyExchange), originState.securityDetails.keyExchangeGroup);
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
|
-
if (originState.securityDetails.serverSignatureAlgorithm) {
|
|
1418
|
-
// See https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-signaturescheme
|
|
1419
|
-
let sigString = SignatureSchemeStrings.get(originState.securityDetails.serverSignatureAlgorithm);
|
|
1420
|
-
sigString ??=
|
|
1421
|
-
i18nString(UIStrings.unknownField) + ' (' + originState.securityDetails.serverSignatureAlgorithm + ')';
|
|
1422
|
-
table.addRow(i18nString(UIStrings.serverSignature), sigString);
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
table.addRow(
|
|
1426
|
-
i18nString(UIStrings.cipher),
|
|
1427
|
-
originState.securityDetails.cipher +
|
|
1428
|
-
(originState.securityDetails.mac ? ' with ' + originState.securityDetails.mac : ''));
|
|
1429
|
-
|
|
1430
|
-
if (originState.securityDetails.encryptedClientHello) {
|
|
1431
|
-
table.addRow(i18nString(UIStrings.encryptedClientHello), i18nString(UIStrings.enabled));
|
|
1432
|
-
}
|
|
1460
|
+
const connectionSection = this.element.createChild('div', 'origin-view-section connection-section');
|
|
1461
|
+
// eslint-disable-next-line @devtools/no-lit-render-outside-of-view
|
|
1462
|
+
render(renderConnectionSection(originState.securityDetails), connectionSection);
|
|
1433
1463
|
|
|
1434
1464
|
// Create the certificate section outside the callback, so that it appears in the right place.
|
|
1435
1465
|
const certificateSection = this.element.createChild('div', 'origin-view-section');
|
|
@@ -1452,7 +1482,7 @@ export class SecurityOriginView extends UI.Widget.VBox {
|
|
|
1452
1482
|
const validFromString = new Date(1000 * originState.securityDetails.validFrom).toUTCString();
|
|
1453
1483
|
const validUntilString = new Date(1000 * originState.securityDetails.validTo).toUTCString();
|
|
1454
1484
|
|
|
1455
|
-
table = new SecurityDetailsTable();
|
|
1485
|
+
const table = new SecurityDetailsTable();
|
|
1456
1486
|
certificateSection.appendChild(table.element());
|
|
1457
1487
|
table.addRow(i18nString(UIStrings.subject), originState.securityDetails.subjectName);
|
|
1458
1488
|
table.addRow(i18n.i18n.lockedString('SAN'), sanDiv);
|
|
@@ -274,38 +274,6 @@ export class SecurityPanelSidebar extends UI.Widget.VBox {
|
|
|
274
274
|
this.requestUpdate();
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
// Used in web tests
|
|
278
|
-
elementsByOrigin(): Map<string, {
|
|
279
|
-
select: (omitFocus?: boolean, selectedByUser?: boolean) => void,
|
|
280
|
-
showElement: () => void,
|
|
281
|
-
origin: () => string,
|
|
282
|
-
securityState: () => Protocol.Security.SecurityState | undefined,
|
|
283
|
-
}> {
|
|
284
|
-
const map = new Map<string, {
|
|
285
|
-
select: (omitFocus?: boolean, selectedByUser?: boolean) => void,
|
|
286
|
-
showElement: () => void,
|
|
287
|
-
origin: () => string,
|
|
288
|
-
securityState: () => Protocol.Security.SecurityState | undefined,
|
|
289
|
-
}>();
|
|
290
|
-
for (const [origin, state] of this.#origins.entries()) {
|
|
291
|
-
const element = {
|
|
292
|
-
select: () => {
|
|
293
|
-
this.#selectedElementId = origin;
|
|
294
|
-
this.#securitySidebarLastItemSetting.set(origin);
|
|
295
|
-
this.requestUpdate();
|
|
296
|
-
this.#onShowOrigin?.(origin);
|
|
297
|
-
},
|
|
298
|
-
showElement: () => {
|
|
299
|
-
this.#onShowOrigin?.(origin);
|
|
300
|
-
},
|
|
301
|
-
origin: () => origin,
|
|
302
|
-
securityState: () => state,
|
|
303
|
-
};
|
|
304
|
-
map.set(origin, element);
|
|
305
|
-
}
|
|
306
|
-
return map;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
277
|
set selectedOrigin(origin: Platform.DevToolsPath.UrlString|null) {
|
|
310
278
|
this.#selectedElementId = origin ?? 'overview';
|
|
311
279
|
this.#securitySidebarLastItemSetting.set(this.#selectedElementId);
|
|
@@ -19,26 +19,26 @@
|
|
|
19
19
|
|
|
20
20
|
.security-summary-section-title {
|
|
21
21
|
font-size: 15px;
|
|
22
|
-
margin:
|
|
22
|
+
margin: var(--sys-size-6) var(--sys-size-8);
|
|
23
23
|
user-select: text;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.lock-spectrum {
|
|
27
|
-
margin:
|
|
27
|
+
margin: var(--sys-size-5) var(--sys-size-8);
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: flex-start;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.security-summary .lock-icon {
|
|
33
33
|
flex: none;
|
|
34
|
-
width:
|
|
35
|
-
height:
|
|
34
|
+
width: var(--sys-size-8);
|
|
35
|
+
height: var(--sys-size-8);
|
|
36
36
|
margin: 0;
|
|
37
37
|
}
|
|
38
38
|
/* Separate the middle icon from the other two. */
|
|
39
39
|
|
|
40
40
|
.security-summary .lock-icon-neutral {
|
|
41
|
-
margin: 0
|
|
41
|
+
margin: 0 var(--sys-size-8);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.security-summary:not(.security-summary-secure) .lock-icon-secure,
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.triangle-pointer-container {
|
|
65
|
-
margin:
|
|
65
|
+
margin: var(--sys-size-5) var(--sys-size-11) 0;
|
|
66
66
|
padding: 0;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -73,13 +73,13 @@
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.triangle-pointer {
|
|
76
|
-
width:
|
|
77
|
-
height:
|
|
78
|
-
margin-bottom: -
|
|
79
|
-
margin-left: -
|
|
76
|
+
width: var(--sys-size-6);
|
|
77
|
+
height: var(--sys-size-6);
|
|
78
|
+
margin-bottom: calc(-1 * var(--sys-size-4));
|
|
79
|
+
margin-left: calc(-1 * var(--sys-size-4));
|
|
80
80
|
transform: rotate(-45deg);
|
|
81
81
|
border-style: solid;
|
|
82
|
-
border-width:
|
|
82
|
+
border-width: var(--sys-size-1) var(--sys-size-1) 0 0;
|
|
83
83
|
background: var(--sys-color-cdt-base-container);
|
|
84
84
|
border-color: var(--sys-color-neutral-outline);
|
|
85
85
|
}
|
|
@@ -89,21 +89,21 @@
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.security-summary-neutral .triangle-pointer-wrapper {
|
|
92
|
-
transform: translateX(
|
|
92
|
+
transform: translateX(var(--sys-size-13));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.security-summary-insecure .triangle-pointer-wrapper {
|
|
96
|
-
transform: translateX(
|
|
96
|
+
transform: translateX(var(--sys-size-18));
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.security-summary-insecure-broken .triangle-pointer-wrapper {
|
|
100
|
-
transform: translateX(
|
|
100
|
+
transform: translateX(var(--sys-size-18));
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.security-summary-text {
|
|
104
|
-
padding:
|
|
104
|
+
padding: var(--sys-size-8) var(--sys-size-11);
|
|
105
105
|
border-style: solid;
|
|
106
|
-
border-width:
|
|
106
|
+
border-width: var(--sys-size-1) 0;
|
|
107
107
|
font-size: 15px;
|
|
108
108
|
background: var(--sys-color-cdt-base-container);
|
|
109
109
|
border-color: var(--sys-color-neutral-outline);
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
.security-explanation-list {
|
|
128
|
-
padding-bottom:
|
|
128
|
+
padding-bottom: var(--sys-size-8);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
.security-explanation-list:empty {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
.security-explanations-main {
|
|
137
137
|
margin-top: -5px;
|
|
138
138
|
background-color: var(--sys-color-cdt-base-container);
|
|
139
|
-
border-bottom:
|
|
139
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.security-explanations-extra {
|
|
@@ -163,25 +163,25 @@
|
|
|
163
163
|
|
|
164
164
|
.security-explanation .security-property {
|
|
165
165
|
flex: none;
|
|
166
|
-
width:
|
|
167
|
-
height:
|
|
168
|
-
margin-right:
|
|
166
|
+
width: var(--sys-size-8);
|
|
167
|
+
height: var(--sys-size-8);
|
|
168
|
+
margin-right: var(--sys-size-8);
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.security-explanation-title {
|
|
172
172
|
color: var(--sys-color-token-subtle);
|
|
173
|
-
margin-top:
|
|
174
|
-
margin-bottom:
|
|
173
|
+
margin-top: var(--sys-size-1);
|
|
174
|
+
margin-bottom: var(--sys-size-5);
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
.security-mixed-content {
|
|
178
|
-
margin-top:
|
|
178
|
+
margin-top: var(--sys-size-5);
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
.security-explanation-recommendations {
|
|
182
|
-
padding-inline-start:
|
|
182
|
+
padding-inline-start: var(--sys-size-8);
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
.security-explanation-recommendations > li {
|
|
186
|
-
margin-bottom:
|
|
186
|
+
margin-bottom: var(--sys-size-3);
|
|
187
187
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
.title-section {
|
|
8
|
-
padding:
|
|
9
|
-
border-bottom:
|
|
8
|
+
padding: var(--sys-size-8) 0 var(--sys-size-11);
|
|
9
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.title-section-header {
|
|
13
|
-
padding-left:
|
|
13
|
+
padding-left: var(--sys-size-8);
|
|
14
14
|
padding-bottom: 10px;
|
|
15
|
-
font-size:
|
|
15
|
+
font-size: var(--sys-typescale-body2-size);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.security-origin-view {
|
|
@@ -22,30 +22,30 @@
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.security-origin-view .origin-view-section {
|
|
25
|
-
border-bottom:
|
|
26
|
-
padding:
|
|
27
|
-
font-size:
|
|
25
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
26
|
+
padding: var(--sys-size-6) var(--sys-size-4) var(--sys-size-6) var(--sys-size-11);
|
|
27
|
+
font-size: var(--sys-typescale-body4-size);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.origin-view-notes {
|
|
31
|
-
margin-top:
|
|
31
|
+
margin-top: var(--sys-size-2);
|
|
32
32
|
color: var(--sys-color-token-subtle);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.origin-view-section-notes {
|
|
36
|
-
margin-top:
|
|
36
|
+
margin-top: var(--sys-size-4);
|
|
37
37
|
color: var(--sys-color-token-subtle);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.security-origin-view .origin-display {
|
|
41
|
-
font-size:
|
|
41
|
+
font-size: var(--sys-typescale-body4-size);
|
|
42
42
|
padding-left: var(--sys-size-8);
|
|
43
43
|
display: flex;
|
|
44
44
|
align-items: center;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.title-section > .view-network-button {
|
|
48
|
-
padding:
|
|
48
|
+
padding: var(--sys-size-4) 0 0 var(--sys-size-8);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.security-origin-view .origin-display devtools-icon {
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.security-origin-view .origin-view-section-title {
|
|
58
|
-
margin-top:
|
|
59
|
-
margin-bottom:
|
|
58
|
+
margin-top: var(--sys-size-3);
|
|
59
|
+
margin-bottom: var(--sys-size-3);
|
|
60
60
|
font-weight: bold;
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
.security-origin-view .details-table-row {
|
|
68
68
|
white-space: nowrap;
|
|
69
69
|
overflow: hidden;
|
|
70
|
-
line-height:
|
|
70
|
+
line-height: var(--sys-size-10);
|
|
71
71
|
vertical-align: top;
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.security-origin-view .sct-details .details-table .details-table-row:last-child td:last-child {
|
|
90
|
-
border-bottom:
|
|
90
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
91
91
|
padding-bottom: 10px;
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -15,11 +15,11 @@ devtools-list.locations-list,
|
|
|
15
15
|
margin-top: var(--sys-size-3);
|
|
16
16
|
flex: auto;
|
|
17
17
|
display: flex;
|
|
18
|
-
border:
|
|
18
|
+
border: var(--sys-size-1) solid var(--sys-color-divider);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.locations-list-item {
|
|
22
|
-
padding: 3px
|
|
22
|
+
padding: 3px var(--sys-size-4);
|
|
23
23
|
height: 30px;
|
|
24
24
|
display: flex;
|
|
25
25
|
align-items: center;
|
|
@@ -49,10 +49,10 @@ devtools-list.locations-list,
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.locations-list-separator {
|
|
52
|
-
flex: 0 0
|
|
52
|
+
flex: 0 0 var(--sys-size-1);
|
|
53
53
|
background-color: var(--sys-color-divider);
|
|
54
54
|
height: 30px;
|
|
55
|
-
margin: 0
|
|
55
|
+
margin: 0 var(--sys-size-3);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.locations-list-separator-invisible {
|
|
@@ -63,7 +63,7 @@ devtools-list.locations-list,
|
|
|
63
63
|
.locations-edit-row {
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: row;
|
|
66
|
-
margin:
|
|
66
|
+
margin: var(--sys-size-4) 5px;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
.locations-edit-row input {
|
|
@@ -72,7 +72,7 @@ devtools-list.locations-list,
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.locations-input-container {
|
|
75
|
-
padding:
|
|
75
|
+
padding: var(--sys-size-1);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.settings-card-container-wrapper {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
.sensors-view {
|
|
8
|
-
padding:
|
|
8
|
+
padding: var(--sys-size-6);
|
|
9
9
|
display: block;
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.sensors-group-title {
|
|
63
|
-
width:
|
|
64
|
-
line-height:
|
|
63
|
+
width: var(--sys-size-19);
|
|
64
|
+
line-height: var(--sys-typescale-body1-line-height);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.sensors-group {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
|
|
111
111
|
perspective: 700px;
|
|
112
112
|
perspective-origin: 50% 50%;
|
|
113
|
-
width:
|
|
113
|
+
width: var(--sys-size-23);
|
|
114
114
|
height: 150px;
|
|
115
115
|
background: linear-gradient(var(--override-gradient-color-1) 0%, var(--override-gradient-color-1) 64%, var(--override-gradient-color-2) 64%, var(--override-gradient-color-1) 100%);
|
|
116
116
|
transition: 0.2s ease opacity, 0.2s ease filter;
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
.orientation-back {
|
|
164
164
|
width: 62px;
|
|
165
165
|
height: 122px;
|
|
166
|
-
border-radius:
|
|
166
|
+
border-radius: var(--sys-shape-corner-small);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.orientation-front {
|
|
@@ -177,21 +177,21 @@
|
|
|
177
177
|
|
|
178
178
|
.orientation-left,
|
|
179
179
|
.orientation-right {
|
|
180
|
-
width:
|
|
180
|
+
width: var(--sys-size-5);
|
|
181
181
|
height: 106px;
|
|
182
|
-
top:
|
|
182
|
+
top: var(--sys-size-5);
|
|
183
183
|
background-position: center center;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.orientation-left {
|
|
187
|
-
left: -
|
|
187
|
+
left: calc(-1 * var(--sys-size-5));
|
|
188
188
|
transform-origin: right center;
|
|
189
189
|
transform: rotateY(-90deg);
|
|
190
190
|
background-image: var(--image-file-accelerometer-left);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
.orientation-right {
|
|
194
|
-
right: -
|
|
194
|
+
right: calc(-1 * var(--sys-size-5));
|
|
195
195
|
transform-origin: left center;
|
|
196
196
|
transform: rotateY(90deg);
|
|
197
197
|
background-image: var(--image-file-accelerometer-right);
|
|
@@ -202,8 +202,8 @@
|
|
|
202
202
|
.orientation-right::before,
|
|
203
203
|
.orientation-right::after {
|
|
204
204
|
content: "";
|
|
205
|
-
width:
|
|
206
|
-
height:
|
|
205
|
+
width: var(--sys-size-5);
|
|
206
|
+
height: var(--sys-size-4);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.orientation-left::before,
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
|
|
219
219
|
.orientation-left::before,
|
|
220
220
|
.orientation-right::before {
|
|
221
|
-
top: -
|
|
221
|
+
top: calc(-1 * var(--sys-size-4));
|
|
222
222
|
transform-origin: center bottom;
|
|
223
223
|
transform: rotateX(26deg);
|
|
224
224
|
background-position: center top;
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
|
|
227
227
|
.orientation-left::after,
|
|
228
228
|
.orientation-right::after {
|
|
229
|
-
bottom: -
|
|
229
|
+
bottom: calc(-1 * var(--sys-size-4));
|
|
230
230
|
transform-origin: center top;
|
|
231
231
|
transform: rotateX(-25deg);
|
|
232
232
|
background-position: center bottom;
|
|
@@ -235,20 +235,20 @@
|
|
|
235
235
|
.orientation-top,
|
|
236
236
|
.orientation-bottom {
|
|
237
237
|
width: 50px;
|
|
238
|
-
height:
|
|
239
|
-
left:
|
|
238
|
+
height: var(--sys-size-5);
|
|
239
|
+
left: var(--sys-size-5);
|
|
240
240
|
background-position: center center;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
.orientation-top {
|
|
244
|
-
top: -
|
|
244
|
+
top: calc(-1 * var(--sys-size-5));
|
|
245
245
|
transform-origin: center bottom;
|
|
246
246
|
transform: rotateX(90deg);
|
|
247
247
|
background-image: var(--image-file-accelerometer-top);
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.orientation-bottom {
|
|
251
|
-
bottom: -
|
|
251
|
+
bottom: calc(-1 * var(--sys-size-5));
|
|
252
252
|
transform-origin: center top;
|
|
253
253
|
transform: rotateX(-90deg);
|
|
254
254
|
background-image: var(--image-file-accelerometer-bottom);
|
|
@@ -259,8 +259,8 @@
|
|
|
259
259
|
.orientation-bottom::before,
|
|
260
260
|
.orientation-bottom::after {
|
|
261
261
|
content: "";
|
|
262
|
-
width:
|
|
263
|
-
height:
|
|
262
|
+
width: var(--sys-size-5);
|
|
263
|
+
height: var(--sys-size-5);
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
.orientation-top::before,
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
|
|
276
276
|
.orientation-top::before,
|
|
277
277
|
.orientation-bottom::before {
|
|
278
|
-
left: -
|
|
278
|
+
left: calc(-1 * var(--sys-size-4));
|
|
279
279
|
transform-origin: right center;
|
|
280
280
|
transform: rotateY(-26deg);
|
|
281
281
|
background-position: left center;
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
|
|
284
284
|
.orientation-top::after,
|
|
285
285
|
.orientation-bottom::after {
|
|
286
|
-
right: -
|
|
286
|
+
right: calc(-1 * var(--sys-size-4));
|
|
287
287
|
transform-origin: left center;
|
|
288
288
|
transform: rotateY(26deg);
|
|
289
289
|
background-position: right center;
|
|
@@ -294,7 +294,7 @@
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
.orientation-reset-button {
|
|
297
|
-
min-width:
|
|
297
|
+
min-width: var(--sys-size-19);
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
fieldset.device-orientation-override-section {
|
|
@@ -303,15 +303,15 @@ fieldset.device-orientation-override-section {
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
.panel-section-separator {
|
|
306
|
-
height:
|
|
307
|
-
margin-bottom:
|
|
308
|
-
margin-left: -
|
|
309
|
-
margin-right: -
|
|
306
|
+
height: var(--sys-size-1);
|
|
307
|
+
margin-bottom: var(--sys-size-9);
|
|
308
|
+
margin-left: calc(-1 * var(--sys-size-6));
|
|
309
|
+
margin-right: calc(-1 * var(--sys-size-6));
|
|
310
310
|
background: var(--sys-color-divider);
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
button.text-button {
|
|
314
|
-
margin:
|
|
314
|
+
margin: var(--sys-size-3) 0 0 10px;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
@media (forced-colors: active) {
|
|
@@ -321,5 +321,5 @@ button.text-button {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
.chrome-select-label {
|
|
324
|
-
margin-bottom:
|
|
324
|
+
margin-bottom: var(--sys-size-8);
|
|
325
325
|
}
|
|
@@ -11,6 +11,7 @@ import * as Buttons from '../../ui/components/buttons/buttons.js';
|
|
|
11
11
|
import {createIcon, type Icon, Link} from '../../ui/kit/kit.js';
|
|
12
12
|
import * as SettingsUI from '../../ui/legacy/components/settings_ui/settings_ui.js';
|
|
13
13
|
import * as UI from '../../ui/legacy/legacy.js';
|
|
14
|
+
import * as Settings from '../../ui/settings/settings.js';
|
|
14
15
|
import * as VisualLogging from '../../ui/visual_logging/visual_logging.js';
|
|
15
16
|
|
|
16
17
|
import keybindsSettingsTabStyles from './keybindsSettingsTab.css.js';
|
|
@@ -121,8 +122,10 @@ export class KeybindsSettingsTab extends UI.Widget.VBox implements UI.ListContro
|
|
|
121
122
|
this.contentElement.createChild('div', 'settings-card-container-wrapper').createChild('div');
|
|
122
123
|
settingsContent.classList.add('settings-card-container');
|
|
123
124
|
|
|
124
|
-
const keybindsSetSetting =
|
|
125
|
-
|
|
125
|
+
const keybindsSetSetting =
|
|
126
|
+
Common.Settings.Settings.instance().resolve(Settings.MainSettings.activeKeybindSetSettingDescriptor);
|
|
127
|
+
const userShortcutsSetting =
|
|
128
|
+
Common.Settings.Settings.instance().resolve(Settings.MainSettings.userShortcutsSettingDescriptor);
|
|
126
129
|
keybindsSetSetting.addChangeListener(this.update, this);
|
|
127
130
|
const keybindsSetSelect = SettingsUI.SettingsUI.createControlForSetting(
|
|
128
131
|
keybindsSetSetting, i18nString(UIStrings.matchShortcutsFromPreset));
|