chrome-devtools-frontend 1.0.1690531 → 1.0.1695017
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-model-management/SKILL.md +3 -3
- package/.agents/skills/foundation-test-migration/SKILL.md +2 -2
- package/.agents/skills/merging-devtools-module/SKILL.md +5 -5
- package/.gitmodules +0 -4
- package/AUTHORS +3 -0
- package/config/typescript/tsconfig.base.json +1 -0
- package/docs/get_the_code.md +4 -9
- package/front_end/Images/src/comment-mode-cursor.svg +23 -0
- package/front_end/Tests.js +1 -1
- package/front_end/application_tokens.css +5 -0
- package/front_end/core/common/ColorConverter.ts +3 -3
- package/front_end/core/host/UserMetrics.ts +27 -0
- package/front_end/core/protocol_client/DevToolsCDPConnection.ts +0 -46
- package/front_end/core/protocol_client/InspectorBackend.ts +6 -6
- package/front_end/core/sdk/CSSLocation.ts +32 -0
- package/front_end/core/sdk/CSSModel.ts +2 -22
- package/front_end/core/sdk/CSSQuery.ts +2 -1
- package/front_end/core/sdk/CSSRule.ts +29 -0
- package/front_end/core/sdk/DebuggerModel.ts +5 -1
- package/front_end/core/sdk/NetworkManager.ts +2 -0
- package/front_end/core/sdk/NetworkRequest.ts +14 -1
- package/front_end/core/sdk/NetworkRequestAccess.ts +41 -22
- package/front_end/core/sdk/ResourceTreeModel.ts +72 -23
- package/front_end/core/sdk/SecurityOrigin.ts +89 -29
- package/front_end/core/sdk/Target.ts +18 -0
- package/front_end/core/sdk/sdk.ts +2 -0
- package/front_end/entrypoints/main/MainImpl.ts +8 -1
- package/front_end/foundation/Universe.ts +14 -11
- package/front_end/generated/Deprecation.ts +8 -0
- package/front_end/generated/InspectorBackendCommands.ts +9 -8
- package/front_end/generated/SupportedCSSProperties.ts +13 -3
- package/front_end/generated/protocol.ts +24 -0
- package/front_end/models/ai_assistance/AiAgent2.ts +42 -9
- package/front_end/models/ai_assistance/AiConversation.ts +6 -6
- package/front_end/models/ai_assistance/README.md +5 -3
- package/front_end/models/ai_assistance/agents/AccessibilityAgent.ts +1 -0
- package/front_end/models/ai_assistance/agents/AiAgent.ts +28 -34
- package/front_end/models/ai_assistance/agents/ContextSelectionAgent.ts +13 -17
- package/front_end/models/ai_assistance/agents/PerformanceAgent.ts +5 -3
- package/front_end/models/ai_assistance/agents/StorageAgent.ts +16 -10
- package/front_end/models/ai_assistance/agents/StylingAgent.ts +3 -4
- package/front_end/models/ai_assistance/ai_assistance.ts +0 -2
- package/front_end/models/ai_assistance/contexts/AccessibilityContext.ts +11 -2
- package/front_end/models/ai_assistance/contexts/DOMNodeContext.ts +17 -5
- package/front_end/models/ai_assistance/contexts/FileContext.ts +13 -6
- package/front_end/models/ai_assistance/contexts/PerformanceTraceContext.ts +52 -25
- package/front_end/models/ai_assistance/contexts/RequestContext.ts +18 -34
- package/front_end/models/ai_assistance/contexts/StorageContext.ts +14 -3
- package/front_end/models/ai_assistance/data_formatters/FileFormatter.ts +2 -5
- package/front_end/models/ai_assistance/data_formatters/NetworkRequestFormatter.ts +135 -58
- package/front_end/models/ai_assistance/tools/CookieUtils.ts +25 -35
- package/front_end/models/ai_assistance/tools/DOMStorageUtils.ts +6 -3
- package/front_end/models/ai_assistance/tools/ExecuteJavaScript.ts +9 -2
- package/front_end/models/ai_assistance/tools/GetCookieValues.ts +1 -1
- package/front_end/models/ai_assistance/tools/GetElementAccessibilityDetails.ts +3 -2
- package/front_end/models/ai_assistance/tools/GetFunctionCode.ts +3 -5
- package/front_end/models/ai_assistance/tools/GetInsightDetails.ts +1 -1
- package/front_end/models/ai_assistance/tools/GetNetworkRequestDetails.ts +8 -11
- package/front_end/models/ai_assistance/tools/GetResourceContent.ts +2 -4
- package/front_end/models/ai_assistance/tools/GetSourceContent.ts +6 -13
- package/front_end/models/ai_assistance/tools/GetStorageBreakdown.ts +1 -1
- package/front_end/models/ai_assistance/tools/GetStorageValues.ts +9 -9
- package/front_end/models/ai_assistance/tools/GetStyles.ts +3 -2
- package/front_end/models/ai_assistance/tools/ListCookies.ts +1 -1
- package/front_end/models/ai_assistance/tools/ListNetworkRequests.ts +6 -14
- package/front_end/models/ai_assistance/tools/ListPageOrigins.ts +10 -15
- package/front_end/models/ai_assistance/tools/ListSources.ts +5 -7
- package/front_end/models/ai_assistance/tools/ListStorageKeys.ts +9 -9
- package/front_end/models/ai_assistance/tools/README.md +4 -2
- package/front_end/models/ai_assistance/tools/ResolveDevtoolsNodePath.ts +3 -2
- package/front_end/models/ai_assistance/tools/Tool.ts +27 -3
- package/front_end/models/comment_manager/CD4ABridge.ts +128 -0
- package/front_end/models/comment_manager/CommentManager.ts +50 -8
- package/front_end/models/comment_manager/comment_manager.ts +2 -0
- package/front_end/models/emulation/DeviceModeModel.ts +37 -47
- package/front_end/models/javascript_metadata/NativeFunctions.ts +9 -1
- package/front_end/models/live-metrics/web-vitals-injected/README.md +1 -1
- package/front_end/models/source_map_scopes/NamesResolver.ts +9 -7
- package/front_end/models/trace/ModelImpl.ts +2 -0
- package/front_end/models/trace/Processor.ts +6 -4
- package/front_end/models/trace/handlers/LayerTreeHandler.ts +3 -3
- package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +1 -1
- package/front_end/models/trace/helpers/SyntheticEvents.ts +23 -1
- package/front_end/models/trace/types/Configuration.ts +7 -0
- package/front_end/models/trace/types/TraceEvents.ts +20 -4
- package/front_end/panels/accessibility/ARIAAttributesView.ts +3 -0
- package/front_end/panels/accessibility/AccessibilityAnnouncementRecordingListView.ts +177 -0
- package/front_end/panels/accessibility/accessibility.ts +2 -0
- package/front_end/panels/accessibility/accessibilityAnnouncementRecordingListView.css +33 -0
- package/front_end/panels/ai_assistance/AiAssistancePanel.ts +25 -15
- package/front_end/panels/ai_assistance/components/ChatMessage.ts +6 -35
- package/front_end/panels/ai_assistance/components/DisabledWidget.ts +4 -3
- package/front_end/panels/animation/AnimationTimeline.ts +1 -0
- package/front_end/panels/application/CrashReportContextView.ts +0 -1
- package/front_end/panels/application/FrameDetailsView.ts +5 -4
- package/front_end/panels/application/IndexedDBViews.ts +4 -4
- package/front_end/panels/application/indexedDBViews.css +0 -14
- package/front_end/panels/console/ConsoleContextSelector.ts +12 -5
- package/front_end/panels/console/ConsoleViewMessage.ts +12 -8
- package/front_end/panels/coverage/coverageView.css +8 -8
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +4 -5
- package/front_end/panels/developer_resources/developerResourcesView.css +3 -3
- package/front_end/panels/elements/ElementsTreeElement.ts +39 -12
- package/front_end/panels/elements/ElementsTreeOutline.ts +183 -107
- package/front_end/panels/elements/ShortcutTreeElement.ts +4 -0
- package/front_end/panels/elements/StylePropertiesSection.ts +1 -34
- package/front_end/panels/elements/components/CSSPropertyIconResolver.ts +5 -4
- package/front_end/panels/elements/components/StylePropertyEditor.ts +1 -0
- package/front_end/panels/elements/components/computedStyleProperty.css +5 -5
- package/front_end/panels/elements/components/computedStyleTrace.css +5 -5
- package/front_end/panels/elements/components/cssHintDetailsView.css +1 -1
- package/front_end/panels/elements/components/cssPropertyDocsView.css +3 -3
- package/front_end/panels/elements/components/cssVariableValueView.css +4 -4
- package/front_end/panels/elements/components/elementsBreadcrumbs.css +3 -3
- package/front_end/panels/elements/components/elementsTreeExpandButton.css +5 -5
- package/front_end/panels/elements/components/queryContainer.css +2 -2
- package/front_end/panels/elements/elementsTreeOutline.css +20 -4
- package/front_end/panels/event_listeners/eventListenersView.css +1 -1
- package/front_end/panels/issues/AffectedElementsView.ts +3 -0
- package/front_end/panels/issues/issues.ts +2 -0
- package/front_end/panels/layer_viewer/LayerDetailsView.ts +12 -10
- package/front_end/panels/layer_viewer/LayerTreeOutline.ts +1 -0
- package/front_end/panels/layer_viewer/Layers3DView.ts +13 -11
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspectorUtils.ts +2 -2
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplayUtils.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/ValueInterpreterSettings.ts +1 -1
- package/front_end/panels/linear_memory_inspector/components/linearMemoryHighlightChipList.css +11 -11
- package/front_end/panels/media/PlayerPropertiesView.ts +1 -1
- package/front_end/panels/media/TickingFlameChart.ts +3 -2
- package/front_end/panels/mobile_throttling/NetworkThrottlingSelector.ts +2 -1
- package/front_end/panels/mobile_throttling/ThrottlingManager.ts +1 -1
- package/front_end/panels/mobile_throttling/ThrottlingPresets.ts +2 -1
- package/front_end/panels/network/NetworkLogViewColumns.ts +5 -2
- package/front_end/panels/network/RequestHeadersView.ts +46 -10
- package/front_end/panels/network/components/RequestHeadersView.css +12 -0
- package/front_end/panels/performance_monitor/PerformanceMonitor.ts +3 -3
- package/front_end/panels/profiler/HeapProfileView.ts +1 -1
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +1 -1
- package/front_end/panels/protocol_monitor/JSONEditor.ts +1 -1
- package/front_end/panels/protocol_monitor/ProtocolMonitor.ts +3 -3
- package/front_end/panels/recorder/RecordingListView.ts +0 -6
- package/front_end/panels/recorder/RecordingView.ts +0 -6
- package/front_end/panels/recorder/controlButton.css +10 -10
- package/front_end/panels/recorder/startView.css +1 -1
- package/front_end/panels/screencast/ScreencastView.ts +4 -2
- package/front_end/panels/search/SearchView.ts +1 -1
- package/front_end/panels/security/SecurityPanel.ts +46 -35
- package/front_end/panels/timeline/TimelineFlameChartView.ts +0 -32
- package/front_end/panels/timeline/TimelinePanel.ts +0 -17
- package/front_end/panels/timeline/components/cwvMetrics.css +2 -2
- package/front_end/panels/timeline/components/insights/checklist.css +1 -1
- package/front_end/panels/timeline/components/insights/table.css +3 -3
- package/front_end/panels/timeline/overlays/components/entriesLinkOverlay.css +4 -4
- package/front_end/panels/timeline/overlays/components/entryLabelOverlay.css +4 -4
- package/front_end/panels/timeline/overlays/components/timeRangeOverlay.css +2 -2
- package/front_end/panels/timeline/overlays/components/timespanBreakdownOverlay.css +4 -4
- package/front_end/panels/timeline/timelinePanel.css +0 -74
- package/front_end/panels/web_audio/webAudio.css +5 -5
- package/front_end/third_party/chromium/README.chromium +1 -1
- package/front_end/third_party/csp_evaluator/package/tsconfig.json +1 -0
- package/front_end/third_party/diff/DiffWrapper.ts +1 -8
- package/front_end/third_party/puppeteer/README.chromium +2 -2
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +183 -4
- package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +708 -122
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts +85 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js +84 -11
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ScreenRecording.d.ts +75 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ScreenRecording.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ScreenRecording.js +102 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/ScreenRecording.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/api.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/api.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/api.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/api/api.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.d.ts +6 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ScreenRecording.d.ts +31 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ScreenRecording.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ScreenRecording.js +138 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/ScreenRecording.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/bidi.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/bidi.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/bidi.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/bidi.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/BrowsingContext.d.ts +6 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/BrowsingContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/BrowsingContext.js +23 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/bidi/core/BrowsingContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.d.ts +6 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.js +7 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ScreenRecording.d.ts +31 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ScreenRecording.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ScreenRecording.js +131 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/ScreenRecording.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/cdp.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/cdp.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/cdp.js +1 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/cdp/cdp.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.js +7 -4
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.js +5 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/BrowserWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/ConnectOptions.d.ts +42 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/ConnectOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Device.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Device.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Device.js +265 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/common/Device.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts +4 -0
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js +24 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/BrowserLauncher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.d.ts +23 -2
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.js +49 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.d.ts +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/revisions.js +3 -3
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/puppeteer/util/version.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +183 -4
- package/front_end/third_party/puppeteer/package/package.json +4 -4
- package/front_end/third_party/puppeteer/package/src/api/Page.ts +143 -11
- package/front_end/third_party/puppeteer/package/src/api/ScreenRecording.ts +145 -0
- package/front_end/third_party/puppeteer/package/src/api/api.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +11 -0
- package/front_end/third_party/puppeteer/package/src/bidi/ScreenRecording.ts +106 -0
- package/front_end/third_party/puppeteer/package/src/bidi/bidi.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +41 -0
- package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +11 -0
- package/front_end/third_party/puppeteer/package/src/cdp/ScreenRecording.ts +101 -0
- package/front_end/third_party/puppeteer/package/src/cdp/cdp.ts +1 -0
- package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +17 -9
- package/front_end/third_party/puppeteer/package/src/common/BrowserWebSocketTransport.ts +4 -0
- package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +46 -0
- package/front_end/third_party/puppeteer/package/src/common/Device.ts +287 -1
- package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +30 -1
- package/front_end/third_party/puppeteer/package/src/node/NodeWebSocketTransport.ts +73 -2
- package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
- package/front_end/third_party/puppeteer/package/src/util/version.ts +1 -1
- package/front_end/third_party/puppeteer/puppeteer-tsconfig.json +194 -0
- package/front_end/tsconfig.json +1 -2
- package/front_end/ui/comments/CommentAnchorResolver.ts +8 -3
- package/front_end/ui/comments/CommentOverlayManager.ts +53 -12
- package/front_end/ui/comments/CommentsOverlayWidget.ts +3 -3
- package/front_end/ui/comments/CommentsStatusBarPill.ts +96 -0
- package/front_end/ui/comments/comments-meta.ts +21 -0
- package/front_end/ui/comments/comments.ts +2 -0
- package/front_end/ui/comments/commentsOverlay.css +22 -3
- package/front_end/ui/components/markdown_view/MarkdownView.ts +31 -1
- package/front_end/ui/kit/icons/Icon.ts +0 -1
- package/front_end/ui/kit/link/Link.ts +8 -1
- package/front_end/ui/legacy/InspectorView.ts +17 -1
- package/front_end/ui/legacy/SplitWidget.ts +16 -2
- package/front_end/ui/legacy/StatusBar.ts +78 -0
- package/front_end/ui/legacy/Toolbar.ts +4 -0
- package/front_end/ui/legacy/Treeoutline.ts +78 -11
- package/front_end/ui/legacy/UIUtils.ts +2 -1
- package/front_end/ui/legacy/ViewRegistration.ts +1 -0
- package/front_end/ui/legacy/components/data_grid/dataGrid.css +23 -23
- package/front_end/ui/legacy/components/inline_editor/PositionAreaEditor.docs.ts +83 -0
- package/front_end/ui/legacy/components/inline_editor/PositionAreaEditor.ts +600 -0
- package/front_end/ui/legacy/components/inline_editor/animationNameSwatch.css +1 -1
- package/front_end/ui/legacy/components/inline_editor/colorMixSwatch.css +4 -4
- package/front_end/ui/legacy/components/inline_editor/cssAngleSwatch.css +3 -3
- package/front_end/ui/legacy/components/inline_editor/inline_editor.ts +2 -0
- package/front_end/ui/legacy/components/inline_editor/linkSwatch.css +1 -1
- package/front_end/ui/legacy/components/inline_editor/positionAreaEditor.css +154 -0
- package/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts +113 -51
- package/front_end/ui/legacy/components/object_ui/ObjectPopoverHelper.ts +10 -7
- package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +16 -97
- package/front_end/ui/legacy/components/object_ui/customPreviewComponent.css +7 -3
- package/front_end/ui/legacy/components/object_ui/objectPropertiesSection.css +1 -1
- package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +0 -66
- package/front_end/ui/legacy/components/perf_ui/perf_ui.ts +0 -2
- package/front_end/ui/legacy/inspectorCommon.css +30 -6
- package/front_end/ui/legacy/legacy.ts +2 -0
- package/front_end/ui/legacy/statusBar.css +18 -0
- package/front_end/ui/visual_logging/KnownContextValues.ts +2 -0
- package/inspector_overlay/main.ts +8 -8
- package/mcp/mcp.ts +5 -0
- package/package.json +2 -9
- package/front_end/Images/generate-css-vars.js +0 -52
- package/front_end/Images/rollup.config.mjs +0 -36
- package/front_end/models/ai_assistance/AiOrigins.ts +0 -107
- package/front_end/models/live-metrics/web-vitals-injected/rollup.config.mjs +0 -20
- package/front_end/panels/recorder/injected/rollup.config.mjs +0 -20
- package/front_end/panels/timeline/EasterEgg.d.ts +0 -6
- package/front_end/panels/timeline/easter-egg-tsconfig.json +0 -8
- package/front_end/panels/timeline/enable-easter-egg.js +0 -20
- package/front_end/third_party/puppeteer-replay/puppeteer-replay-tsconfig.json +0 -8
- package/front_end/ui/legacy/components/perf_ui/BrickBreaker.ts +0 -606
- package/inspector_overlay/loadCSS.rollup.js +0 -29
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
rgb(255 125 210 / 15%) 85%
|
|
21
21
|
);
|
|
22
22
|
border-color: var(--ref-palette-pink55);
|
|
23
|
-
border-width: 0
|
|
23
|
+
border-width: 0 var(--sys-size-1) 5px;
|
|
24
24
|
border-style: solid;
|
|
25
25
|
pointer-events: none;
|
|
26
26
|
}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
|
|
83
83
|
.label-text[contenteditable='true'] {
|
|
84
84
|
outline: none;
|
|
85
|
-
box-shadow: 0 0 0
|
|
85
|
+
box-shadow: 0 0 0 var(--sys-size-1) var(--ref-palette-pink55);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.label-text[contenteditable='false'] {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
pointer-events: auto;
|
|
10
10
|
border: solid;
|
|
11
11
|
border-color: var(--sys-color-on-surface);
|
|
12
|
-
border-width:
|
|
12
|
+
border-width: var(--sys-size-3) var(--sys-size-1) 0;
|
|
13
13
|
align-content: flex-start;
|
|
14
14
|
text-align: center;
|
|
15
15
|
overflow: hidden;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
.is-below & {
|
|
23
23
|
border-top-width: 0;
|
|
24
|
-
border-bottom-width:
|
|
24
|
+
border-bottom-width: var(--sys-size-3);
|
|
25
25
|
align-content: flex-end;
|
|
26
26
|
/* anchor the text at the bottom */
|
|
27
27
|
padding-bottom: var(--sys-size-2);
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
* styles below + keeping them here is clearer to read) */
|
|
52
52
|
.timespan-breakdown-overlay-section:first-child {
|
|
53
53
|
/* stylelint-disable-next-line declaration-no-important */
|
|
54
|
-
border-left-width:
|
|
54
|
+
border-left-width: var(--sys-size-1) !important;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.timespan-breakdown-overlay-section:last-child {
|
|
58
58
|
/* stylelint-disable-next-line declaration-no-important */
|
|
59
|
-
border-right-width:
|
|
59
|
+
border-right-width: var(--sys-size-1) !important;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
@@ -171,80 +171,6 @@
|
|
|
171
171
|
overflow: hidden;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
.brick-game {
|
|
175
|
-
background-color: var(--sys-color-neutral-container);
|
|
176
|
-
position: fixed;
|
|
177
|
-
top: 0;
|
|
178
|
-
left: 0;
|
|
179
|
-
width: 100%;
|
|
180
|
-
height: 100%;
|
|
181
|
-
z-index: 9999; /* A high value to ensure it's on top */
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.game-close-button {
|
|
185
|
-
display: flex;
|
|
186
|
-
align-items: center;
|
|
187
|
-
justify-content: center;
|
|
188
|
-
width: 25px;
|
|
189
|
-
height: 25px;
|
|
190
|
-
position: absolute;
|
|
191
|
-
right: 15px;
|
|
192
|
-
top: 15px;
|
|
193
|
-
border-radius: var(--sys-shape-corner-full);
|
|
194
|
-
cursor: pointer;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.scorePanel {
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: center;
|
|
200
|
-
justify-content: center;
|
|
201
|
-
flex-direction: column;
|
|
202
|
-
white-space: pre-line;
|
|
203
|
-
padding: 15px;
|
|
204
|
-
position: absolute;
|
|
205
|
-
left: 15px;
|
|
206
|
-
bottom: 15px;
|
|
207
|
-
border: double 7px transparent;
|
|
208
|
-
border-radius: 20px;
|
|
209
|
-
background-origin: border-box;
|
|
210
|
-
background-clip: content-box, border-box;
|
|
211
|
-
font-weight: 200;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.confetti-100 {
|
|
215
|
-
display: block;
|
|
216
|
-
top: 0;
|
|
217
|
-
left: 0;
|
|
218
|
-
width: 100%;
|
|
219
|
-
height: 100%;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.confetti-100 > .confetti-100-particle {
|
|
223
|
-
opacity: 0%;
|
|
224
|
-
position: fixed;
|
|
225
|
-
animation: confetti-100-animation 1s none ease-out;
|
|
226
|
-
font-size: 30px;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
@keyframes confetti-100-animation {
|
|
230
|
-
0% {
|
|
231
|
-
opacity: 100%;
|
|
232
|
-
transform: translateY(0%) translateY(0%) rotate(0deg);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
100% {
|
|
236
|
-
opacity: 0%;
|
|
237
|
-
/* stylelint-disable-next-line custom-property-pattern */
|
|
238
|
-
transform: translateY(var(--to-Y)) translateX(var(--to-X)) rotate(var(--rotation));
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
@media (prefers-reduced-motion) {
|
|
243
|
-
.confetti-100 > .confetti-100-particle {
|
|
244
|
-
animation-name: dissolve;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
174
|
.timeline-layers-view-properties table {
|
|
249
175
|
width: 100%;
|
|
250
176
|
border-collapse: collapse;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
.web-audio-toolbar-container {
|
|
12
12
|
background-color: var(--sys-color-cdt-base-container);
|
|
13
|
-
border-bottom:
|
|
13
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
14
14
|
min-height: fit-content;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
justify-content: center;
|
|
21
21
|
align-items: center;
|
|
22
22
|
overflow: auto;
|
|
23
|
-
font-size:
|
|
23
|
+
font-size: var(--sys-typescale-body3-size);
|
|
24
24
|
color: var(--sys-color-on-surface);
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.context-detail-header {
|
|
57
|
-
border-bottom:
|
|
57
|
+
border-bottom: var(--sys-size-1) solid var(--sys-color-divider);
|
|
58
58
|
padding: var(--sys-size-7) var(--sys-size-9);
|
|
59
59
|
margin-bottom: var(--sys-size-5);
|
|
60
60
|
}
|
|
@@ -95,12 +95,12 @@
|
|
|
95
95
|
line-height: 27px;
|
|
96
96
|
padding-left: 5px;
|
|
97
97
|
background-color: var(--sys-color-cdt-base-container);
|
|
98
|
-
border-top:
|
|
98
|
+
border-top: var(--sys-size-1) solid var(--sys-color-divider);
|
|
99
99
|
white-space: nowrap;
|
|
100
100
|
text-overflow: ellipsis;
|
|
101
101
|
overflow: hidden;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.context-summary-container span {
|
|
105
|
-
margin-right:
|
|
105
|
+
margin-right: var(--sys-size-4);
|
|
106
106
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Name: Dependencies sourced from the upstream `chromium` repository
|
|
2
2
|
URL: Internal
|
|
3
3
|
Version: N/A
|
|
4
|
-
Revision:
|
|
4
|
+
Revision: 94c2d3be993e302928a7ec87401d5606b87e0833
|
|
5
5
|
Update Mechanism: Manual (https://crbug.com/428069060)
|
|
6
6
|
License: BSD-3-Clause
|
|
7
7
|
License File: LICENSE
|
|
@@ -4,14 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import * as Common from '../../core/common/common.js';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
/* eslint-disable @typescript-eslint/naming-convention */
|
|
9
|
-
class diff_match_patch {
|
|
10
|
-
diff_main(text1: string, text2: string): Array<{0: number, 1: string}>;
|
|
11
|
-
diff_cleanupSemantic(diff: Array<{0: number, 1: string}>): void;
|
|
12
|
-
}
|
|
13
|
-
/* eslint-enable @typescript-eslint/naming-convention */
|
|
14
|
-
}
|
|
7
|
+
import './diff_match_patch.js';
|
|
15
8
|
|
|
16
9
|
export const DiffWrapper = {
|
|
17
10
|
charDiff: function(text1: string, text2: string, cleanup?: boolean): {0: number, 1: string}[] {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Name: Puppeteer Core
|
|
2
2
|
Short Name: Puppeteer Core
|
|
3
3
|
URL: https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core
|
|
4
|
-
Version: 25.
|
|
4
|
+
Version: 25.10.0
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
License File: LICENSE
|
|
7
|
-
Revision:
|
|
7
|
+
Revision: 88b517ab3beb4a237b541cd18ada98ba43de71a7
|
|
8
8
|
Security Critical: no
|
|
9
9
|
Shipped: yes
|
|
10
10
|
Update Mechanism: Autoroll
|
|
@@ -1401,6 +1401,14 @@ export declare interface ConnectOptions {
|
|
|
1401
1401
|
* @defaultValue `180_000`
|
|
1402
1402
|
*/
|
|
1403
1403
|
protocolTimeout?: number;
|
|
1404
|
+
/**
|
|
1405
|
+
* Options for the WebSocket connection to the browser.
|
|
1406
|
+
*
|
|
1407
|
+
* @remarks
|
|
1408
|
+
* Only used in the Node.js environment. The browser build has no ping frame
|
|
1409
|
+
* API, so the keep-alive options are ignored there.
|
|
1410
|
+
*/
|
|
1411
|
+
wsOptions?: WsOptions;
|
|
1404
1412
|
browserWSEndpoint?: string;
|
|
1405
1413
|
browserURL?: string;
|
|
1406
1414
|
transport?: ConnectionTransport;
|
|
@@ -1408,6 +1416,10 @@ export declare interface ConnectOptions {
|
|
|
1408
1416
|
* Headers to use for the web socket connection.
|
|
1409
1417
|
* @remarks
|
|
1410
1418
|
* Only works in the Node.js environment.
|
|
1419
|
+
*
|
|
1420
|
+
* @deprecated Use {@link WsOptions.headers} via
|
|
1421
|
+
* {@link ConnectOptions.wsOptions} instead. When both are set,
|
|
1422
|
+
* `wsOptions.headers` wins.
|
|
1411
1423
|
*/
|
|
1412
1424
|
headers?: Record<string, string>;
|
|
1413
1425
|
/**
|
|
@@ -4954,7 +4966,7 @@ export declare type KeyPressOptions = KeyDownOptions & KeyboardTypeOptions;
|
|
|
4954
4966
|
*
|
|
4955
4967
|
* ```ts
|
|
4956
4968
|
* import {KnownDevices} from 'puppeteer';
|
|
4957
|
-
* const iPhone = KnownDevices['iPhone
|
|
4969
|
+
* const iPhone = KnownDevices['iPhone 17 Pro'];
|
|
4958
4970
|
*
|
|
4959
4971
|
* const browser = await puppeteer.launch();
|
|
4960
4972
|
* const page = await browser.newPage();
|
|
@@ -5016,6 +5028,8 @@ export declare const KnownDevices: Readonly<
|
|
|
5016
5028
|
| 'iPhone 8 Plus landscape'
|
|
5017
5029
|
| 'iPhone SE'
|
|
5018
5030
|
| 'iPhone SE landscape'
|
|
5031
|
+
| 'iPhone SE (3rd gen)'
|
|
5032
|
+
| 'iPhone SE (3rd gen) landscape'
|
|
5019
5033
|
| 'iPhone X'
|
|
5020
5034
|
| 'iPhone X landscape'
|
|
5021
5035
|
| 'iPhone XR'
|
|
@@ -5058,6 +5072,26 @@ export declare const KnownDevices: Readonly<
|
|
|
5058
5072
|
| 'iPhone 15 Pro landscape'
|
|
5059
5073
|
| 'iPhone 15 Pro Max'
|
|
5060
5074
|
| 'iPhone 15 Pro Max landscape'
|
|
5075
|
+
| 'iPhone 16'
|
|
5076
|
+
| 'iPhone 16 landscape'
|
|
5077
|
+
| 'iPhone 16 Plus'
|
|
5078
|
+
| 'iPhone 16 Plus landscape'
|
|
5079
|
+
| 'iPhone 16 Pro'
|
|
5080
|
+
| 'iPhone 16 Pro landscape'
|
|
5081
|
+
| 'iPhone 16 Pro Max'
|
|
5082
|
+
| 'iPhone 16 Pro Max landscape'
|
|
5083
|
+
| 'iPhone 16e'
|
|
5084
|
+
| 'iPhone 16e landscape'
|
|
5085
|
+
| 'iPhone 17'
|
|
5086
|
+
| 'iPhone 17 landscape'
|
|
5087
|
+
| 'iPhone Air'
|
|
5088
|
+
| 'iPhone Air landscape'
|
|
5089
|
+
| 'iPhone 17 Pro'
|
|
5090
|
+
| 'iPhone 17 Pro landscape'
|
|
5091
|
+
| 'iPhone 17 Pro Max'
|
|
5092
|
+
| 'iPhone 17 Pro Max landscape'
|
|
5093
|
+
| 'iPhone 17e'
|
|
5094
|
+
| 'iPhone 17e landscape'
|
|
5061
5095
|
| 'JioPhone 2'
|
|
5062
5096
|
| 'JioPhone 2 landscape'
|
|
5063
5097
|
| 'Kindle Fire HDX'
|
|
@@ -6984,7 +7018,7 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
6984
7018
|
*
|
|
6985
7019
|
* ```ts
|
|
6986
7020
|
* import {KnownDevices} from 'puppeteer';
|
|
6987
|
-
* const iPhone = KnownDevices['iPhone
|
|
7021
|
+
* const iPhone = KnownDevices['iPhone 17 Pro'];
|
|
6988
7022
|
*
|
|
6989
7023
|
* const browser = await puppeteer.launch();
|
|
6990
7024
|
* const page = await browser.newPage();
|
|
@@ -7317,7 +7351,7 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
7317
7351
|
*/
|
|
7318
7352
|
abstract setCacheEnabled(enabled?: boolean): Promise<void>;
|
|
7319
7353
|
/**
|
|
7320
|
-
* Captures a screencast of this {@link Page | page}.
|
|
7354
|
+
* Captures a screencast of this {@link Page | page}. Works in Chrome 153+.
|
|
7321
7355
|
*
|
|
7322
7356
|
* @example
|
|
7323
7357
|
* Recording a {@link Page | page}:
|
|
@@ -7347,7 +7381,7 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
7347
7381
|
*
|
|
7348
7382
|
* @param options - Configures screencast behavior.
|
|
7349
7383
|
*
|
|
7350
|
-
* @
|
|
7384
|
+
* @deprecated Use {@link Page.record} instead.
|
|
7351
7385
|
*
|
|
7352
7386
|
* @remarks
|
|
7353
7387
|
*
|
|
@@ -7357,6 +7391,44 @@ export declare abstract class Page extends EventEmitter<PageEvents> {
|
|
|
7357
7391
|
* You must have {@link https://ffmpeg.org/ | ffmpeg} installed on your system.
|
|
7358
7392
|
*/
|
|
7359
7393
|
screencast(options?: Readonly<ScreencastOptions>): Promise<ScreenRecorder>;
|
|
7394
|
+
/**
|
|
7395
|
+
* Records this {@link Page | page} using the Chrome DevTools Protocol
|
|
7396
|
+
* {@link https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-startScreenRecording | Page.startScreenRecording}
|
|
7397
|
+
* API.
|
|
7398
|
+
*
|
|
7399
|
+
* Outputs mp4 video stream.
|
|
7400
|
+
*
|
|
7401
|
+
* @example
|
|
7402
|
+
* Recording a {@link Page | page}:
|
|
7403
|
+
*
|
|
7404
|
+
* ```ts
|
|
7405
|
+
* import puppeteer from 'puppeteer';
|
|
7406
|
+
*
|
|
7407
|
+
* // Launch a browser
|
|
7408
|
+
* const browser = await puppeteer.launch();
|
|
7409
|
+
*
|
|
7410
|
+
* // Create a new page
|
|
7411
|
+
* const page = await browser.newPage();
|
|
7412
|
+
*
|
|
7413
|
+
* // Go to your site.
|
|
7414
|
+
* await page.goto('https://www.example.com');
|
|
7415
|
+
*
|
|
7416
|
+
* // Start recording.
|
|
7417
|
+
* const recorder = await page.record({path: 'recording.mp4'});
|
|
7418
|
+
*
|
|
7419
|
+
* // Do something.
|
|
7420
|
+
*
|
|
7421
|
+
* // Stop recording.
|
|
7422
|
+
* await recorder.stop();
|
|
7423
|
+
*
|
|
7424
|
+
* await browser.close();
|
|
7425
|
+
* ```
|
|
7426
|
+
*
|
|
7427
|
+
* @param options - Configures recording behavior.
|
|
7428
|
+
*
|
|
7429
|
+
* @experimental
|
|
7430
|
+
*/
|
|
7431
|
+
record(options?: Readonly<RecordOptions>): Promise<ScreenRecording>;
|
|
7360
7432
|
/**
|
|
7361
7433
|
* Captures a screenshot of this {@link Page | page}.
|
|
7362
7434
|
*
|
|
@@ -8493,11 +8565,13 @@ declare namespace Puppeteer_2 {
|
|
|
8493
8565
|
VideoFormat,
|
|
8494
8566
|
ScreenshotOptions,
|
|
8495
8567
|
ScreencastOptions,
|
|
8568
|
+
RecordOptions,
|
|
8496
8569
|
QueryOptions,
|
|
8497
8570
|
PageEvents,
|
|
8498
8571
|
NewDocumentScriptEvaluation,
|
|
8499
8572
|
ReloadOptions,
|
|
8500
8573
|
HeapSnapshotOptions,
|
|
8574
|
+
WritableDestination,
|
|
8501
8575
|
WebWorkerEvents,
|
|
8502
8576
|
VisibilityOption,
|
|
8503
8577
|
ActionOptions,
|
|
@@ -8533,6 +8607,7 @@ declare namespace Puppeteer_2 {
|
|
|
8533
8607
|
SupportedWebDriverCapability,
|
|
8534
8608
|
SupportedWebDriverCapabilities,
|
|
8535
8609
|
ChromeReleaseChannel,
|
|
8610
|
+
WsOptions,
|
|
8536
8611
|
ConnectOptions,
|
|
8537
8612
|
ConsoleMessageLocation,
|
|
8538
8613
|
ConsoleMessageType,
|
|
@@ -8603,6 +8678,7 @@ declare namespace Puppeteer_2 {
|
|
|
8603
8678
|
PageEvent,
|
|
8604
8679
|
Page,
|
|
8605
8680
|
Realm,
|
|
8681
|
+
ScreenRecording,
|
|
8606
8682
|
TargetType,
|
|
8607
8683
|
Target,
|
|
8608
8684
|
WebWorkerEvent,
|
|
@@ -8982,6 +9058,46 @@ export declare abstract class Realm {
|
|
|
8982
9058
|
[disposeSymbol](): void;
|
|
8983
9059
|
}
|
|
8984
9060
|
|
|
9061
|
+
/**
|
|
9062
|
+
* @public
|
|
9063
|
+
* @experimental
|
|
9064
|
+
*/
|
|
9065
|
+
export declare interface RecordOptions {
|
|
9066
|
+
/**
|
|
9067
|
+
* File path to save the recording to.
|
|
9068
|
+
*/
|
|
9069
|
+
path?: string;
|
|
9070
|
+
/**
|
|
9071
|
+
* Specifies whether to overwrite output file,
|
|
9072
|
+
* or exit immediately if it already exists.
|
|
9073
|
+
*
|
|
9074
|
+
* @defaultValue `true`
|
|
9075
|
+
*/
|
|
9076
|
+
overwrite?: boolean;
|
|
9077
|
+
/**
|
|
9078
|
+
* Whether to record audio.
|
|
9079
|
+
*
|
|
9080
|
+
* @defaultValue `false`
|
|
9081
|
+
*/
|
|
9082
|
+
audio?: boolean;
|
|
9083
|
+
/**
|
|
9084
|
+
* Maximum frame width in pixels.
|
|
9085
|
+
*/
|
|
9086
|
+
maxWidth?: number;
|
|
9087
|
+
/**
|
|
9088
|
+
* Maximum frame height in pixels.
|
|
9089
|
+
*/
|
|
9090
|
+
maxHeight?: number;
|
|
9091
|
+
/**
|
|
9092
|
+
* Maximum frame rate in frames per second.
|
|
9093
|
+
*/
|
|
9094
|
+
frameRate?: number;
|
|
9095
|
+
/**
|
|
9096
|
+
* Frame rate in frames per second (alias for frameRate).
|
|
9097
|
+
*/
|
|
9098
|
+
fps?: number;
|
|
9099
|
+
}
|
|
9100
|
+
|
|
8985
9101
|
/**
|
|
8986
9102
|
* @public
|
|
8987
9103
|
*/
|
|
@@ -9166,6 +9282,26 @@ export declare class ScreenRecorder extends PassThrough {
|
|
|
9166
9282
|
[asyncDisposeSymbol](): Promise<void>;
|
|
9167
9283
|
}
|
|
9168
9284
|
|
|
9285
|
+
/**
|
|
9286
|
+
* @public
|
|
9287
|
+
*/
|
|
9288
|
+
export declare abstract class ScreenRecording extends ReadableStream<Uint8Array> {
|
|
9289
|
+
/**
|
|
9290
|
+
* Pipes the recorded stream to a destination stream.
|
|
9291
|
+
*
|
|
9292
|
+
* @public
|
|
9293
|
+
*/
|
|
9294
|
+
pipe<T extends WritableStream<Uint8Array>>(destination: T): Promise<void>;
|
|
9295
|
+
pipe<T extends WritableDestination>(destination: T): T;
|
|
9296
|
+
/**
|
|
9297
|
+
* Stops the screen recording.
|
|
9298
|
+
*
|
|
9299
|
+
* @public
|
|
9300
|
+
*/
|
|
9301
|
+
abstract stop(): Promise<void>;
|
|
9302
|
+
[asyncDisposeSymbol](): Promise<void>;
|
|
9303
|
+
}
|
|
9304
|
+
|
|
9169
9305
|
/**
|
|
9170
9306
|
* @public
|
|
9171
9307
|
*/
|
|
@@ -10186,4 +10322,47 @@ export declare interface WorkAreaInsets {
|
|
|
10186
10322
|
right?: number;
|
|
10187
10323
|
}
|
|
10188
10324
|
|
|
10325
|
+
/**
|
|
10326
|
+
* @public
|
|
10327
|
+
*/
|
|
10328
|
+
export declare interface WritableDestination {
|
|
10329
|
+
write(chunk: Uint8Array): boolean;
|
|
10330
|
+
end(): unknown;
|
|
10331
|
+
writableFinished?: boolean;
|
|
10332
|
+
closed?: boolean;
|
|
10333
|
+
destroyed?: boolean;
|
|
10334
|
+
once?(event: string, cb: (arg?: unknown) => void): unknown;
|
|
10335
|
+
}
|
|
10336
|
+
|
|
10337
|
+
/**
|
|
10338
|
+
* Options for the WebSocket connection to the browser.
|
|
10339
|
+
*
|
|
10340
|
+
* @remarks
|
|
10341
|
+
* Only used in the Node.js environment.
|
|
10342
|
+
*
|
|
10343
|
+
* @public
|
|
10344
|
+
*/
|
|
10345
|
+
export declare interface WsOptions {
|
|
10346
|
+
/**
|
|
10347
|
+
* Headers to use for the web socket connection.
|
|
10348
|
+
*/
|
|
10349
|
+
headers?: Record<string, string>;
|
|
10350
|
+
/**
|
|
10351
|
+
* Whether to send WebSocket pings and drop the connection when a pong does
|
|
10352
|
+
* not come back within the same interval. Detects a connection that died
|
|
10353
|
+
* without a close frame, which otherwise leaves calls hanging until
|
|
10354
|
+
* `protocolTimeout`.
|
|
10355
|
+
*
|
|
10356
|
+
* @defaultValue `false`
|
|
10357
|
+
*/
|
|
10358
|
+
keepAlive?: boolean;
|
|
10359
|
+
/**
|
|
10360
|
+
* Ping period in milliseconds. Only used when {@link WsOptions.keepAlive} is
|
|
10361
|
+
* set.
|
|
10362
|
+
*
|
|
10363
|
+
* @defaultValue `30_000`
|
|
10364
|
+
*/
|
|
10365
|
+
keepAliveIntervalMs?: number;
|
|
10366
|
+
}
|
|
10367
|
+
|
|
10189
10368
|
export {};
|