chrome-devtools-frontend 1.0.1512349 → 1.0.1513662
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/docs/cookbook/release_management.md +15 -13
- package/docs/get_the_code.md +114 -35
- package/front_end/core/common/Color.ts +40 -44
- package/front_end/core/common/Console.ts +4 -4
- package/front_end/core/common/ParsedURL.ts +14 -14
- package/front_end/core/common/ResourceType.ts +20 -20
- package/front_end/core/common/SegmentedRange.ts +13 -14
- package/front_end/core/common/Settings.ts +4 -4
- package/front_end/core/common/StringOutputStream.ts +4 -4
- package/front_end/core/host/GdpClient.ts +38 -0
- package/front_end/core/host/InspectorFrontendHost.ts +4 -1
- package/front_end/core/host/InspectorFrontendHostAPI.ts +2 -0
- package/front_end/core/host/ResourceLoader.ts +2 -2
- package/front_end/core/host/UserMetrics.ts +0 -2
- package/front_end/core/protocol_client/InspectorBackend.ts +9 -9
- package/front_end/core/root/Runtime.ts +5 -2
- package/front_end/core/sdk/AccessibilityModel.ts +48 -48
- package/front_end/core/sdk/AnimationModel.ts +78 -79
- package/front_end/core/sdk/CPUProfilerModel.ts +5 -5
- package/front_end/core/sdk/CPUThrottlingManager.ts +17 -17
- package/front_end/core/sdk/CSSMatchedStyles.ts +44 -44
- package/front_end/core/sdk/CSSMedia.ts +22 -22
- package/front_end/core/sdk/CSSModel.ts +4 -4
- package/front_end/core/sdk/CSSProperty.ts +9 -9
- package/front_end/core/sdk/CSSPropertyParser.ts +1 -2
- package/front_end/core/sdk/CSSRule.ts +3 -3
- package/front_end/core/sdk/CSSStyleDeclaration.ts +27 -28
- package/front_end/core/sdk/CSSStyleSheetHeader.ts +13 -13
- package/front_end/core/sdk/CategorizedBreakpoint.ts +4 -4
- package/front_end/core/sdk/ChildTargetManager.ts +6 -6
- package/front_end/core/sdk/CompilerSourceMappingContentProvider.ts +4 -4
- package/front_end/core/sdk/ConsoleModel.ts +24 -24
- package/front_end/core/sdk/Cookie.ts +16 -16
- package/front_end/core/sdk/CookieParser.ts +6 -6
- package/front_end/core/sdk/DOMDebuggerModel.ts +88 -89
- package/front_end/core/sdk/DOMModel.ts +113 -113
- package/front_end/core/sdk/DebuggerModel.ts +102 -103
- package/front_end/core/sdk/EmulationModel.ts +6 -6
- package/front_end/core/sdk/EventBreakpointsModel.ts +5 -5
- package/front_end/core/sdk/HeapProfilerModel.ts +5 -5
- package/front_end/core/sdk/IsolateManager.ts +26 -26
- package/front_end/core/sdk/LayerTreeBase.ts +29 -30
- package/front_end/core/sdk/OverlayModel.ts +6 -6
- package/front_end/core/sdk/Resource.ts +43 -43
- package/front_end/core/sdk/ResourceTreeModel.ts +58 -61
- package/front_end/core/sdk/RuntimeModel.ts +12 -13
- package/front_end/core/sdk/SDKModel.ts +3 -3
- package/front_end/core/sdk/Script.ts +17 -17
- package/front_end/core/sdk/SecurityOriginManager.ts +14 -14
- package/front_end/core/sdk/ServerTiming.ts +2 -2
- package/front_end/core/sdk/ServiceWorkerCacheModel.ts +15 -15
- package/front_end/core/sdk/ServiceWorkerManager.ts +19 -24
- package/front_end/core/sdk/SourceMap.ts +10 -10
- package/front_end/core/sdk/StorageKeyManager.ts +12 -12
- package/front_end/core/sdk/Target.ts +33 -34
- package/front_end/core/sdk/TargetManager.ts +20 -20
- package/front_end/entrypoints/formatter_worker/AcornTokenizer.ts +8 -8
- package/front_end/entrypoints/formatter_worker/HTMLFormatter.ts +7 -7
- package/front_end/entrypoints/heap_snapshot_worker/AllocationProfile.ts +7 -7
- package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +24 -24
- package/front_end/entrypoints/main/GlobalAiButton.ts +3 -3
- package/front_end/entrypoints/main/MainImpl.ts +16 -14
- package/front_end/entrypoints/main/main-meta.ts +1 -2
- package/front_end/generated/InspectorBackendCommands.js +3 -2
- package/front_end/generated/SupportedCSSProperties.js +20 -0
- package/front_end/generated/protocol-mapping.d.ts +4 -0
- package/front_end/generated/protocol-proxy-api.d.ts +5 -0
- package/front_end/generated/protocol.ts +20 -0
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +15 -16
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.snapshot.txt +127 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceInsightFormatter.ts +149 -26
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.snapshot.txt +6 -0
- package/front_end/models/ai_assistance/data_formatters/PerformanceTraceFormatter.ts +9 -10
- package/front_end/models/badges/AiExplorerBadge.ts +21 -0
- package/front_end/models/badges/Badge.ts +3 -5
- package/front_end/models/badges/CodeWhispererBadge.ts +21 -0
- package/front_end/models/badges/DOMDetectiveBadge.ts +4 -3
- package/front_end/models/badges/SpeedsterBadge.ts +6 -4
- package/front_end/models/badges/StarterBadge.ts +4 -3
- package/front_end/models/badges/UserBadges.ts +29 -3
- package/front_end/models/bindings/CSSWorkspaceBinding.ts +6 -6
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +18 -18
- package/front_end/models/bindings/FileUtils.ts +15 -15
- package/front_end/models/bindings/ResourceScriptMapping.ts +14 -14
- package/front_end/models/elements/ElementUpdateRecord.ts +11 -11
- package/front_end/models/emulation/DeviceModeModel.ts +123 -131
- package/front_end/models/emulation/EmulatedDevices.ts +22 -22
- package/front_end/models/extensions/ExtensionPanel.ts +24 -24
- package/front_end/models/extensions/ExtensionServer.ts +4 -4
- package/front_end/models/javascript_metadata/NativeFunctions.js +14 -2
- package/front_end/models/persistence/IsolatedFileSystem.ts +18 -19
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +13 -13
- package/front_end/models/trace/EventsSerializer.ts +5 -5
- package/front_end/models/trace/LanternComputationData.ts +10 -10
- package/front_end/models/trace/ModelImpl.ts +32 -41
- package/front_end/models/trace/Processor.ts +28 -30
- package/front_end/models/trace/extras/FilmStrip.ts +6 -6
- package/front_end/models/trace/extras/StackTraceForEvent.ts +22 -25
- package/front_end/models/trace/extras/ThirdParties.ts +16 -17
- package/front_end/models/trace/extras/TraceFilter.ts +1 -1
- package/front_end/models/trace/handlers/Threads.ts +10 -10
- package/front_end/models/trace/handlers/helpers.ts +9 -9
- package/front_end/models/trace/handlers/types.ts +3 -3
- package/front_end/models/trace/insights/CLSCulprits.ts +12 -14
- package/front_end/models/trace/insights/Cache.ts +8 -4
- package/front_end/models/trace/insights/DOMSize.ts +8 -5
- package/front_end/models/trace/insights/DocumentLatency.ts +2 -2
- package/front_end/models/trace/insights/DuplicatedJavaScript.ts +3 -3
- package/front_end/models/trace/insights/FontDisplay.ts +3 -4
- package/front_end/models/trace/insights/ForcedReflow.ts +3 -3
- package/front_end/models/trace/insights/INPBreakdown.ts +2 -2
- package/front_end/models/trace/insights/ImageDelivery.ts +11 -11
- package/front_end/models/trace/insights/LCPBreakdown.ts +4 -4
- package/front_end/models/trace/insights/LCPDiscovery.ts +4 -4
- package/front_end/models/trace/insights/LegacyJavaScript.ts +2 -2
- package/front_end/models/trace/insights/ModernHTTP.ts +4 -5
- package/front_end/models/trace/insights/NetworkDependencyTree.ts +12 -12
- package/front_end/models/trace/insights/RenderBlocking.ts +9 -10
- package/front_end/models/trace/insights/SlowCSSSelector.ts +2 -2
- package/front_end/models/trace/insights/ThirdParties.ts +4 -5
- package/front_end/models/trace/insights/Viewport.ts +8 -5
- package/front_end/models/trace/insights/types.ts +1 -0
- package/front_end/models/trace/lantern/testing/MetricTestUtils.ts +10 -10
- package/front_end/panels/accessibility/AXBreadcrumbsPane.ts +52 -52
- package/front_end/panels/accessibility/AccessibilitySidebarView.ts +8 -8
- package/front_end/panels/animation/AnimationTimeline.ts +5 -5
- package/front_end/panels/animation/AnimationUI.ts +22 -23
- package/front_end/panels/application/ApplicationPanelSidebar.ts +12 -12
- package/front_end/panels/application/DOMStorageModel.ts +23 -23
- package/front_end/panels/application/ExtensionStorageModel.ts +31 -31
- package/front_end/panels/application/IndexedDBModel.ts +1 -0
- package/front_end/panels/application/PreloadingTreeElement.ts +8 -8
- package/front_end/panels/application/ServiceWorkersView.ts +0 -53
- package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +2 -2
- package/front_end/panels/application/preloading/components/UsedPreloadingView.ts +2 -2
- package/front_end/panels/common/BadgeNotification.ts +24 -4
- package/front_end/panels/common/GdpSignUpDialog.ts +5 -0
- package/front_end/panels/common/badgeNotification.css +26 -9
- package/front_end/panels/console/ConsoleContextSelector.ts +9 -9
- package/front_end/panels/console/ConsolePrompt.ts +8 -5
- package/front_end/panels/console/ConsoleView.ts +13 -13
- package/front_end/panels/console/ConsoleViewport.ts +29 -29
- package/front_end/panels/coverage/CoverageModel.ts +22 -22
- package/front_end/panels/elements/ClassesPaneWidget.ts +1 -1
- package/front_end/panels/elements/ComputedStyleModel.ts +17 -18
- package/front_end/panels/elements/DOMPath.ts +2 -2
- package/front_end/panels/elements/ElementsPanel.ts +13 -13
- package/front_end/panels/elements/ElementsTreeElement.ts +18 -18
- package/front_end/panels/elements/ElementsTreeOutline.ts +41 -48
- package/front_end/panels/elements/ShortcutTreeElement.ts +4 -4
- package/front_end/panels/elements/StylePropertiesSection.ts +4 -4
- package/front_end/panels/elements/StylePropertyTreeElement.ts +49 -50
- package/front_end/panels/elements/StylesSidebarPane.ts +19 -19
- package/front_end/panels/emulation/DeviceModeToolbar.ts +7 -7
- package/front_end/panels/emulation/DeviceModeView.ts +6 -6
- package/front_end/panels/emulation/MediaQueryInspector.ts +18 -18
- package/front_end/panels/event_listeners/EventListenersView.ts +13 -14
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +3 -3
- package/front_end/panels/layer_viewer/LayerViewHost.ts +13 -13
- package/front_end/panels/layer_viewer/PaintProfilerView.ts +9 -10
- package/front_end/panels/layer_viewer/TransformController.ts +34 -36
- package/front_end/panels/layers/LayerTreeModel.ts +41 -40
- package/front_end/panels/lighthouse/LighthouseReportSelector.ts +13 -13
- package/front_end/panels/lighthouse/LighthouseStartView.ts +7 -7
- package/front_end/panels/media/PlayerMessagesView.ts +5 -5
- package/front_end/panels/media/TickingFlameChart.ts +24 -24
- package/front_end/panels/media/TickingFlameChartHelpers.ts +32 -32
- package/front_end/panels/network/NetworkItemView.ts +4 -4
- package/front_end/panels/network/NetworkLogViewColumns.ts +29 -29
- package/front_end/panels/network/NetworkPanel.ts +8 -5
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +10 -10
- package/front_end/panels/profiler/HeapDetachedElementsView.ts +3 -3
- package/front_end/panels/profiler/HeapProfileView.ts +1 -1
- package/front_end/panels/profiler/ProfileFlameChartDataProvider.ts +3 -4
- package/front_end/panels/profiler/ProfileHeader.ts +25 -25
- package/front_end/panels/profiler/ProfileLauncherView.ts +5 -6
- package/front_end/panels/recorder/components/ReplaySection.ts +3 -1
- package/front_end/panels/security/OriginTreeElement.ts +8 -8
- package/front_end/panels/security/SecurityPanel.ts +5 -5
- package/front_end/panels/settings/SettingsScreen.ts +18 -12
- package/front_end/panels/settings/components/SyncSection.ts +20 -6
- package/front_end/panels/sources/AiCodeCompletionPlugin.ts +3 -0
- package/front_end/panels/sources/DebuggerPausedMessage.ts +8 -9
- package/front_end/panels/sources/NavigatorView.ts +43 -46
- package/front_end/panels/sources/SourcesPanel.ts +35 -35
- package/front_end/panels/sources/SourcesView.ts +13 -13
- package/front_end/panels/sources/TabbedEditorContainer.ts +19 -22
- package/front_end/panels/sources/UISourceCodeFrame.ts +4 -4
- package/front_end/panels/sources/WatchExpressionsSidebarPane.ts +34 -36
- package/front_end/panels/timeline/AnimationsTrackAppender.ts +3 -3
- package/front_end/panels/timeline/CompatibilityTracksAppender.ts +8 -8
- package/front_end/panels/timeline/CountersGraph.ts +16 -16
- package/front_end/panels/timeline/EntriesFilter.ts +4 -3
- package/front_end/panels/timeline/EventsTimelineTreeView.ts +3 -3
- package/front_end/panels/timeline/GPUTrackAppender.ts +3 -3
- package/front_end/panels/timeline/Initiators.ts +10 -10
- package/front_end/panels/timeline/InteractionsTrackAppender.ts +5 -5
- package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +7 -7
- package/front_end/panels/timeline/ModificationsManager.ts +8 -15
- package/front_end/panels/timeline/TargetForEvent.ts +2 -2
- package/front_end/panels/timeline/ThirdPartyTreeView.ts +1 -1
- package/front_end/panels/timeline/ThreadAppender.ts +13 -13
- package/front_end/panels/timeline/TimelineDetailsView.ts +6 -14
- package/front_end/panels/timeline/TimelineEventOverview.ts +27 -26
- package/front_end/panels/timeline/TimelineFilters.ts +5 -5
- package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +54 -53
- package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +34 -34
- package/front_end/panels/timeline/TimelineFlameChartView.ts +18 -31
- package/front_end/panels/timeline/TimelineHistoryManager.ts +17 -18
- package/front_end/panels/timeline/TimelineMiniMap.ts +6 -6
- package/front_end/panels/timeline/TimelinePaintProfilerView.ts +6 -6
- package/front_end/panels/timeline/TimelinePanel.ts +52 -59
- package/front_end/panels/timeline/TimelineSelectorStatsView.ts +7 -5
- package/front_end/panels/timeline/TimelineTreeView.ts +10 -10
- package/front_end/panels/timeline/TimelineUIUtils.ts +43 -43
- package/front_end/panels/timeline/TimingsTrackAppender.ts +12 -12
- package/front_end/panels/timeline/TracingLayerTree.ts +43 -43
- package/front_end/panels/timeline/TrackConfigBanner.ts +6 -6
- package/front_end/panels/timeline/TrackConfiguration.ts +1 -1
- package/front_end/panels/timeline/components/DetailsView.ts +4 -4
- package/front_end/panels/timeline/components/LayoutShiftDetails.ts +12 -21
- package/front_end/panels/timeline/components/LiveMetricsView.ts +2 -1
- package/front_end/panels/timeline/components/NetworkRequestDetails.ts +5 -5
- package/front_end/panels/timeline/components/Sidebar.ts +4 -14
- package/front_end/panels/timeline/components/SidebarInsightsTab.ts +13 -36
- package/front_end/panels/timeline/components/SidebarSingleInsightSet.ts +21 -19
- package/front_end/panels/timeline/components/insights/BaseInsightComponent.ts +1 -1
- package/front_end/panels/timeline/components/insights/Cache.ts +4 -0
- package/front_end/panels/timeline/components/insights/DOMSize.ts +5 -1
- package/front_end/panels/timeline/components/insights/Helpers.ts +19 -0
- package/front_end/panels/timeline/components/insights/NetworkDependencyTree.ts +1 -1
- package/front_end/panels/timeline/components/insights/Viewport.ts +4 -0
- package/front_end/panels/timeline/overlays/OverlaysImpl.ts +1 -1
- package/front_end/panels/timeline/utils/AICallTree.ts +11 -11
- package/front_end/panels/timeline/utils/AIContext.ts +17 -19
- package/front_end/panels/timeline/utils/EntityMapper.ts +6 -5
- package/front_end/panels/timeline/utils/EntryName.ts +2 -2
- package/front_end/panels/timeline/utils/EntryNodes.ts +5 -5
- package/front_end/panels/timeline/utils/EntryStyles.ts +4 -4
- package/front_end/panels/timeline/utils/FreshRecording.ts +3 -3
- package/front_end/panels/timeline/utils/Helpers.ts +0 -18
- package/front_end/panels/timeline/utils/InsightAIContext.ts +6 -6
- package/front_end/panels/timeline/utils/SourceMapsResolver.ts +7 -7
- package/front_end/panels/webauthn/WebauthnPane.ts +1 -0
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/angular.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/cpp.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/java.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/java.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/legacy.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/legacy.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/less.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/php.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/sass.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/vue.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/wast.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/wast.js.map +1 -1
- package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
- package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
- package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
- package/front_end/third_party/codemirror.next/package.json +1 -1
- package/front_end/third_party/codemirror.next/rebuild.sh +1 -1
- package/front_end/third_party/json5/rebuild.sh +1 -1
- package/front_end/third_party/legacy-javascript/{update.sh → rebuild.sh} +1 -1
- package/front_end/third_party/lit/lib/decorators.d.ts +26 -9
- package/front_end/third_party/lit/lib/decorators.js +5 -5
- package/front_end/third_party/lit/lib/decorators.js.map +1 -1
- package/front_end/third_party/lit/lib/directive.js.map +1 -1
- package/front_end/third_party/lit/lib/directives.js +8 -13
- package/front_end/third_party/lit/lib/directives.js.map +1 -1
- package/front_end/third_party/lit/lib/lit.d.ts +26 -9
- package/front_end/third_party/lit/lib/lit.js +5 -5
- package/front_end/third_party/lit/lib/lit.js.map +1 -1
- package/front_end/third_party/lit/lib/static-html.js +2 -2
- package/front_end/third_party/lit/lib/static-html.js.map +1 -1
- package/front_end/third_party/lit/rebuild.sh +1 -1
- package/front_end/third_party/third-party-web/rebuild.sh +1 -1
- package/front_end/ui/components/dialogs/Dialog.ts +6 -7
- package/front_end/ui/legacy/ActionRegistration.ts +9 -9
- package/front_end/ui/legacy/DockController.ts +18 -18
- package/front_end/ui/legacy/FilterBar.ts +7 -7
- package/front_end/ui/legacy/Fragment.ts +4 -4
- package/front_end/ui/legacy/GlassPane.ts +12 -12
- package/front_end/ui/legacy/InspectorView.ts +5 -15
- package/front_end/ui/legacy/ListControl.ts +27 -27
- package/front_end/ui/legacy/ListWidget.ts +4 -4
- package/front_end/ui/legacy/PopoverHelper.ts +4 -4
- package/front_end/ui/legacy/ShortcutRegistry.ts +17 -17
- package/front_end/ui/legacy/TabbedPane.ts +74 -75
- package/front_end/ui/legacy/TextPrompt.ts +31 -31
- package/front_end/ui/legacy/Toolbar.ts +13 -14
- package/front_end/ui/legacy/ViewManager.ts +30 -31
- package/front_end/ui/legacy/Widget.ts +6 -6
- package/front_end/ui/legacy/XLink.ts +9 -9
- package/front_end/ui/legacy/ZoomManager.ts +9 -9
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +27 -27
- package/front_end/ui/legacy/components/color_picker/ContrastInfo.ts +30 -32
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +15 -15
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +64 -64
- package/front_end/ui/legacy/components/data_grid/ShowMoreDataGridNode.ts +2 -2
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +10 -11
- package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +12 -12
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +3 -3
- package/front_end/ui/legacy/components/perf_ui/TimelineGrid.ts +14 -14
- package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +8 -8
- package/front_end/ui/legacy/components/quick_open/CommandMenu.ts +5 -5
- package/front_end/ui/legacy/components/source_frame/ResourceSourceFrame.ts +4 -4
- package/front_end/ui/legacy/theme_support/ThemeSupport.ts +4 -4
- package/front_end/ui/visual_logging/KnownContextValues.ts +2 -2
- package/package.json +1 -1
@@ -29,7 +29,7 @@ const str_ = i18n.i18n.registerUIStrings('core/sdk/CSSStyleSheetHeader.ts', UISt
|
|
29
29
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
30
30
|
|
31
31
|
export class CSSStyleSheetHeader implements TextUtils.ContentProvider.ContentProvider, FrameAssociated {
|
32
|
-
#
|
32
|
+
#cssModel: CSSModel;
|
33
33
|
id: Protocol.CSS.StyleSheetId;
|
34
34
|
frameId: Protocol.Page.FrameId;
|
35
35
|
sourceURL: Platform.DevToolsPath.UrlString;
|
@@ -48,10 +48,10 @@ export class CSSStyleSheetHeader implements TextUtils.ContentProvider.ContentPro
|
|
48
48
|
ownerNode: DeferredDOMNode|undefined;
|
49
49
|
sourceMapURL: Platform.DevToolsPath.UrlString|undefined;
|
50
50
|
readonly loadingFailed: boolean;
|
51
|
-
#
|
51
|
+
#originalContentProvider: TextUtils.StaticContentProvider.StaticContentProvider|null;
|
52
52
|
|
53
53
|
constructor(cssModel: CSSModel, payload: Protocol.CSS.CSSStyleSheetHeader) {
|
54
|
-
this.#
|
54
|
+
this.#cssModel = cssModel;
|
55
55
|
this.id = payload.styleSheetId;
|
56
56
|
this.frameId = payload.frameId;
|
57
57
|
this.sourceURL = payload.sourceURL as Platform.DevToolsPath.UrlString;
|
@@ -72,22 +72,22 @@ export class CSSStyleSheetHeader implements TextUtils.ContentProvider.ContentPro
|
|
72
72
|
}
|
73
73
|
this.sourceMapURL = payload.sourceMapURL as Platform.DevToolsPath.UrlString;
|
74
74
|
this.loadingFailed = payload.loadingFailed ?? false;
|
75
|
-
this.#
|
75
|
+
this.#originalContentProvider = null;
|
76
76
|
}
|
77
77
|
|
78
78
|
originalContentProvider(): TextUtils.ContentProvider.ContentProvider {
|
79
|
-
if (!this.#
|
79
|
+
if (!this.#originalContentProvider) {
|
80
80
|
const lazyContent = (async(): Promise<TextUtils.ContentData.ContentDataOrError> => {
|
81
|
-
const originalText = await this.#
|
81
|
+
const originalText = await this.#cssModel.originalStyleSheetText(this);
|
82
82
|
if (originalText === null) {
|
83
83
|
return {error: i18nString(UIStrings.couldNotFindTheOriginalStyle)};
|
84
84
|
}
|
85
85
|
return new TextUtils.ContentData.ContentData(originalText, /* isBase64=*/ false, 'text/css');
|
86
86
|
});
|
87
|
-
this.#
|
87
|
+
this.#originalContentProvider =
|
88
88
|
new TextUtils.StaticContentProvider.StaticContentProvider(this.contentURL(), this.contentType(), lazyContent);
|
89
89
|
}
|
90
|
-
return this.#
|
90
|
+
return this.#originalContentProvider;
|
91
91
|
}
|
92
92
|
|
93
93
|
setSourceMapURL(sourceMapURL?: Platform.DevToolsPath.UrlString): void {
|
@@ -95,11 +95,11 @@ export class CSSStyleSheetHeader implements TextUtils.ContentProvider.ContentPro
|
|
95
95
|
}
|
96
96
|
|
97
97
|
cssModel(): CSSModel {
|
98
|
-
return this.#
|
98
|
+
return this.#cssModel;
|
99
99
|
}
|
100
100
|
|
101
101
|
isAnonymousInlineStyleSheet(): boolean {
|
102
|
-
return !this.resourceURL() && !this.#
|
102
|
+
return !this.resourceURL() && !this.#cssModel.sourceMapManager().sourceMapForClient(this);
|
103
103
|
}
|
104
104
|
|
105
105
|
isConstructedByNew(): boolean {
|
@@ -111,7 +111,7 @@ export class CSSStyleSheetHeader implements TextUtils.ContentProvider.ContentPro
|
|
111
111
|
}
|
112
112
|
|
113
113
|
private getFrameURLPath(): string {
|
114
|
-
const model = this.#
|
114
|
+
const model = this.#cssModel.target().model(ResourceTreeModel);
|
115
115
|
console.assert(Boolean(model));
|
116
116
|
if (!model) {
|
117
117
|
return '';
|
@@ -165,7 +165,7 @@ export class CSSStyleSheetHeader implements TextUtils.ContentProvider.ContentPro
|
|
165
165
|
}
|
166
166
|
|
167
167
|
async requestContentData(): Promise<TextUtils.ContentData.ContentDataOrError> {
|
168
|
-
const cssText = await this.#
|
168
|
+
const cssText = await this.#cssModel.getStyleSheetText(this.id);
|
169
169
|
if (cssText === null) {
|
170
170
|
return {error: i18nString(UIStrings.thereWasAnErrorRetrievingThe)};
|
171
171
|
}
|
@@ -184,7 +184,7 @@ export class CSSStyleSheetHeader implements TextUtils.ContentProvider.ContentPro
|
|
184
184
|
|
185
185
|
createPageResourceLoadInitiator(): PageResourceLoadInitiator {
|
186
186
|
return {
|
187
|
-
target: this.#
|
187
|
+
target: this.#cssModel.target(),
|
188
188
|
frameId: this.frameId,
|
189
189
|
initiatorUrl: this.hasSourceURL ? Platform.DevToolsPath.EmptyUrlString : this.sourceURL,
|
190
190
|
};
|
@@ -42,12 +42,12 @@ export class CategorizedBreakpoint {
|
|
42
42
|
readonly name: string;
|
43
43
|
|
44
44
|
readonly #category: Category;
|
45
|
-
|
45
|
+
#enabled: boolean;
|
46
46
|
|
47
47
|
constructor(category: Category, name: string) {
|
48
48
|
this.#category = category;
|
49
49
|
this.name = name;
|
50
|
-
this
|
50
|
+
this.#enabled = false;
|
51
51
|
}
|
52
52
|
|
53
53
|
category(): Category {
|
@@ -55,10 +55,10 @@ export class CategorizedBreakpoint {
|
|
55
55
|
}
|
56
56
|
|
57
57
|
enabled(): boolean {
|
58
|
-
return this
|
58
|
+
return this.#enabled;
|
59
59
|
}
|
60
60
|
|
61
61
|
setEnabled(enabled: boolean): void {
|
62
|
-
this
|
62
|
+
this.#enabled = enabled;
|
63
63
|
}
|
64
64
|
}
|
@@ -31,7 +31,7 @@ export class ChildTargetManager extends SDKModel<EventTypes> implements Protocol
|
|
31
31
|
readonly #targetManager: TargetManager;
|
32
32
|
#parentTarget: Target;
|
33
33
|
readonly #targetAgent: ProtocolProxyApi.TargetApi;
|
34
|
-
readonly #
|
34
|
+
readonly #targetInfos = new Map<Protocol.Target.TargetID, Protocol.Target.TargetInfo>();
|
35
35
|
readonly #childTargetsBySessionId = new Map<Protocol.Target.SessionID, Target>();
|
36
36
|
readonly #childTargetsById = new Map<Protocol.Target.TargetID|'main', Target>();
|
37
37
|
readonly #parallelConnections = new Map<string, ProtocolClient.InspectorBackend.Connection>();
|
@@ -88,13 +88,13 @@ export class ChildTargetManager extends SDKModel<EventTypes> implements Protocol
|
|
88
88
|
}
|
89
89
|
|
90
90
|
targetCreated({targetInfo}: Protocol.Target.TargetCreatedEvent): void {
|
91
|
-
this.#
|
91
|
+
this.#targetInfos.set(targetInfo.targetId, targetInfo);
|
92
92
|
this.fireAvailableTargetsChanged();
|
93
93
|
this.dispatchEventToListeners(Events.TARGET_CREATED, targetInfo);
|
94
94
|
}
|
95
95
|
|
96
96
|
targetInfoChanged({targetInfo}: Protocol.Target.TargetInfoChangedEvent): void {
|
97
|
-
this.#
|
97
|
+
this.#targetInfos.set(targetInfo.targetId, targetInfo);
|
98
98
|
const target = this.#childTargetsById.get(targetInfo.targetId);
|
99
99
|
if (target) {
|
100
100
|
void target.setHasCrashed(false);
|
@@ -114,7 +114,7 @@ export class ChildTargetManager extends SDKModel<EventTypes> implements Protocol
|
|
114
114
|
}
|
115
115
|
|
116
116
|
targetDestroyed({targetId}: Protocol.Target.TargetDestroyedEvent): void {
|
117
|
-
this.#
|
117
|
+
this.#targetInfos.delete(targetId);
|
118
118
|
this.fireAvailableTargetsChanged();
|
119
119
|
this.dispatchEventToListeners(Events.TARGET_DESTROYED, targetId);
|
120
120
|
}
|
@@ -128,7 +128,7 @@ export class ChildTargetManager extends SDKModel<EventTypes> implements Protocol
|
|
128
128
|
|
129
129
|
private fireAvailableTargetsChanged(): void {
|
130
130
|
TargetManager.instance().dispatchEventToListeners(
|
131
|
-
TargetManagerEvents.AVAILABLE_TARGETS_CHANGED, [...this.#
|
131
|
+
TargetManagerEvents.AVAILABLE_TARGETS_CHANGED, [...this.#targetInfos.values()]);
|
132
132
|
}
|
133
133
|
|
134
134
|
async getParentTargetId(): Promise<Protocol.Target.TargetID> {
|
@@ -253,7 +253,7 @@ export class ChildTargetManager extends SDKModel<EventTypes> implements Protocol
|
|
253
253
|
}
|
254
254
|
|
255
255
|
targetInfos(): Protocol.Target.TargetInfo[] {
|
256
|
-
return Array.from(this.#
|
256
|
+
return Array.from(this.#targetInfos.values());
|
257
257
|
}
|
258
258
|
|
259
259
|
private static lastAnonymousTargetId = 0;
|
@@ -49,14 +49,14 @@ const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
|
49
49
|
|
50
50
|
export class CompilerSourceMappingContentProvider implements TextUtils.ContentProvider.ContentProvider {
|
51
51
|
readonly #sourceURL: Platform.DevToolsPath.UrlString;
|
52
|
-
readonly #
|
52
|
+
readonly #contentType: Common.ResourceType.ResourceType;
|
53
53
|
readonly #initiator: PageResourceLoadInitiator;
|
54
54
|
|
55
55
|
constructor(
|
56
56
|
sourceURL: Platform.DevToolsPath.UrlString, contentType: Common.ResourceType.ResourceType,
|
57
57
|
initiator: PageResourceLoadInitiator) {
|
58
58
|
this.#sourceURL = sourceURL;
|
59
|
-
this.#
|
59
|
+
this.#contentType = contentType;
|
60
60
|
this.#initiator = initiator;
|
61
61
|
}
|
62
62
|
|
@@ -65,14 +65,14 @@ export class CompilerSourceMappingContentProvider implements TextUtils.ContentPr
|
|
65
65
|
}
|
66
66
|
|
67
67
|
contentType(): Common.ResourceType.ResourceType {
|
68
|
-
return this.#
|
68
|
+
return this.#contentType;
|
69
69
|
}
|
70
70
|
|
71
71
|
async requestContentData(): Promise<TextUtils.ContentData.ContentDataOrError> {
|
72
72
|
try {
|
73
73
|
const {content} = await PageResourceLoader.instance().loadResource(this.#sourceURL, this.#initiator);
|
74
74
|
return new TextUtils.ContentData.ContentData(
|
75
|
-
content, /* isBase64=*/ false, this.#
|
75
|
+
content, /* isBase64=*/ false, this.#contentType.canonicalMimeType());
|
76
76
|
} catch (e) {
|
77
77
|
const error = i18nString(UIStrings.couldNotLoadContentForSS, {PH1: this.#sourceURL, PH2: e.message});
|
78
78
|
console.error(error);
|
@@ -97,12 +97,12 @@ const str_ = i18n.i18n.registerUIStrings('core/sdk/ConsoleModel.ts', UIStrings);
|
|
97
97
|
const i18nString = i18n.i18n.getLocalizedString.bind(undefined, str_);
|
98
98
|
|
99
99
|
export class ConsoleModel extends SDKModel<EventTypes> {
|
100
|
-
#
|
100
|
+
#messages: ConsoleMessage[] = [];
|
101
101
|
readonly #messagesByTimestamp = new Platform.MapUtilities.Multimap<number, ConsoleMessage>();
|
102
102
|
readonly #messageByExceptionId = new Map<RuntimeModel, Map<number, ConsoleMessage>>();
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
103
|
+
#warnings = 0;
|
104
|
+
#errors = 0;
|
105
|
+
#violations = 0;
|
106
106
|
#pageLoadSequenceNumber = 0;
|
107
107
|
readonly #targetListeners = new WeakMap<Target, Common.EventTarget.EventDescriptor[]>();
|
108
108
|
|
@@ -207,7 +207,7 @@ export class ConsoleModel extends SDKModel<EventTypes> {
|
|
207
207
|
this.clearIfNecessary();
|
208
208
|
}
|
209
209
|
|
210
|
-
this.#
|
210
|
+
this.#messages.push(msg);
|
211
211
|
this.#messagesByTimestamp.set(msg.timestamp, msg);
|
212
212
|
const runtimeModel = msg.runtimeModel();
|
213
213
|
const exceptionId = msg.getExceptionId();
|
@@ -241,7 +241,7 @@ export class ConsoleModel extends SDKModel<EventTypes> {
|
|
241
241
|
if (!exceptionMessage) {
|
242
242
|
return;
|
243
243
|
}
|
244
|
-
this.#
|
244
|
+
this.#errors--;
|
245
245
|
exceptionMessage.level = Protocol.Log.LogEntryLevel.Verbose;
|
246
246
|
this.dispatchEventToListeners(Events.MessageUpdated, exceptionMessage);
|
247
247
|
}
|
@@ -361,21 +361,21 @@ export class ConsoleModel extends SDKModel<EventTypes> {
|
|
361
361
|
|
362
362
|
private incrementErrorWarningCount(msg: ConsoleMessage): void {
|
363
363
|
if (msg.source === Protocol.Log.LogEntrySource.Violation) {
|
364
|
-
this.#
|
364
|
+
this.#violations++;
|
365
365
|
return;
|
366
366
|
}
|
367
367
|
switch (msg.level) {
|
368
368
|
case Protocol.Log.LogEntryLevel.Warning:
|
369
|
-
this.#
|
369
|
+
this.#warnings++;
|
370
370
|
break;
|
371
371
|
case Protocol.Log.LogEntryLevel.Error:
|
372
|
-
this.#
|
372
|
+
this.#errors++;
|
373
373
|
break;
|
374
374
|
}
|
375
375
|
}
|
376
376
|
|
377
377
|
messages(): ConsoleMessage[] {
|
378
|
-
return this.#
|
378
|
+
return this.#messages;
|
379
379
|
}
|
380
380
|
|
381
381
|
// messages[] are not ordered by timestamp.
|
@@ -403,17 +403,17 @@ export class ConsoleModel extends SDKModel<EventTypes> {
|
|
403
403
|
}
|
404
404
|
|
405
405
|
private clear(): void {
|
406
|
-
this.#
|
406
|
+
this.#messages = [];
|
407
407
|
this.#messagesByTimestamp.clear();
|
408
408
|
this.#messageByExceptionId.clear();
|
409
|
-
this.#
|
410
|
-
this.#
|
411
|
-
this.#
|
409
|
+
this.#errors = 0;
|
410
|
+
this.#warnings = 0;
|
411
|
+
this.#violations = 0;
|
412
412
|
this.dispatchEventToListeners(Events.ConsoleCleared);
|
413
413
|
}
|
414
414
|
|
415
415
|
errors(): number {
|
416
|
-
return this.#
|
416
|
+
return this.#errors;
|
417
417
|
}
|
418
418
|
|
419
419
|
static allErrors(): number {
|
@@ -425,7 +425,7 @@ export class ConsoleModel extends SDKModel<EventTypes> {
|
|
425
425
|
}
|
426
426
|
|
427
427
|
warnings(): number {
|
428
|
-
return this.#
|
428
|
+
return this.#warnings;
|
429
429
|
}
|
430
430
|
|
431
431
|
static allWarnings(): number {
|
@@ -437,7 +437,7 @@ export class ConsoleModel extends SDKModel<EventTypes> {
|
|
437
437
|
}
|
438
438
|
|
439
439
|
violations(): number {
|
440
|
-
return this.#
|
440
|
+
return this.#violations;
|
441
441
|
}
|
442
442
|
|
443
443
|
async saveToTempVariable(currentExecutionContext: ExecutionContext|null, remoteObject: RemoteObject|null):
|
@@ -575,7 +575,7 @@ export interface ConsoleMessageDetails {
|
|
575
575
|
}
|
576
576
|
|
577
577
|
export class ConsoleMessage {
|
578
|
-
readonly #
|
578
|
+
readonly #runtimeModel: RuntimeModel|null;
|
579
579
|
source: MessageSource;
|
580
580
|
level: Protocol.Log.LogEntryLevel|null;
|
581
581
|
messageText: string;
|
@@ -610,7 +610,7 @@ export class ConsoleMessage {
|
|
610
610
|
constructor(
|
611
611
|
runtimeModel: RuntimeModel|null, source: MessageSource, level: Protocol.Log.LogEntryLevel|null,
|
612
612
|
messageText: string, details?: ConsoleMessageDetails) {
|
613
|
-
this.#
|
613
|
+
this.#runtimeModel = runtimeModel;
|
614
614
|
this.source = source;
|
615
615
|
this.level = (level);
|
616
616
|
this.messageText = messageText;
|
@@ -628,11 +628,11 @@ export class ConsoleMessage {
|
|
628
628
|
this.category = details?.category;
|
629
629
|
this.isCookieReportIssue = Boolean(details?.isCookieReportIssue);
|
630
630
|
|
631
|
-
if (!this.#executionContextId && this.#
|
631
|
+
if (!this.#executionContextId && this.#runtimeModel) {
|
632
632
|
if (this.scriptId) {
|
633
|
-
this.#executionContextId = this.#
|
633
|
+
this.#executionContextId = this.#runtimeModel.executionContextIdForScriptId(this.scriptId);
|
634
634
|
} else if (this.stackTrace) {
|
635
|
-
this.#executionContextId = this.#
|
635
|
+
this.#executionContextId = this.#runtimeModel.executionContextForStackTrace(this.stackTrace);
|
636
636
|
}
|
637
637
|
}
|
638
638
|
|
@@ -680,11 +680,11 @@ export class ConsoleMessage {
|
|
680
680
|
}
|
681
681
|
|
682
682
|
runtimeModel(): RuntimeModel|null {
|
683
|
-
return this.#
|
683
|
+
return this.#runtimeModel;
|
684
684
|
}
|
685
685
|
|
686
686
|
target(): Target|null {
|
687
|
-
return this.#
|
687
|
+
return this.#runtimeModel ? this.#runtimeModel.target() : null;
|
688
688
|
}
|
689
689
|
|
690
690
|
setOriginatingMessage(originatingMessage: ConsoleMessage): void {
|
@@ -8,22 +8,22 @@ import type * as Platform from '../platform/platform.js';
|
|
8
8
|
const OPAQUE_PARTITION_KEY = '<opaque>';
|
9
9
|
|
10
10
|
export class Cookie {
|
11
|
-
readonly #
|
12
|
-
readonly #
|
13
|
-
readonly #
|
11
|
+
readonly #name: string;
|
12
|
+
readonly #value: string;
|
13
|
+
readonly #type: Type|null|undefined;
|
14
14
|
#attributes = new Map<Attribute, string|number|boolean|undefined>();
|
15
|
-
#
|
16
|
-
#
|
15
|
+
#size = 0;
|
16
|
+
#priority: Protocol.Network.CookiePriority;
|
17
17
|
#cookieLine: string|null = null;
|
18
18
|
#partitionKey: Protocol.Network.CookiePartitionKey|undefined;
|
19
19
|
|
20
20
|
constructor(
|
21
21
|
name: string, value: string, type?: Type|null, priority?: Protocol.Network.CookiePriority,
|
22
22
|
partitionKey?: Protocol.Network.CookiePartitionKey) {
|
23
|
-
this.#
|
24
|
-
this.#
|
25
|
-
this.#
|
26
|
-
this.#
|
23
|
+
this.#name = name;
|
24
|
+
this.#value = value;
|
25
|
+
this.#type = type;
|
26
|
+
this.#priority = (priority || 'Medium' as Protocol.Network.CookiePriority);
|
27
27
|
this.#partitionKey = partitionKey;
|
28
28
|
}
|
29
29
|
|
@@ -70,15 +70,15 @@ export class Cookie {
|
|
70
70
|
}
|
71
71
|
|
72
72
|
name(): string {
|
73
|
-
return this.#
|
73
|
+
return this.#name;
|
74
74
|
}
|
75
75
|
|
76
76
|
value(): string {
|
77
|
-
return this.#
|
77
|
+
return this.#value;
|
78
78
|
}
|
79
79
|
|
80
80
|
type(): Type|null|undefined {
|
81
|
-
return this.#
|
81
|
+
return this.#type;
|
82
82
|
}
|
83
83
|
|
84
84
|
httpOnly(): boolean {
|
@@ -148,7 +148,7 @@ export class Cookie {
|
|
148
148
|
}
|
149
149
|
|
150
150
|
priority(): Protocol.Network.CookiePriority {
|
151
|
-
return this.#
|
151
|
+
return this.#priority;
|
152
152
|
}
|
153
153
|
|
154
154
|
session(): boolean {
|
@@ -182,7 +182,7 @@ export class Cookie {
|
|
182
182
|
}
|
183
183
|
|
184
184
|
size(): number {
|
185
|
-
return this.#
|
185
|
+
return this.#size;
|
186
186
|
}
|
187
187
|
|
188
188
|
/**
|
@@ -205,7 +205,7 @@ export class Cookie {
|
|
205
205
|
}
|
206
206
|
|
207
207
|
setSize(size: number): void {
|
208
|
-
this.#
|
208
|
+
this.#size = size;
|
209
209
|
}
|
210
210
|
|
211
211
|
expiresDate(requestDate: Date): Date|null {
|
@@ -227,7 +227,7 @@ export class Cookie {
|
|
227
227
|
}
|
228
228
|
switch (key) {
|
229
229
|
case Attribute.PRIORITY:
|
230
|
-
this.#
|
230
|
+
this.#priority = (value as Protocol.Network.CookiePriority);
|
231
231
|
break;
|
232
232
|
default:
|
233
233
|
this.#attributes.set(key, value);
|
@@ -39,7 +39,7 @@ import {Attribute, Cookie, Type} from './Cookie.js';
|
|
39
39
|
|
40
40
|
export class CookieParser {
|
41
41
|
readonly #domain: string|undefined;
|
42
|
-
#
|
42
|
+
#cookies: Cookie[];
|
43
43
|
#input!: string|undefined;
|
44
44
|
#originalInputLength: number;
|
45
45
|
#lastCookie?: Cookie|null;
|
@@ -52,7 +52,7 @@ export class CookieParser {
|
|
52
52
|
this.#domain = domain.toLowerCase().replace(/^\./, '');
|
53
53
|
}
|
54
54
|
|
55
|
-
this.#
|
55
|
+
this.#cookies = [];
|
56
56
|
|
57
57
|
this.#originalInputLength = 0;
|
58
58
|
}
|
@@ -100,7 +100,7 @@ export class CookieParser {
|
|
100
100
|
}
|
101
101
|
|
102
102
|
cookies(): Cookie[] {
|
103
|
-
return this.#
|
103
|
+
return this.#cookies;
|
104
104
|
}
|
105
105
|
|
106
106
|
parseSetCookie(setCookieHeader: string|undefined): Cookie[]|null {
|
@@ -118,7 +118,7 @@ export class CookieParser {
|
|
118
118
|
}
|
119
119
|
}
|
120
120
|
this.flushCookie();
|
121
|
-
return this.#
|
121
|
+
return this.#cookies;
|
122
122
|
}
|
123
123
|
|
124
124
|
private initialize(headerValue: string|undefined): boolean {
|
@@ -128,7 +128,7 @@ export class CookieParser {
|
|
128
128
|
return false;
|
129
129
|
}
|
130
130
|
|
131
|
-
this.#
|
131
|
+
this.#cookies = [];
|
132
132
|
this.#lastCookie = null;
|
133
133
|
this.#lastCookieLine = '';
|
134
134
|
this.#originalInputLength = (this.#input as string).length;
|
@@ -195,7 +195,7 @@ export class CookieParser {
|
|
195
195
|
this.#lastCookie.addAttribute(Attribute.DOMAIN, this.#domain);
|
196
196
|
}
|
197
197
|
this.#lastCookiePosition = keyValue.position;
|
198
|
-
this.#
|
198
|
+
this.#cookies.push(this.#lastCookie);
|
199
199
|
}
|
200
200
|
}
|
201
201
|
|