chrome-devtools-frontend 1.0.1664496 → 1.0.1665921
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/devtools-testing-guidance/SKILL.md +48 -0
- package/.agents/skills/devtools-ux-writing-refactor/SKILL.md +3 -3
- package/.agents/skills/repro-flaky-tests/SKILL.md +2 -2
- package/.agents/skills/ui-eng-vision-local-lit-renderer/SKILL.md +7 -1
- package/.agents/skills/ui-eng-vision-widget-promoter/SKILL.md +2 -0
- package/.agents/skills/version-control/SKILL.md +4 -3
- package/docs/ui_engineering.md +89 -0
- package/eslint.config.mjs +9 -2
- package/front_end/Images/rollup.config.mjs +1 -1
- package/front_end/Tests.js +15 -16
- package/front_end/core/common/Gzip.ts +2 -2
- package/front_end/core/common/Settings.ts +4 -20
- package/front_end/core/common/Srcset.ts +1 -1
- package/front_end/core/common/VersionController.ts +1 -1
- package/front_end/core/host/AidaClient.ts +19 -4
- package/front_end/core/host/AidaGcaTranslation.ts +2 -2
- package/front_end/core/host/GcaClient.ts +2 -2
- package/front_end/core/host/GdpClient.ts +3 -3
- package/front_end/core/host/InspectorFrontendHostStub.ts +1 -1
- package/front_end/core/host/ResourceLoader.ts +15 -15
- package/front_end/core/protocol_client/DevToolsCDPConnection.ts +2 -2
- package/front_end/core/protocol_client/InspectorBackend.ts +1 -1
- package/front_end/core/root/Runtime.ts +0 -1
- package/front_end/core/sdk/CSSMatchedStyles.ts +78 -3
- package/front_end/core/sdk/CSSMetadata.ts +17 -12
- package/front_end/core/sdk/CSSProperty.ts +1 -1
- package/front_end/core/sdk/CSSPropertyParserMatchers.ts +2 -2
- package/front_end/core/sdk/CSSRule.ts +3 -3
- package/front_end/core/sdk/CSSStyleSheetHeader.ts +3 -3
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +1 -1
- package/front_end/core/sdk/Connections.ts +1 -1
- package/front_end/core/sdk/DebuggerModel.ts +13 -13
- package/front_end/core/sdk/NetworkManager.ts +19 -19
- package/front_end/core/sdk/NetworkRequest.ts +57 -57
- package/front_end/core/sdk/OverlayModel.ts +1 -1
- package/front_end/core/sdk/PageResourceLoader.ts +2 -2
- package/front_end/core/sdk/RehydratingConnection.ts +5 -5
- package/front_end/core/sdk/ScreenCaptureModel.ts +1 -1
- package/front_end/core/sdk/Script.ts +2 -2
- package/front_end/core/sdk/ServerTiming.ts +7 -7
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +1 -1
- package/front_end/core/sdk/ServiceWorkerManager.ts +11 -11
- package/front_end/core/sdk/SourceMapScopeChainEntry.ts +2 -2
- package/front_end/core/sdk/SourceMapScopesInfo.ts +1 -1
- package/front_end/core/sdk/StorageKeyManager.ts +1 -1
- package/front_end/core/sdk/sdk-meta.ts +98 -98
- package/front_end/devtools_compatibility.js +15 -13
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +4 -8
- package/front_end/entrypoints/main/MainImpl.ts +2 -3
- package/front_end/entrypoints/main/main-meta.ts +1 -16
- package/front_end/entrypoints/shell/shell.ts +1 -0
- package/front_end/entrypoints/trace_app/trace_app.ts +1 -0
- package/front_end/foundation/README.md +1 -1
- package/front_end/foundation/Universe.test.api.ts +73 -0
- package/front_end/foundation/Universe.ts +22 -0
- package/front_end/generated/InspectorBackendCommands.ts +2 -2
- package/front_end/generated/SupportedCSSProperties.js +1 -1
- package/front_end/generated/protocol.ts +19 -0
- package/front_end/models/ai_assistance/AiAgent2.ts +1 -1
- package/front_end/models/ai_assistance/AiConversation.ts +1 -1
- package/front_end/models/ai_assistance/BuiltInAi.ts +1 -1
- package/front_end/models/ai_assistance/ChangeManager.ts +0 -70
- package/front_end/models/ai_assistance/ExtensionScope.ts +2 -36
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +9 -9
- package/front_end/models/ai_assistance/agents/AiAgent.ts +10 -2
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +4 -4
- package/front_end/models/ai_assistance/agents/ExecuteJavascript.ts +1 -1
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +21 -21
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +4 -4
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +1 -1
- package/front_end/models/ai_assistance/ai_assistance.ts +0 -5
- package/front_end/models/ai_assistance/data_formatters/FileFormatter.ts +11 -4
- package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +8 -2
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +14 -11
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +2 -2
- package/front_end/models/ai_assistance/performance/AICallTree.ts +2 -2
- package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +1 -1
- package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +9 -2
- package/front_end/models/ai_assistance/tools/GetStyles.ts +4 -4
- package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +2 -5
- package/front_end/models/ai_code_completion/AiCodeCompletion.ts +2 -2
- package/front_end/models/ai_code_generation/AiCodeGeneration.ts +2 -2
- package/front_end/models/badges/badges-meta.ts +27 -0
- package/front_end/models/bindings/CSSWorkspaceBinding.ts +4 -3
- package/front_end/models/bindings/ContentProviderBasedProject.ts +1 -1
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +6 -7
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +5 -4
- package/front_end/models/bindings/PresentationConsoleMessageHelper.ts +72 -29
- package/front_end/models/bindings/ResourceMapping.ts +38 -32
- package/front_end/models/bindings/ResourceScriptMapping.ts +5 -7
- package/front_end/models/breakpoints/BreakpointManager.ts +2 -1
- package/front_end/models/har/Writer.ts +2 -2
- package/front_end/models/issues_manager/ElementAccessibilityIssue.ts +1 -1
- package/front_end/models/issues_manager/GenericIssue.ts +1 -1
- package/front_end/models/issues_manager/IssuesManager.ts +14 -5
- package/front_end/models/issues_manager/PartitioningBlobURLIssue.ts +1 -1
- package/front_end/models/issues_manager/SRIMessageSignatureIssue.ts +2 -2
- package/front_end/models/issues_manager/SourceFrameIssuesManager.ts +13 -2
- package/front_end/models/issues_manager/issues_manager.ts +0 -2
- package/front_end/models/live-metrics/LiveMetrics.ts +22 -5
- package/front_end/models/live-metrics/web-vitals-injected/rollup.config.mjs +1 -1
- package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +10 -4
- package/front_end/models/logs/logs-meta.ts +23 -16
- package/front_end/models/persistence/AutomaticFileSystemWorkspaceBinding.ts +2 -2
- package/front_end/models/persistence/IsolatedFileSystem.ts +1 -1
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +1 -1
- package/front_end/models/source_map_scopes/NamesResolver.ts +104 -86
- package/front_end/models/source_map_scopes/ScopeChainModel.ts +6 -2
- package/front_end/models/stack_trace/StackTraceModel.ts +1 -1
- package/front_end/models/trace/handlers/ExtensionTraceDataHandler.ts +1 -1
- package/front_end/models/trace/handlers/UserTimingsHandler.ts +17 -6
- package/front_end/models/trace/helpers/SamplesIntegrator.ts +1 -1
- package/front_end/models/trace/helpers/Timing.ts +1 -1
- package/front_end/models/trace/insights/Common.ts +1 -1
- package/front_end/models/trace/insights/DocumentLatency.ts +3 -3
- package/front_end/models/trace/insights/LCPDiscovery.ts +1 -1
- package/front_end/models/trace/insights/ModernHTTP.ts +1 -1
- package/front_end/models/trace_source_maps_resolver/SourceMapsResolver.ts +2 -2
- package/front_end/models/workspace_diff/WorkspaceDiff.ts +14 -9
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +2 -15
- package/front_end/panels/ai_assistance/ai_assistance.ts +1 -2
- package/front_end/panels/ai_assistance/components/ChatInput.ts +23 -19
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +9 -18
- package/front_end/panels/ai_assistance/components/ChatView.ts +2 -35
- package/front_end/panels/ai_assistance/components/DisabledWidget.ts +1 -1
- package/front_end/panels/ai_assistance/components/ExploreWidget.ts +4 -4
- package/front_end/panels/ai_assistance/components/ImageResize.ts +74 -0
- package/front_end/panels/ai_assistance/components/WalkthroughView.ts +2 -2
- package/front_end/panels/animation/AnimationGroupPreviewUI.ts +28 -29
- package/front_end/panels/animation/AnimationTimeline.ts +3 -3
- package/front_end/panels/animation/animationTimeline.css +0 -2
- package/front_end/panels/application/AppManifestView.ts +1 -1
- package/front_end/panels/application/ApplicationPanelSidebar.ts +1 -1
- package/front_end/panels/application/CookieItemsView.ts +1 -1
- package/front_end/panels/application/CrashReportContextView.ts +3 -3
- package/front_end/panels/application/DeviceBoundSessionsModel.ts +1 -1
- package/front_end/panels/application/DeviceBoundSessionsTreeElement.ts +1 -1
- package/front_end/panels/application/DeviceBoundSessionsView.ts +1 -1
- package/front_end/panels/application/IndexedDBViews.ts +1 -1
- package/front_end/panels/application/KeyValueStorageItemsView.ts +1 -1
- package/front_end/panels/application/OriginTrialTreeView.ts +1 -1
- package/front_end/panels/application/ServiceWorkersView.ts +6 -6
- package/front_end/panels/application/StorageBucketsTreeElement.ts +1 -1
- package/front_end/panels/application/StorageItemsToolbar.ts +3 -3
- package/front_end/panels/application/WebMCPView.ts +7 -5
- package/front_end/panels/application/components/AdsView.ts +21 -6
- package/front_end/panels/application/components/BackForwardCacheView.ts +2 -2
- package/front_end/panels/application/components/ProtocolHandlersView.ts +1 -1
- package/front_end/panels/application/components/StorageMetadataView.ts +1 -1
- package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +2 -2
- package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -1
- package/front_end/panels/application/preloading/components/PreloadingString.ts +3 -3
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +2 -1
- package/front_end/panels/autofill/AutofillView.ts +1 -1
- package/front_end/panels/browser_debugger/DOMBreakpointsSidebarPane.ts +1 -1
- package/front_end/panels/browser_debugger/XHRBreakpointsSidebarPane.ts +2 -2
- package/front_end/panels/changes/ChangesSidebar.ts +2 -2
- package/front_end/panels/changes/ChangesView.ts +4 -5
- package/front_end/panels/changes/CombinedDiffView.ts +3 -3
- package/front_end/panels/changes/changes-meta.ts +2 -2
- package/front_end/panels/common/AiCodeCompletionTeaser.ts +1 -1
- package/front_end/panels/common/AiCodeGenerationTeaser.ts +3 -3
- package/front_end/panels/common/BadgeNotification.ts +8 -8
- package/front_end/panels/common/DOMLinkifier.ts +1 -1
- package/front_end/panels/common/GdpSignUpDialog.ts +2 -2
- package/front_end/panels/common/GeminiRebrandPromoDialog.ts +1 -1
- package/front_end/panels/common/aiCodeCompletionDisclaimer.css +0 -1
- package/front_end/panels/console/ConsoleInsightTeaser.ts +1 -1
- package/front_end/panels/console/ConsolePinPane.ts +3 -3
- package/front_end/panels/console/ConsolePrompt.ts +6 -4
- package/front_end/panels/console/ConsoleSidebar.ts +8 -10
- package/front_end/panels/console_counters/WarningErrorCounter.ts +10 -11
- package/front_end/panels/coverage/CoverageView.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +3 -3
- package/front_end/panels/css_overview/CSSOverviewSidebarPanel.ts +1 -1
- package/front_end/panels/developer_resources/DeveloperResourcesView.ts +1 -1
- package/front_end/panels/elements/CSSRuleValidator.ts +1 -1
- package/front_end/panels/elements/ComputedStyleWidget.ts +3 -2
- package/front_end/panels/elements/ElementsTreeElement.ts +3 -3
- package/front_end/panels/elements/EventListenersWidget.ts +1 -3
- package/front_end/panels/elements/LayoutPane.ts +23 -13
- package/front_end/panels/elements/StandaloneStylesContainer.ts +7 -7
- package/front_end/panels/elements/StylePropertiesSection.ts +33 -5
- package/front_end/panels/elements/StylePropertyTreeElement.ts +5 -5
- package/front_end/panels/elements/StylesAiCodeCompletionProvider.ts +6 -6
- package/front_end/panels/elements/StylesSidebarPane.ts +4 -3
- package/front_end/panels/elements/elements-meta.ts +18 -2
- package/front_end/panels/emulation/DeviceModeToolbar.ts +100 -40
- package/front_end/panels/emulation/DeviceModeView.ts +5 -4
- package/front_end/panels/emulation/MediaQueryInspector.ts +35 -19
- package/front_end/panels/event_listeners/EventListenersView.ts +4 -4
- package/front_end/panels/explain/components/ConsoleInsight.ts +8 -9
- package/front_end/panels/explain/explain-meta.ts +3 -3
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +135 -167
- package/front_end/panels/layer_viewer/Layers3DView.ts +10 -23
- package/front_end/panels/layer_viewer/layer_viewer-meta.ts +27 -0
- package/front_end/panels/lighthouse/LighthouseController.ts +44 -55
- package/front_end/panels/lighthouse/LighthousePanel.ts +9 -9
- package/front_end/panels/lighthouse/LighthouseReportSelector.ts +2 -2
- package/front_end/panels/lighthouse/LighthouseStartView.ts +9 -12
- package/front_end/panels/lighthouse/LighthouseStatusView.ts +33 -33
- package/front_end/panels/lighthouse/RadioSetting.ts +1 -1
- package/front_end/panels/lighthouse/lighthouse-meta.ts +131 -1
- package/front_end/panels/media/EventDisplayTable.ts +67 -94
- package/front_end/panels/media/PlayerListView.ts +1 -1
- package/front_end/panels/media/eventDisplayTable.css +9 -4
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +5 -5
- package/front_end/panels/mobile_throttling/ThrottlingSettingsTab.ts +1 -1
- package/front_end/panels/network/EventSourceMessagesView.ts +98 -107
- package/front_end/panels/network/NetworkLogViewColumns.ts +1 -1
- package/front_end/panels/network/NetworkWaterfallColumn.ts +1 -1
- package/front_end/panels/network/RequestConditionsDrawer.ts +2 -2
- package/front_end/panels/network/RequestCookiesView.ts +2 -2
- package/front_end/panels/network/RequestHeadersView.ts +5 -5
- package/front_end/panels/network/RequestPayloadView.ts +4 -4
- package/front_end/panels/network/RequestTimingView.ts +2 -2
- package/front_end/panels/network/components/DirectSocketConnectionView.ts +1 -1
- package/front_end/panels/network/eventSourceMessagesView.css +12 -3
- package/front_end/panels/network/networkTimingTable.css +2 -2
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +1 -1
- package/front_end/panels/profiler/BottomUpProfileDataGrid.ts +25 -29
- package/front_end/panels/profiler/HeapProfileView.ts +308 -247
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +13 -3
- package/front_end/panels/profiler/HeapSnapshotView.ts +30 -10
- package/front_end/panels/profiler/HeapTimelineOverview.ts +5 -2
- package/front_end/panels/profiler/ProfileDataGrid.ts +128 -157
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +17 -5
- package/front_end/panels/profiler/ProfilesPanel.ts +2 -2
- package/front_end/panels/profiler/TopDownProfileDataGrid.ts +17 -21
- package/front_end/panels/profiler/profilesPanel.css +9 -13
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +2 -2
- package/front_end/panels/recorder/CreateRecordingView.ts +4 -4
- package/front_end/panels/recorder/RecorderPanel.ts +6 -6
- package/front_end/panels/recorder/RecordingView.ts +1 -1
- package/front_end/panels/recorder/ReplaySection.ts +1 -1
- package/front_end/panels/recorder/StepView.ts +1 -1
- package/front_end/panels/recorder/injected/rollup.config.mjs +1 -1
- package/front_end/panels/search/SearchView.ts +1 -1
- package/front_end/panels/security/SecurityPanel.ts +54 -41
- package/front_end/panels/sensors/LocationsSettingsTab.ts +246 -233
- package/front_end/panels/sensors/SensorsView.ts +1 -1
- package/front_end/panels/settings/AISettingsTab.ts +11 -10
- package/front_end/panels/settings/SettingsScreen.ts +29 -24
- package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +2 -2
- package/front_end/panels/sources/AiCodeCompletionPlugin.ts +5 -5
- package/front_end/panels/sources/BreakpointEditDialog.ts +2 -2
- package/front_end/panels/sources/BreakpointsView.ts +1 -1
- package/front_end/panels/sources/CallStackSidebarPane.ts +2 -2
- package/front_end/panels/sources/DebuggerPausedMessage.ts +2 -2
- package/front_end/panels/sources/DebuggerPlugin.ts +25 -22
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +3 -1
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +7 -5
- package/front_end/panels/sources/sources-meta.ts +1 -1
- package/front_end/panels/timeline/CountersGraph.ts +1 -2
- package/front_end/panels/timeline/ExtensionTrackAppender.ts +1 -1
- package/front_end/panels/timeline/TimelineDetailsView.ts +2 -2
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +2 -2
- package/front_end/panels/timeline/TimelineFlameChartView.ts +4 -4
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +1 -1
- package/front_end/panels/timeline/TimelinePanel.ts +53 -81
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +10 -3
- package/front_end/panels/timeline/TimelineUIUtils.ts +18 -4
- package/front_end/panels/timeline/TrackConfigBanner.ts +1 -1
- package/front_end/panels/timeline/components/ExportTraceOptions.ts +1 -1
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +8 -9
- package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +1 -1
- package/front_end/panels/timeline/components/TimelineRangeSummaryView.ts +1 -1
- package/front_end/panels/timeline/components/insights/DuplicatedJavaScript.ts +2 -2
- package/front_end/panels/timeline/components/insights/LCPBreakdown.ts +1 -1
- package/front_end/panels/timeline/components/insights/LegacyJavaScript.ts +1 -1
- package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +2 -2
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +5 -0
- package/front_end/panels/timeline/overlays/components/TimespanBreakdownOverlay.ts +13 -8
- package/front_end/panels/timeline/overlays/components/timespanBreakdownOverlay.css +1 -0
- package/front_end/panels/timeline/timeline-meta.ts +169 -0
- package/front_end/panels/timeline/timelineFlameChartView.css +5 -0
- package/front_end/panels/webauthn/WebauthnPane.ts +1 -1
- package/front_end/panels/whats_new/ReleaseNoteText.ts +9 -9
- package/front_end/panels/whats_new/resources/WNDT.md +7 -8
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/web-vitals/README.chromium +2 -2
- package/front_end/third_party/web-vitals/package/README.md +120 -19
- package/front_end/third_party/web-vitals/package/attribution.d.ts +16 -0
- package/front_end/third_party/web-vitals/package/attribution.js +18 -0
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onCLS.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onFCP.d.ts +1 -7
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onFCP.js +53 -32
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.d.ts +2 -2
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +43 -12
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onLCP.js +21 -3
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onTTFB.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/attribution/onTTFB.js +30 -24
- package/front_end/third_party/web-vitals/package/dist/modules/lib/FCPEntryManager.d.ts +3 -0
- package/front_end/third_party/web-vitals/package/dist/modules/lib/FCPEntryManager.js +18 -0
- package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.d.ts +2 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/InteractionManager.js +18 -2
- package/front_end/third_party/web-vitals/package/dist/modules/lib/LCPEntryManager.d.ts +1 -0
- package/front_end/third_party/web-vitals/package/dist/modules/lib/LCPEntryManager.js +1 -0
- 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/generateUniqueID.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/getLoadState.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/getLoadState.js +7 -7
- package/front_end/third_party/web-vitals/package/dist/modules/lib/getSelector.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/getVisibilityWatcher.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/getVisibilityWatcher.js +4 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +7 -3
- package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.js +20 -11
- package/front_end/third_party/web-vitals/package/dist/modules/lib/initUnique.js +8 -3
- package/front_end/third_party/web-vitals/package/dist/modules/lib/observe.d.ts +3 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/observe.js +19 -4
- package/front_end/third_party/web-vitals/package/dist/modules/lib/polyfills/interactionCountPolyfill.js +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/lib/softNavs.d.ts +3 -0
- package/front_end/third_party/web-vitals/package/dist/modules/lib/softNavs.js +38 -0
- package/front_end/third_party/web-vitals/package/dist/modules/lib/whenIdleOrHidden.js +5 -1
- package/front_end/third_party/web-vitals/package/dist/modules/onCLS.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/onCLS.js +30 -11
- package/front_end/third_party/web-vitals/package/dist/modules/onFCP.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/onFCP.js +36 -4
- package/front_end/third_party/web-vitals/package/dist/modules/onINP.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/onINP.js +42 -22
- package/front_end/third_party/web-vitals/package/dist/modules/onLCP.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/onLCP.js +109 -30
- package/front_end/third_party/web-vitals/package/dist/modules/onTTFB.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/onTTFB.js +25 -7
- package/front_end/third_party/web-vitals/package/dist/modules/types/base.d.ts +24 -1
- package/front_end/third_party/web-vitals/package/dist/modules/types/fcp.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/types/inp.d.ts +14 -6
- package/front_end/third_party/web-vitals/package/dist/modules/types/lcp.d.ts +1 -1
- package/front_end/third_party/web-vitals/package/dist/modules/types/ttfb.d.ts +2 -2
- package/front_end/third_party/web-vitals/package/dist/modules/types.d.ts +26 -4
- package/front_end/third_party/web-vitals/package/package.json +21 -22
- package/front_end/third_party/web-vitals/package/src/attribution/onCLS.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/attribution/onFCP.ts +62 -39
- package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +52 -15
- package/front_end/third_party/web-vitals/package/src/attribution/onLCP.ts +25 -7
- package/front_end/third_party/web-vitals/package/src/attribution/onTTFB.ts +43 -37
- package/front_end/third_party/web-vitals/package/src/lib/{polyfills/getFirstHiddenTimePolyfill.ts → FCPEntryManager.ts} +4 -14
- package/front_end/third_party/web-vitals/package/src/lib/InteractionManager.ts +22 -2
- package/front_end/third_party/web-vitals/package/src/lib/LCPEntryManager.ts +1 -0
- package/front_end/third_party/web-vitals/package/src/lib/bindReporter.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/generateUniqueID.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/getLoadState.ts +11 -12
- package/front_end/third_party/web-vitals/package/src/lib/getSelector.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/getVisibilityWatcher.ts +4 -1
- package/front_end/third_party/web-vitals/package/src/lib/initMetric.ts +24 -11
- package/front_end/third_party/web-vitals/package/src/lib/initUnique.ts +12 -4
- package/front_end/third_party/web-vitals/package/src/lib/observe.ts +26 -5
- package/front_end/third_party/web-vitals/package/src/lib/polyfills/interactionCountPolyfill.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/lib/softNavs.ts +48 -0
- package/front_end/third_party/web-vitals/package/src/lib/whenIdleOrHidden.ts +12 -4
- package/front_end/third_party/web-vitals/package/src/onCLS.ts +75 -18
- package/front_end/third_party/web-vitals/package/src/onFCP.ts +66 -7
- package/front_end/third_party/web-vitals/package/src/onINP.ts +100 -39
- package/front_end/third_party/web-vitals/package/src/onLCP.ts +169 -34
- package/front_end/third_party/web-vitals/package/src/onTTFB.ts +50 -13
- package/front_end/third_party/web-vitals/package/src/types/base.ts +31 -10
- package/front_end/third_party/web-vitals/package/src/types/fcp.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/types/inp.ts +14 -6
- package/front_end/third_party/web-vitals/package/src/types/lcp.ts +1 -1
- package/front_end/third_party/web-vitals/package/src/types/ttfb.ts +2 -2
- package/front_end/third_party/web-vitals/package/src/types.ts +32 -9
- package/front_end/third_party/web-vitals/patches/0001-Add-onEachInteraction-to-onINP-options.patch +11 -11
- package/front_end/third_party/web-vitals/rebuild.sh +2 -2
- package/front_end/third_party/web-vitals/web-vitals-tsconfig.json +2 -0
- package/front_end/ui/components/buttons/Button.ts +16 -0
- package/front_end/ui/components/dialogs/Dialog.ts +1 -1
- package/front_end/ui/components/highlighting/HighlightManager.ts +6 -1
- package/front_end/ui/components/highlighting/highlighting.ts +1 -1
- package/front_end/ui/components/icon_button/FileSourceIcon.ts +1 -1
- package/front_end/ui/components/linkifier/LinkifierImpl.ts +1 -1
- package/front_end/ui/components/markdown_view/MarkdownLinksMap.ts +2 -2
- package/front_end/ui/components/settings/SettingCheckbox.ts +12 -7
- package/front_end/ui/components/text_editor/AiCodeCompletionProvider.ts +2 -2
- package/front_end/ui/components/text_editor/AiCodeGenerationProvider.ts +6 -6
- package/front_end/ui/components/text_editor/javascript.ts +3 -1
- package/front_end/ui/components/tooltips/Tooltip.ts +1 -1
- package/front_end/ui/legacy/ContextMenu.ts +12 -2
- package/front_end/ui/legacy/ListControl.ts +1 -1
- package/front_end/ui/legacy/SelectMenu.docs.ts +17 -19
- package/front_end/ui/legacy/Toolbar.ts +4 -1
- package/front_end/ui/legacy/Treeoutline.ts +1 -1
- package/front_end/ui/legacy/components/color_picker/spectrum.css +1 -2
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +1 -1
- package/front_end/ui/legacy/components/data_grid/DataGridElement.ts +50 -4
- package/front_end/ui/legacy/components/object_ui/JavaScriptREPL.ts +3 -1
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +4 -4
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +8 -7
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +14 -11
- package/front_end/ui/legacy/components/quick_open/QuickOpen.ts +1 -1
- package/front_end/ui/legacy/components/settings_ui/SettingsUI.ts +15 -5
- package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +4 -4
- package/front_end/ui/legacy/components/utils/Linkifier.ts +5 -1
- package/front_end/ui/lit/render.ts +1 -1
- package/front_end/ui/settings/SettingUIRegistration.ts +8 -3
- package/front_end/ui/visual_logging/KnownContextValues.ts +8 -0
- package/front_end/ui/visual_logging/LoggingEvents.ts +1 -1
- package/inspector_overlay/main.ts +1 -1
- package/mcp/mcp.ts +5 -4
- package/package.json +13 -13
- package/front_end/models/ai_assistance/AgentProject.ts +0 -261
- package/front_end/models/ai_assistance/agents/PatchAgent.ts +0 -306
- package/front_end/models/issues_manager/CheckFormsIssuesTrigger.ts +0 -45
- package/front_end/models/text_utils/text_utils.ts +0 -5
- package/front_end/panels/ai_assistance/PatchWidget.ts +0 -867
- package/front_end/panels/ai_assistance/SelectWorkspaceDialog.ts +0 -368
- package/front_end/panels/ai_assistance/selectWorkspaceDialog.css +0 -92
|
@@ -23,156 +23,156 @@ import {Type} from './Target.js';
|
|
|
23
23
|
// clang-format off
|
|
24
24
|
const UIStrings = {
|
|
25
25
|
/**
|
|
26
|
-
* @description
|
|
26
|
+
* @description Label for binary data format.
|
|
27
27
|
*/
|
|
28
28
|
binary: '(binary)',
|
|
29
29
|
/**
|
|
30
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
30
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
31
31
|
*/
|
|
32
32
|
secureOnly: 'This cookie was blocked because it had the "`Secure`" attribute and the connection was not secure.',
|
|
33
33
|
/**
|
|
34
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
34
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
35
35
|
*/
|
|
36
|
-
notOnPath: 'This cookie was blocked because its path was not an exact match for or a superdirectory of the request
|
|
36
|
+
notOnPath: 'This cookie was blocked because its path was not an exact match for or a superdirectory of the request URL’s path.',
|
|
37
37
|
/**
|
|
38
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
38
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
39
39
|
*/
|
|
40
40
|
domainMismatch: 'This cookie was blocked because neither did the request URL’s domain exactly match the cookie’s domain, nor was the request URL’s domain a subdomain of the cookie’s Domain attribute value.',
|
|
41
41
|
/**
|
|
42
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
42
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
43
43
|
*/
|
|
44
44
|
sameSiteStrict: 'This cookie was blocked because it had the "`SameSite=Strict`" attribute and the request was made from a different site. This includes top-level navigation requests initiated by other sites.',
|
|
45
45
|
/**
|
|
46
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
46
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
47
47
|
*/
|
|
48
48
|
sameSiteLax: 'This cookie was blocked because it had the "`SameSite=Lax`" attribute and the request was made from a different site and was not initiated by a top-level navigation.',
|
|
49
49
|
/**
|
|
50
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
50
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
51
51
|
*/
|
|
52
|
-
sameSiteUnspecifiedTreatedAsLax: 'This cookie didn’t specify a "`SameSite`" attribute when it was stored and was defaulted to "SameSite=Lax,
|
|
52
|
+
sameSiteUnspecifiedTreatedAsLax: 'This cookie didn’t specify a "`SameSite`" attribute when it was stored and was defaulted to "`SameSite=Lax`", and was blocked because the request was made from a different site and was not initiated by a top-level navigation. The cookie had to have been set with "`SameSite=None`" to enable cross-site usage.',
|
|
53
53
|
/**
|
|
54
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
54
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
55
55
|
*/
|
|
56
|
-
sameSiteNoneInsecure: 'This cookie was blocked because it had the "`SameSite=None`" attribute but was not marked "Secure". Cookies without SameSite restrictions must be marked "Secure" and sent over a secure connection.',
|
|
56
|
+
sameSiteNoneInsecure: 'This cookie was blocked because it had the "`SameSite=None`" attribute but was not marked "`Secure`". Cookies without SameSite restrictions must be marked "`Secure`" and sent over a secure connection.',
|
|
57
57
|
/**
|
|
58
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
58
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
59
59
|
*/
|
|
60
60
|
userPreferences: 'This cookie was blocked due to user preferences.',
|
|
61
61
|
/**
|
|
62
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
62
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
63
63
|
*/
|
|
64
64
|
thirdPartyPhaseout: 'This cookie was blocked either because of Chrome flags or browser configuration. Learn more in the Issues panel.',
|
|
65
65
|
/**
|
|
66
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
66
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
67
67
|
*/
|
|
68
68
|
unknownError: 'An unknown error was encountered when trying to send this cookie.',
|
|
69
69
|
/**
|
|
70
|
-
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site
|
|
70
|
+
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site.
|
|
71
71
|
*/
|
|
72
72
|
schemefulSameSiteStrict: 'This cookie was blocked because it had the "`SameSite=Strict`" attribute but the request was cross-site. This includes top-level navigation requests initiated by other sites. This request is considered cross-site because the URL has a different scheme than the current site.',
|
|
73
73
|
/**
|
|
74
|
-
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site
|
|
74
|
+
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site.
|
|
75
75
|
*/
|
|
76
76
|
schemefulSameSiteLax: 'This cookie was blocked because it had the "`SameSite=Lax`" attribute but the request was cross-site and was not initiated by a top-level navigation. This request is considered cross-site because the URL has a different scheme than the current site.',
|
|
77
77
|
/**
|
|
78
|
-
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site
|
|
78
|
+
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site.
|
|
79
79
|
*/
|
|
80
|
-
schemefulSameSiteUnspecifiedTreatedAsLax: 'This cookie didn’t specify a "`SameSite`" attribute when it was stored, was defaulted to "`SameSite=Lax"
|
|
80
|
+
schemefulSameSiteUnspecifiedTreatedAsLax: 'This cookie didn’t specify a "`SameSite`" attribute when it was stored, was defaulted to "`SameSite=Lax`", and was blocked because the request was cross-site and was not initiated by a top-level navigation. This request is considered cross-site because the URL has a different scheme than the current site.',
|
|
81
81
|
/**
|
|
82
|
-
* @description Tooltip to explain why a cookie was blocked due to exceeding the maximum size
|
|
82
|
+
* @description Tooltip to explain why a cookie was blocked due to exceeding the maximum size.
|
|
83
83
|
*/
|
|
84
84
|
nameValuePairExceedsMaxSize: 'This cookie was blocked because it was too large. The combined size of the name and value must be less than or equal to 4096 characters.',
|
|
85
85
|
/**
|
|
86
86
|
* @description Tooltip to explain why an attempt to set a cookie via `Set-Cookie` HTTP header on a request's response was blocked.
|
|
87
87
|
*/
|
|
88
|
-
thisSetcookieWasBlockedDueToUser: 'This attempt to set a cookie via a `Set-Cookie` header was blocked due to user preferences.',
|
|
88
|
+
thisSetcookieWasBlockedDueToUser: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked due to user preferences.',
|
|
89
89
|
/**
|
|
90
90
|
* @description Tooltip to explain why an attempt to set a cookie via `Set-Cookie` HTTP header on a request's response was blocked.
|
|
91
91
|
*/
|
|
92
|
-
|
|
92
|
+
thisSetcookieWasBlockedDueThirdPartyPhaseout: 'Setting this cookie was blocked either because of Chrome flags or browser configuration. Learn more in the Issues panel.',
|
|
93
93
|
/**
|
|
94
94
|
* @description Tooltip to explain why an attempt to set a cookie via `Set-Cookie` HTTP header on a request's response was blocked.
|
|
95
95
|
*/
|
|
96
|
-
thisSetcookieHadInvalidSyntax: 'This `Set-Cookie` header had invalid syntax.',
|
|
96
|
+
thisSetcookieHadInvalidSyntax: 'This "`Set-Cookie`" header had invalid syntax.',
|
|
97
97
|
/**
|
|
98
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
98
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
99
99
|
*/
|
|
100
|
-
thisSetcookieHadADisallowedCharacter: 'This `Set-Cookie` header contained a disallowed character (a forbidden ASCII control character, or the tab character if it appears in the middle of the cookie name, value, an attribute name, or an attribute value).',
|
|
100
|
+
thisSetcookieHadADisallowedCharacter: 'This "`Set-Cookie`" header contained a disallowed character (a forbidden ASCII control character, or the tab character if it appears in the middle of the cookie name, value, an attribute name, or an attribute value).',
|
|
101
101
|
/**
|
|
102
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
102
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
103
103
|
*/
|
|
104
104
|
theSchemeOfThisConnectionIsNot: 'The scheme of this connection is not allowed to store cookies.',
|
|
105
105
|
/**
|
|
106
|
-
* @description Tooltip to explain why a cookie was blocked
|
|
106
|
+
* @description Tooltip to explain why a cookie was blocked.
|
|
107
107
|
*/
|
|
108
108
|
anUnknownErrorWasEncounteredWhenTrying: 'An unknown error was encountered when trying to store this cookie.',
|
|
109
109
|
/**
|
|
110
|
-
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site
|
|
110
|
+
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site.
|
|
111
111
|
* @example {SameSite=Strict} PH1
|
|
112
112
|
*/
|
|
113
|
-
thisSetcookieWasBlockedBecauseItHadTheSamesiteStrictLax: 'This attempt to set a cookie via a `Set-Cookie` header was blocked because it had the "{PH1}" attribute but came from a cross-site response which was not the response to a top-level navigation. This response is considered cross-site because the URL has a different scheme than the current site.',
|
|
113
|
+
thisSetcookieWasBlockedBecauseItHadTheSamesiteStrictLax: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked because it had the "{PH1}" attribute but came from a cross-site response which was not the response to a top-level navigation. This response is considered cross-site because the URL has a different scheme than the current site.',
|
|
114
114
|
/**
|
|
115
|
-
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site
|
|
115
|
+
* @description Tooltip to explain why a cookie was blocked due to Schemeful Same-Site.
|
|
116
116
|
*/
|
|
117
|
-
thisSetcookieDidntSpecifyASamesite: 'This `Set-Cookie` header didn’t specify a "`SameSite`" attribute, was defaulted to "`SameSite=Lax"
|
|
117
|
+
thisSetcookieDidntSpecifyASamesite: 'This "`Set-Cookie`" header didn’t specify a "`SameSite`" attribute, was defaulted to "`SameSite=Lax`", and was blocked because it came from a cross-site response which was not the response to a top-level navigation. This response is considered cross-site because the URL has a different scheme than the current site.',
|
|
118
118
|
/**
|
|
119
119
|
* @description Tooltip to explain why an attempt to set a cookie via a `Set-Cookie` HTTP header on a request's response was blocked.
|
|
120
120
|
*/
|
|
121
|
-
blockedReasonSecureOnly: 'This attempt to set a cookie via a `Set-Cookie` header was blocked because it had the "Secure" attribute but was not received over a secure connection.',
|
|
121
|
+
blockedReasonSecureOnly: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked because it had the "`Secure`" attribute but was not received over a secure connection.',
|
|
122
122
|
/**
|
|
123
123
|
* @description Tooltip to explain why an attempt to set a cookie via a `Set-Cookie` HTTP header on a request's response was blocked.
|
|
124
124
|
* @example {SameSite=Strict} PH1
|
|
125
125
|
*/
|
|
126
|
-
blockedReasonSameSiteStrictLax: 'This attempt to set a cookie via a `Set-Cookie` header was blocked because it had the "{PH1}" attribute but came from a cross-site response which was not the response to a top-level navigation.',
|
|
126
|
+
blockedReasonSameSiteStrictLax: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked because it had the "{PH1}" attribute but came from a cross-site response which was not the response to a top-level navigation.',
|
|
127
127
|
/**
|
|
128
128
|
* @description Tooltip to explain why an attempt to set a cookie via a `Set-Cookie` HTTP header on a request's response was blocked.
|
|
129
129
|
*/
|
|
130
|
-
blockedReasonSameSiteUnspecifiedTreatedAsLax: 'This `Set-Cookie` header didn’t specify a "`SameSite`" attribute and was defaulted to "`SameSite=Lax
|
|
130
|
+
blockedReasonSameSiteUnspecifiedTreatedAsLax: 'This "`Set-Cookie`" header didn’t specify a "`SameSite`" attribute and was defaulted to "`SameSite=Lax`", and was blocked because it came from a cross-site response which was not the response to a top-level navigation. The "`Set-Cookie`" header had to have been set with "`SameSite=None`" to enable cross-site usage.',
|
|
131
131
|
/**
|
|
132
132
|
* @description Tooltip to explain why an attempt to set a cookie via a `Set-Cookie` HTTP header on a request's response was blocked.
|
|
133
133
|
*/
|
|
134
|
-
blockedReasonSameSiteNoneInsecure: 'This attempt to set a cookie via a `Set-Cookie` header was blocked because it had the "`SameSite=None`" attribute but did not have the "Secure" attribute, which is required in order to use "`SameSite=None`".',
|
|
134
|
+
blockedReasonSameSiteNoneInsecure: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked because it had the "`SameSite=None`" attribute but did not have the "`Secure`" attribute, which is required in order to use "`SameSite=None`".',
|
|
135
135
|
/**
|
|
136
136
|
* @description Tooltip to explain why an attempt to set a cookie via a `Set-Cookie` HTTP header on a request's response was blocked.
|
|
137
137
|
*/
|
|
138
|
-
blockedReasonOverwriteSecure: 'This attempt to set a cookie via a `Set-Cookie` header was blocked because it was not sent over a secure connection and would have overwritten a cookie with the Secure attribute.',
|
|
138
|
+
blockedReasonOverwriteSecure: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked because it was not sent over a secure connection and would have overwritten a cookie with the "`Secure`" attribute.',
|
|
139
139
|
/**
|
|
140
140
|
* @description Tooltip to explain why an attempt to set a cookie via a `Set-Cookie` HTTP header on a request's response was blocked.
|
|
141
141
|
*/
|
|
142
|
-
blockedReasonInvalidDomain: 'This attempt to set a cookie via a `Set-Cookie` header was blocked because its Domain attribute was invalid with regards to the current host
|
|
142
|
+
blockedReasonInvalidDomain: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked because its "`Domain`" attribute was invalid with regards to the current host URL.',
|
|
143
143
|
/**
|
|
144
144
|
* @description Tooltip to explain why an attempt to set a cookie via a `Set-Cookie` HTTP header on a request's response was blocked.
|
|
145
145
|
*/
|
|
146
|
-
blockedReasonInvalidPrefix: 'This attempt to set a cookie via a `Set-Cookie` header was blocked because it used the "`__Secure-`" or "`__Host-`" prefix in its name and broke the additional rules applied to cookies with these prefixes as defined in `https://tools.ietf.org/html/draft-west-cookie-prefixes-05`.',
|
|
146
|
+
blockedReasonInvalidPrefix: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked because it used the "`__Secure-`" or "`__Host-`" prefix in its name and broke the additional rules applied to cookies with these prefixes as defined in `https://tools.ietf.org/html/draft-west-cookie-prefixes-05`.',
|
|
147
147
|
/**
|
|
148
148
|
* @description Tooltip to explain why a cookie was blocked when the size of the #name plus the size of the value exceeds the max size.
|
|
149
149
|
*/
|
|
150
|
-
thisSetcookieWasBlockedBecauseTheNameValuePairExceedsMaxSize: 'This attempt to set a cookie via a `Set-Cookie` header was blocked because the cookie was too large. The combined size of the name and value must be less than or equal to 4096 characters.',
|
|
150
|
+
thisSetcookieWasBlockedBecauseTheNameValuePairExceedsMaxSize: 'This attempt to set a cookie via a "`Set-Cookie`" header was blocked because the cookie was too large. The combined size of the name and value must be less than or equal to 4096 characters.',
|
|
151
151
|
/**
|
|
152
|
-
* @description
|
|
152
|
+
* @description Warning message when Set-Cookie header is ignored due to size limit.
|
|
153
153
|
* @example {https://example.com} PH1
|
|
154
154
|
*/
|
|
155
|
-
setcookieHeaderIsIgnoredIn: 'Set-Cookie header is ignored in response from
|
|
155
|
+
setcookieHeaderIsIgnoredIn: '"`Set-Cookie`" header is ignored in response from URL: {PH1}. The combined size of the name and value must be less than or equal to 4096 characters.',
|
|
156
156
|
/**
|
|
157
157
|
* @description Tooltip to explain why the cookie should have been blocked by third-party cookie phaseout but is exempted.
|
|
158
158
|
*/
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
159
|
+
exemptionReasonUserSetting: 'This cookie is allowed by user preference.',
|
|
160
|
+
/**
|
|
161
|
+
* @description Tooltip to explain why the cookie should have been blocked by third-party cookie phaseout but is exempted.
|
|
162
|
+
*/
|
|
163
|
+
exemptionReasonEnterprisePolicy: 'This cookie is allowed by Chrome Enterprise policy. Learn more: goo.gle/ce-3pc',
|
|
164
|
+
/**
|
|
165
|
+
* @description Tooltip to explain why the cookie should have been blocked by third-party cookie phaseout but is exempted.
|
|
166
|
+
*/
|
|
167
|
+
exemptionReasonStorageAccessAPI: 'This cookie is allowed by the Storage Access API. Learn more: goo.gle/saa',
|
|
168
|
+
/**
|
|
169
|
+
* @description Tooltip to explain why the cookie should have been blocked by third-party cookie phaseout but is exempted.
|
|
170
|
+
*/
|
|
171
|
+
exemptionReasonTopLevelStorageAccessAPI: 'This cookie is allowed by the top-level Storage Access API. Learn more: goo.gle/saa-top',
|
|
172
|
+
/**
|
|
173
|
+
* @description Tooltip to explain why the cookie should have been blocked by third-party cookie phaseout but is exempted.
|
|
174
|
+
*/
|
|
175
|
+
exemptionReasonScheme: 'This cookie is allowed by the top-level URL scheme.',
|
|
176
176
|
} as const;
|
|
177
177
|
// clang-format on
|
|
178
178
|
|
|
@@ -19,7 +19,7 @@ import type {TargetManager} from './TargetManager.js';
|
|
|
19
19
|
|
|
20
20
|
const UIStrings = {
|
|
21
21
|
/**
|
|
22
|
-
* @description
|
|
22
|
+
* @description Overlay message indicating that execution is paused in the debugger.
|
|
23
23
|
*/
|
|
24
24
|
pausedInDebugger: 'Paused in debugger',
|
|
25
25
|
} as const;
|
|
@@ -22,7 +22,7 @@ import {TargetManager} from './TargetManager.js';
|
|
|
22
22
|
|
|
23
23
|
const UIStrings = {
|
|
24
24
|
/**
|
|
25
|
-
* @description Error message for canceled source map loads
|
|
25
|
+
* @description Error message for canceled source map loads.
|
|
26
26
|
*/
|
|
27
27
|
loadCanceledDueToReloadOf: 'Load canceled due to reload of inspected page',
|
|
28
28
|
} as const;
|
|
@@ -371,7 +371,7 @@ export class PageResourceLoader extends Common.ObjectWrapper.ObjectWrapper<Event
|
|
|
371
371
|
errorDescription: {
|
|
372
372
|
statusCode: 0,
|
|
373
373
|
message: e.message,
|
|
374
|
-
}
|
|
374
|
+
},
|
|
375
375
|
};
|
|
376
376
|
}
|
|
377
377
|
}
|
|
@@ -38,15 +38,15 @@ import {TraceObject} from './TraceObject.js';
|
|
|
38
38
|
|
|
39
39
|
const UIStrings = {
|
|
40
40
|
/**
|
|
41
|
-
* @description Text that appears when no source text is available for the given script
|
|
41
|
+
* @description Text that appears when no source text is available for the given script.
|
|
42
42
|
*/
|
|
43
43
|
noSourceText: 'No source text available',
|
|
44
44
|
/**
|
|
45
|
-
* @description Text to indicate rehydrating connection cannot find host window
|
|
45
|
+
* @description Text to indicate rehydrating connection cannot find host window.
|
|
46
46
|
*/
|
|
47
|
-
noHostWindow: 'Can
|
|
47
|
+
noHostWindow: 'Can’t find host window',
|
|
48
48
|
/**
|
|
49
|
-
* @description Text to indicate that there is an error loading the log
|
|
49
|
+
* @description Text to indicate that there is an error loading the log.
|
|
50
50
|
*/
|
|
51
51
|
errorLoadingLog: 'Error loading log',
|
|
52
52
|
} as const;
|
|
@@ -328,7 +328,7 @@ export class RehydratingSession extends RehydratingSessionBase {
|
|
|
328
328
|
error: {
|
|
329
329
|
message: `Command ${data.method} not implemented in RehydratingSession.`,
|
|
330
330
|
code: ProtocolClient.CDPConnection.CDPErrorStatus.DEVTOOLS_STUB_ERROR,
|
|
331
|
-
}
|
|
331
|
+
},
|
|
332
332
|
});
|
|
333
333
|
break;
|
|
334
334
|
}
|
|
@@ -90,7 +90,7 @@ export class ScreenCaptureModel extends SDKModel<void> implements ProtocolProxyA
|
|
|
90
90
|
callbacks: {
|
|
91
91
|
onScreencastFrame: onFrame,
|
|
92
92
|
onScreencastVisibilityChanged: onVisibilityChanged,
|
|
93
|
-
}
|
|
93
|
+
},
|
|
94
94
|
};
|
|
95
95
|
this.#screencastOperations.push(operation);
|
|
96
96
|
void this.#agent.invoke_startScreencast({format, quality, maxWidth, maxHeight, everyNthFrame});
|
|
@@ -49,11 +49,11 @@ import type {Target} from './Target.js';
|
|
|
49
49
|
|
|
50
50
|
const UIStrings = {
|
|
51
51
|
/**
|
|
52
|
-
* @description Error message for when a script can't be loaded
|
|
52
|
+
* @description Error message for when a script can't be loaded because it was removed or deleted.
|
|
53
53
|
*/
|
|
54
54
|
scriptRemovedOrDeleted: 'Script removed or deleted.',
|
|
55
55
|
/**
|
|
56
|
-
* @description Error message when failing to load a script source text
|
|
56
|
+
* @description Error message when failing to load a script source text.
|
|
57
57
|
*/
|
|
58
58
|
unableToFetchScriptSource: 'Unable to fetch script source.',
|
|
59
59
|
} as const;
|
|
@@ -9,32 +9,32 @@ import type {NameValue} from './NetworkRequest.js';
|
|
|
9
9
|
|
|
10
10
|
const UIStrings = {
|
|
11
11
|
/**
|
|
12
|
-
* @description
|
|
12
|
+
* @description Warning message when deprecated Server-Timing header syntax is found.
|
|
13
13
|
* @example {sql-lookup} PH1
|
|
14
14
|
*/
|
|
15
15
|
deprecatedSyntaxFoundPleaseUse:
|
|
16
|
-
'Deprecated syntax found for metric "{PH1}".
|
|
16
|
+
'Deprecated syntax found for metric "{PH1}". Use: <name>;dur=<duration>;desc=<description>',
|
|
17
17
|
/**
|
|
18
|
-
* @description
|
|
18
|
+
* @description Warning message when a duplicate parameter is found in Server-Timing header.
|
|
19
19
|
* @example {https} PH1
|
|
20
20
|
*/
|
|
21
21
|
duplicateParameterSIgnored: 'Duplicate parameter "{PH1}" ignored.',
|
|
22
22
|
/**
|
|
23
|
-
* @description
|
|
23
|
+
* @description Warning message when no value is found for a parameter in Server-Timing header.
|
|
24
24
|
* @example {https} PH1
|
|
25
25
|
*/
|
|
26
26
|
noValueFoundForParameterS: 'No value found for parameter "{PH1}".',
|
|
27
27
|
/**
|
|
28
|
-
* @description
|
|
28
|
+
* @description Warning message when an unrecognized parameter is found in Server-Timing header.
|
|
29
29
|
* @example {https} PH1
|
|
30
30
|
*/
|
|
31
31
|
unrecognizedParameterS: 'Unrecognized parameter "{PH1}".',
|
|
32
32
|
/**
|
|
33
|
-
* @description
|
|
33
|
+
* @description Warning message when extraneous trailing characters are found in Server-Timing header.
|
|
34
34
|
*/
|
|
35
35
|
extraneousTrailingCharacters: 'Extraneous trailing characters.',
|
|
36
36
|
/**
|
|
37
|
-
* @description
|
|
37
|
+
* @description Warning message when a parameter value cannot be parsed in Server-Timing header.
|
|
38
38
|
* @example {https} PH1
|
|
39
39
|
* @example {2.0} PH2
|
|
40
40
|
*/
|
|
@@ -15,7 +15,7 @@ import {Capability, type Target} from './Target.js';
|
|
|
15
15
|
|
|
16
16
|
const UIStrings = {
|
|
17
17
|
/**
|
|
18
|
-
* @description
|
|
18
|
+
* @description Error message when failing to delete a cache entry in ServiceWorkerCacheAgent.
|
|
19
19
|
* @example {https://cache} PH1
|
|
20
20
|
* @example {error message} PH2
|
|
21
21
|
*/
|
|
@@ -15,47 +15,47 @@ import {Capability, type Target, Type} from './Target.js';
|
|
|
15
15
|
|
|
16
16
|
const UIStrings = {
|
|
17
17
|
/**
|
|
18
|
-
* @description Service worker running status displayed in the Service Workers view in the Application panel
|
|
18
|
+
* @description Service worker running status displayed in the Service Workers view in the Application panel.
|
|
19
19
|
*/
|
|
20
20
|
running: 'running',
|
|
21
21
|
/**
|
|
22
|
-
* @description Service worker running status displayed in the Service Workers view in the Application panel
|
|
22
|
+
* @description Service worker running status displayed in the Service Workers view in the Application panel.
|
|
23
23
|
*/
|
|
24
24
|
starting: 'starting',
|
|
25
25
|
/**
|
|
26
|
-
* @description Service worker running status displayed in the Service Workers view in the Application panel
|
|
26
|
+
* @description Service worker running status displayed in the Service Workers view in the Application panel.
|
|
27
27
|
*/
|
|
28
28
|
stopped: 'stopped',
|
|
29
29
|
/**
|
|
30
|
-
* @description Service worker running status displayed in the Service Workers view in the Application panel
|
|
30
|
+
* @description Service worker running status displayed in the Service Workers view in the Application panel.
|
|
31
31
|
*/
|
|
32
32
|
stopping: 'stopping',
|
|
33
33
|
/**
|
|
34
|
-
* @description Service worker version status displayed in the Threads view of the Debugging
|
|
34
|
+
* @description Service worker version status displayed in the Threads view of the Debugging sidebar in the Sources panel.
|
|
35
35
|
*/
|
|
36
36
|
activated: 'activated',
|
|
37
37
|
/**
|
|
38
|
-
* @description Service worker version status displayed in the Threads view of the Debugging
|
|
38
|
+
* @description Service worker version status displayed in the Threads view of the Debugging sidebar in the Sources panel.
|
|
39
39
|
*/
|
|
40
40
|
activating: 'activating',
|
|
41
41
|
/**
|
|
42
|
-
* @description Service worker version status displayed in the Threads view of the Debugging
|
|
42
|
+
* @description Service worker version status displayed in the Threads view of the Debugging sidebar in the Sources panel.
|
|
43
43
|
*/
|
|
44
44
|
installed: 'installed',
|
|
45
45
|
/**
|
|
46
|
-
* @description Service worker version status displayed in the Threads view of the Debugging
|
|
46
|
+
* @description Service worker version status displayed in the Threads view of the Debugging sidebar in the Sources panel.
|
|
47
47
|
*/
|
|
48
48
|
installing: 'installing',
|
|
49
49
|
/**
|
|
50
|
-
* @description Service worker version status displayed in the Threads view of the Debugging
|
|
50
|
+
* @description Service worker version status displayed in the Threads view of the Debugging sidebar in the Sources panel.
|
|
51
51
|
*/
|
|
52
52
|
new: 'new',
|
|
53
53
|
/**
|
|
54
|
-
* @description Service worker version status displayed in the Threads view of the Debugging
|
|
54
|
+
* @description Service worker version status displayed in the Threads view of the Debugging sidebar in the Sources panel.
|
|
55
55
|
*/
|
|
56
56
|
redundant: 'redundant',
|
|
57
57
|
/**
|
|
58
|
-
* @description Service worker version status displayed in the Threads view of the Debugging
|
|
58
|
+
* @description Service worker version status displayed in the Threads view of the Debugging sidebar in the Sources panel.
|
|
59
59
|
* @example {sw.js} PH1
|
|
60
60
|
* @example {117} PH2
|
|
61
61
|
* @example {activated} PH3
|
|
@@ -16,7 +16,7 @@ const UIStrings = {
|
|
|
16
16
|
*/
|
|
17
17
|
local: 'Local',
|
|
18
18
|
/**
|
|
19
|
-
* @description Text that refers to closure as a programming term
|
|
19
|
+
* @description Text that refers to closure as a programming term.
|
|
20
20
|
*/
|
|
21
21
|
closure: 'Closure',
|
|
22
22
|
/**
|
|
@@ -28,7 +28,7 @@ const UIStrings = {
|
|
|
28
28
|
*/
|
|
29
29
|
global: 'Global',
|
|
30
30
|
/**
|
|
31
|
-
* @description Text in Scope Chain
|
|
31
|
+
* @description Text in Scope Chain section of the Sources panel.
|
|
32
32
|
*/
|
|
33
33
|
returnValue: 'Return value',
|
|
34
34
|
} as const;
|
|
@@ -291,7 +291,7 @@ export class SourceMapScopesInfo {
|
|
|
291
291
|
// Record the name and call-site if the range corresponds to an inlined function.
|
|
292
292
|
result.inlinedFunctions.push({
|
|
293
293
|
name: range.originalScope?.name ?? '',
|
|
294
|
-
callsite: {...range.callSite, sourceURL: this.#sourceMap.sourceURLForSourceIndex(range.callSite.sourceIndex)}
|
|
294
|
+
callsite: {...range.callSite, sourceURL: this.#sourceMap.sourceURLForSourceIndex(range.callSite.sourceIndex)},
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
297
|
if (range.isStackFrame) {
|
|
@@ -60,7 +60,7 @@ export function parseStorageKey(storageKeyString: string): StorageKey {
|
|
|
60
60
|
// For file:// URLs, extracting the origin collapses it to "file://".
|
|
61
61
|
// Node.js uses the full file URL as the StorageKey, so keep the original URL here.
|
|
62
62
|
origin: origin === 'file://' ? components[0] as Platform.DevToolsPath.UrlString : origin,
|
|
63
|
-
components: new Map<StorageKeyComponent, string>()
|
|
63
|
+
components: new Map<StorageKeyComponent, string>(),
|
|
64
64
|
};
|
|
65
65
|
for (let i = 1; i < components.length; ++i) {
|
|
66
66
|
storageKey.components.set(components[i].charAt(0) as StorageKeyComponent, components[i].substring(1));
|