chrome-devtools-frontend 1.0.922782 → 1.0.923788
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/front_end/core/common/Console.ts +5 -1
- package/front_end/core/common/EventTarget.ts +7 -13
- package/front_end/core/common/Object.ts +5 -9
- package/front_end/core/common/Settings.ts +12 -9
- package/front_end/core/host/InspectorFrontendHost.ts +6 -5
- package/front_end/core/host/InspectorFrontendHostAPI.ts +102 -0
- package/front_end/core/sdk/CSSModel.ts +8 -4
- package/front_end/core/sdk/Connections.ts +5 -5
- package/front_end/core/sdk/DebuggerModel.ts +8 -5
- package/front_end/core/sdk/RuntimeModel.ts +1 -1
- package/front_end/core/sdk/SourceMap.ts +74 -31
- package/front_end/core/sdk/TargetManager.ts +7 -7
- package/front_end/entrypoints/inspector_main/InspectorMain.ts +1 -2
- package/front_end/entrypoints/main/ExecutionContextSelector.ts +4 -4
- package/front_end/entrypoints/main/MainImpl.ts +4 -7
- package/front_end/entrypoints/node_main/NodeConnectionsPanel.ts +2 -2
- package/front_end/entrypoints/node_main/NodeMain.ts +1 -2
- package/front_end/models/bindings/BreakpointManager.ts +3 -2
- package/front_end/models/bindings/CompilerScriptMapping.ts +24 -6
- package/front_end/models/bindings/DebuggerWorkspaceBinding.ts +30 -30
- package/front_end/models/extensions/ExtensionServer.ts +12 -15
- package/front_end/models/issues_manager/DeprecationIssue.ts +1 -1
- package/front_end/models/issues_manager/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +15 -5
- package/front_end/models/issues_manager/descriptions/CoepFrameResourceNeedsCoepHeader.md +7 -3
- package/front_end/models/issues_manager/descriptions/deprecationNavigatorUserAgent.md +1 -1
- package/front_end/models/persistence/IsolatedFileSystemManager.ts +26 -31
- package/front_end/models/persistence/NetworkPersistenceManager.ts +11 -1
- package/front_end/models/persistence/PersistenceUtils.ts +2 -1
- package/front_end/models/workspace/FileManager.ts +5 -7
- package/front_end/models/workspace/WorkspaceImpl.ts +1 -1
- package/front_end/models/workspace_diff/WorkspaceDiff.ts +24 -20
- package/front_end/panels/application/ApplicationPanelSidebar.ts +14 -19
- package/front_end/panels/application/BackForwardCacheView.ts +4 -3
- package/front_end/panels/application/DOMStorageItemsView.ts +2 -2
- package/front_end/panels/application/DatabaseModel.ts +6 -1
- package/front_end/panels/application/IndexedDBModel.ts +9 -1
- package/front_end/panels/application/IndexedDBViews.ts +1 -1
- package/front_end/panels/application/ServiceWorkerCacheViews.ts +1 -1
- package/front_end/panels/console/ConsoleContextSelector.ts +3 -2
- package/front_end/panels/console/ConsolePinPane.ts +1 -2
- package/front_end/panels/console/ConsoleView.ts +3 -5
- package/front_end/panels/console/ConsoleViewMessage.ts +1 -1
- package/front_end/panels/coverage/CoverageModel.ts +9 -3
- package/front_end/panels/css_overview/CSSOverviewCompletedView.ts +10 -10
- package/front_end/panels/css_overview/CSSOverviewController.ts +2 -2
- package/front_end/panels/css_overview/CSSOverviewModel.ts +5 -5
- package/front_end/panels/css_overview/CSSOverviewPanel.ts +21 -20
- package/front_end/panels/css_overview/CSSOverviewUnusedDeclarations.ts +12 -9
- package/front_end/panels/elements/ClassesPaneWidget.ts +2 -2
- package/front_end/panels/elements/ComputedStyleModel.ts +2 -2
- package/front_end/panels/elements/ElementsPanel.ts +2 -3
- package/front_end/panels/elements/PropertiesWidget.ts +2 -2
- package/front_end/panels/layer_viewer/Layers3DView.ts +1 -1
- package/front_end/panels/media/PlayerMessagesView.ts +2 -4
- package/front_end/panels/network/ResourceWebSocketFrameView.ts +3 -2
- package/front_end/panels/profiler/CPUProfileFlameChart.ts +5 -3
- package/front_end/panels/profiler/HeapProfileView.ts +12 -2
- package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +14 -1
- package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +11 -3
- package/front_end/panels/profiler/HeapSnapshotView.ts +65 -30
- package/front_end/panels/profiler/ProfileHeader.ts +11 -2
- package/front_end/panels/profiler/ProfilesPanel.ts +7 -6
- package/front_end/panels/sources/SourcesPanel.ts +1 -2
- package/front_end/panels/sources/ThreadsSidebarPane.ts +1 -2
- package/front_end/panels/timeline/TimelineUIUtils.ts +1 -2
- package/front_end/panels/web_audio/WebAudioModel.ts +19 -1
- package/front_end/panels/web_audio/WebAudioView.ts +25 -19
- package/front_end/panels/web_audio/graph_visualizer/GraphManager.ts +3 -17
- package/front_end/panels/webauthn/WebauthnPane.ts +20 -10
- package/front_end/third_party/puppeteer/README.chromium +1 -1
- package/front_end/third_party/puppeteer/package/CHANGELOG.md +66 -0
- package/front_end/third_party/puppeteer/package/README.md +34 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/AriaQueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts +18 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js +8 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts +22 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js +14 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js +10 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DOMWorld.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.js +120 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts +62 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js +131 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +40 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js +76 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts +53 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js +82 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js +14 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PDFOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts +1053 -29
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js +1114 -22
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js +17 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.js +6 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.d.ts +21 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js +47 -28
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/global.d.ts +17 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/global.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/global.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/global.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js +9 -10
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserRunner.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts +10 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js +83 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js +7 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js +17 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/install.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js +5 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/AriaQueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts +18 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js +8 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Browser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts +22 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js +14 -7
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js +10 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DOMWorld.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.js +120 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts +62 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js +131 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPRequest.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +40 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js +76 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts +53 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js +82 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/JSHandle.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts +2 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js +14 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PDFOptions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts +1053 -29
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js +1115 -23
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Page.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js +17 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.js +4 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.d.ts +21 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js +32 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/global.d.ts +17 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/global.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/global.js +2 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/global.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js +9 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js +5 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserRunner.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts +10 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js +83 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js +7 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/NodeWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js +17 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/install.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +1382 -19726
- package/front_end/third_party/puppeteer/package/package.json +9 -6
- package/front_end/third_party/wasmparser/README.chromium +2 -2
- package/front_end/third_party/wasmparser/package/CHANGELOG.md +13 -0
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmDis.js +50 -10
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmDis.js.map +1 -1
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.d.ts +21 -4
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js +76 -8
- package/front_end/third_party/wasmparser/package/dist/cjs/WasmParser.js.map +1 -1
- package/front_end/third_party/wasmparser/package/dist/esm/WasmDis.js +50 -10
- package/front_end/third_party/wasmparser/package/dist/esm/WasmDis.js.map +1 -1
- package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.d.ts +21 -4
- package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js +76 -8
- package/front_end/third_party/wasmparser/package/dist/esm/WasmParser.js.map +1 -1
- package/front_end/third_party/wasmparser/package/package.json +1 -1
- package/front_end/third_party/wasmparser/package/src/WasmDis.ts +47 -10
- package/front_end/third_party/wasmparser/package/src/WasmParser.ts +75 -5
- package/front_end/ui/components/icon_button/iconButton.css +4 -0
- package/front_end/ui/legacy/Context.ts +9 -4
- package/front_end/ui/legacy/ContextMenu.ts +4 -4
- package/front_end/ui/legacy/ForwardedInputEventHandler.ts +3 -7
- package/front_end/ui/legacy/GlassPane.ts +1 -3
- package/front_end/ui/legacy/InspectorView.ts +1 -2
- package/front_end/ui/legacy/UIUtils.ts +2 -3
- package/front_end/ui/legacy/Widget.ts +1 -3
- package/front_end/ui/legacy/components/color_picker/ContrastDetails.ts +5 -8
- package/front_end/ui/legacy/components/color_picker/Spectrum.ts +5 -8
- package/front_end/ui/legacy/components/data_grid/DataGrid.ts +15 -6
- package/front_end/ui/legacy/components/data_grid/ViewportDataGrid.ts +7 -1
- package/front_end/ui/legacy/components/perf_ui/OverviewGrid.ts +3 -3
- package/front_end/ui/legacy/components/utils/Linkifier.ts +5 -1
- package/front_end/ui/legacy/reportView.css +1 -0
- package/package.json +1 -1
- package/scripts/build/rollup.config.js +0 -5
|
@@ -64,6 +64,10 @@ export class HTTPRequest {
|
|
|
64
64
|
this._postData = event.request.postData;
|
|
65
65
|
this._frame = frame;
|
|
66
66
|
this._redirectChain = redirectChain;
|
|
67
|
+
this._continueRequestOverrides = {};
|
|
68
|
+
this._currentStrategy = 'none';
|
|
69
|
+
this._currentPriority = undefined;
|
|
70
|
+
this._interceptActions = [];
|
|
67
71
|
for (const key of Object.keys(event.request.headers))
|
|
68
72
|
this._headers[key.toLowerCase()] = event.request.headers[key];
|
|
69
73
|
}
|
|
@@ -73,6 +77,71 @@ export class HTTPRequest {
|
|
|
73
77
|
url() {
|
|
74
78
|
return this._url;
|
|
75
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* @returns the `ContinueRequestOverrides` that will be used
|
|
82
|
+
* if the interception is allowed to continue (ie, `abort()` and
|
|
83
|
+
* `respond()` aren't called).
|
|
84
|
+
*/
|
|
85
|
+
continueRequestOverrides() {
|
|
86
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
|
87
|
+
return this._continueRequestOverrides;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @returns The `ResponseForRequest` that gets used if the
|
|
91
|
+
* interception is allowed to respond (ie, `abort()` is not called).
|
|
92
|
+
*/
|
|
93
|
+
responseForRequest() {
|
|
94
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
|
95
|
+
return this._responseForRequest;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @returns the most recent reason for aborting the request
|
|
99
|
+
*/
|
|
100
|
+
abortErrorReason() {
|
|
101
|
+
assert(this._allowInterception, 'Request Interception is not enabled!');
|
|
102
|
+
return this._abortErrorReason;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @returns An array of the current intercept resolution strategy and priority
|
|
106
|
+
* `[strategy,priority]`. Strategy is one of: `abort`, `respond`, `continue`,
|
|
107
|
+
* `disabled`, `none`, or `already-handled`.
|
|
108
|
+
*/
|
|
109
|
+
interceptResolution() {
|
|
110
|
+
if (!this._allowInterception)
|
|
111
|
+
return ['disabled'];
|
|
112
|
+
if (this._interceptionHandled)
|
|
113
|
+
return ['alreay-handled'];
|
|
114
|
+
return [this._currentStrategy, this._currentPriority];
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Adds an async request handler to the processing queue.
|
|
118
|
+
* Deferred handlers are not guaranteed to execute in any particular order,
|
|
119
|
+
* but they are guarnateed to resolve before the request interception
|
|
120
|
+
* is finalized.
|
|
121
|
+
*/
|
|
122
|
+
enqueueInterceptAction(pendingHandler) {
|
|
123
|
+
this._interceptActions.push(pendingHandler);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Awaits pending interception handlers and then decides how to fulfill
|
|
127
|
+
* the request interception.
|
|
128
|
+
*/
|
|
129
|
+
async finalizeInterceptions() {
|
|
130
|
+
await this._interceptActions.reduce((promiseChain, interceptAction) => promiseChain.then(interceptAction).catch((error) => {
|
|
131
|
+
// This is here so cooperative handlers that fail do not stop other handlers
|
|
132
|
+
// from running
|
|
133
|
+
debugError(error);
|
|
134
|
+
}), Promise.resolve());
|
|
135
|
+
const [resolution] = this.interceptResolution();
|
|
136
|
+
switch (resolution) {
|
|
137
|
+
case 'abort':
|
|
138
|
+
return this._abort(this._abortErrorReason);
|
|
139
|
+
case 'respond':
|
|
140
|
+
return this._respond(this._responseForRequest);
|
|
141
|
+
case 'continue':
|
|
142
|
+
return this._continue(this._continueRequestOverrides);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
76
145
|
/**
|
|
77
146
|
* Contains the request's resource type as it was perceived by the rendering
|
|
78
147
|
* engine.
|
|
@@ -200,13 +269,36 @@ export class HTTPRequest {
|
|
|
200
269
|
* ```
|
|
201
270
|
*
|
|
202
271
|
* @param overrides - optional overrides to apply to the request.
|
|
272
|
+
* @param priority - If provided, intercept is resolved using
|
|
273
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
|
274
|
+
* immediately.
|
|
203
275
|
*/
|
|
204
|
-
async continue(overrides = {}) {
|
|
276
|
+
async continue(overrides = {}, priority) {
|
|
205
277
|
// Request interception is not supported for data: urls.
|
|
206
278
|
if (this._url.startsWith('data:'))
|
|
207
279
|
return;
|
|
208
280
|
assert(this._allowInterception, 'Request Interception is not enabled!');
|
|
209
281
|
assert(!this._interceptionHandled, 'Request is already handled!');
|
|
282
|
+
if (priority === undefined) {
|
|
283
|
+
return this._continue(overrides);
|
|
284
|
+
}
|
|
285
|
+
this._continueRequestOverrides = overrides;
|
|
286
|
+
if (priority > this._currentPriority ||
|
|
287
|
+
this._currentPriority === undefined) {
|
|
288
|
+
this._currentStrategy = 'continue';
|
|
289
|
+
this._currentPriority = priority;
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
if (priority === this._currentPriority) {
|
|
293
|
+
if (this._currentStrategy === 'abort' ||
|
|
294
|
+
this._currentStrategy === 'respond') {
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
297
|
+
this._currentStrategy = 'continue';
|
|
298
|
+
}
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
async _continue(overrides = {}) {
|
|
210
302
|
const { url, method, postData, headers } = overrides;
|
|
211
303
|
this._interceptionHandled = true;
|
|
212
304
|
const postDataBinaryBase64 = postData
|
|
@@ -254,13 +346,34 @@ export class HTTPRequest {
|
|
|
254
346
|
* Calling `request.respond` for a dataURL request is a noop.
|
|
255
347
|
*
|
|
256
348
|
* @param response - the response to fulfill the request with.
|
|
349
|
+
* @param priority - If provided, intercept is resolved using
|
|
350
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
|
351
|
+
* immediately.
|
|
257
352
|
*/
|
|
258
|
-
async respond(response) {
|
|
353
|
+
async respond(response, priority) {
|
|
259
354
|
// Mocking responses for dataURL requests is not currently supported.
|
|
260
355
|
if (this._url.startsWith('data:'))
|
|
261
356
|
return;
|
|
262
357
|
assert(this._allowInterception, 'Request Interception is not enabled!');
|
|
263
358
|
assert(!this._interceptionHandled, 'Request is already handled!');
|
|
359
|
+
if (priority === undefined) {
|
|
360
|
+
return this._respond(response);
|
|
361
|
+
}
|
|
362
|
+
this._responseForRequest = response;
|
|
363
|
+
if (priority > this._currentPriority ||
|
|
364
|
+
this._currentPriority === undefined) {
|
|
365
|
+
this._currentStrategy = 'respond';
|
|
366
|
+
this._currentPriority = priority;
|
|
367
|
+
return;
|
|
368
|
+
}
|
|
369
|
+
if (priority === this._currentPriority) {
|
|
370
|
+
if (this._currentStrategy === 'abort') {
|
|
371
|
+
return;
|
|
372
|
+
}
|
|
373
|
+
this._currentStrategy = 'respond';
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
async _respond(response) {
|
|
264
377
|
this._interceptionHandled = true;
|
|
265
378
|
const responseBody = response.body && helper.isString(response.body)
|
|
266
379
|
? Buffer.from(response.body)
|
|
@@ -298,8 +411,11 @@ export class HTTPRequest {
|
|
|
298
411
|
* throw an exception immediately.
|
|
299
412
|
*
|
|
300
413
|
* @param errorCode - optional error code to provide.
|
|
414
|
+
* @param priority - If provided, intercept is resolved using
|
|
415
|
+
* cooperative handling rules. Otherwise, intercept is resolved
|
|
416
|
+
* immediately.
|
|
301
417
|
*/
|
|
302
|
-
async abort(errorCode = 'failed') {
|
|
418
|
+
async abort(errorCode = 'failed', priority) {
|
|
303
419
|
// Request interception is not supported for data: urls.
|
|
304
420
|
if (this._url.startsWith('data:'))
|
|
305
421
|
return;
|
|
@@ -307,6 +423,18 @@ export class HTTPRequest {
|
|
|
307
423
|
assert(errorReason, 'Unknown error code: ' + errorCode);
|
|
308
424
|
assert(this._allowInterception, 'Request Interception is not enabled!');
|
|
309
425
|
assert(!this._interceptionHandled, 'Request is already handled!');
|
|
426
|
+
if (priority === undefined) {
|
|
427
|
+
return this._abort(errorReason);
|
|
428
|
+
}
|
|
429
|
+
this._abortErrorReason = errorReason;
|
|
430
|
+
if (priority >= this._currentPriority ||
|
|
431
|
+
this._currentPriority === undefined) {
|
|
432
|
+
this._currentStrategy = 'abort';
|
|
433
|
+
this._currentPriority = priority;
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
async _abort(errorReason) {
|
|
310
438
|
this._interceptionHandled = true;
|
|
311
439
|
await this._client
|
|
312
440
|
.send('Fetch.failRequest', {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HTTPRequest.js","sourceRoot":"","sources":["../../../../src/common/HTTPRequest.ts"],"names":[],"mappings":"AAkBA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAsCjD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,OAAO,WAAW;
|
|
1
|
+
{"version":3,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KAAK,EAAE,iCAAiC;IACxC,KAAK,EAAE,+BAA+B;IACtC,KAAK,EAAE,uBAAuB;IAC9B,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,aAAa;IACpB,KAAK,EAAE,qBAAqB;IAC5B,KAAK,EAAE,iBAAiB;IACxB,KAAK,EAAE,4BAA4B;IACnC,KAAK,EAAE,yBAAyB;IAChC,KAAK,EAAE,sBAAsB;IAC7B,KAAK,EAAE,eAAe;IACtB,KAAK,EAAE,cAAc;IACrB,KAAK,EAAE,iCAAiC;CAChC,CAAC"}
|
|
@@ -13,8 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { Protocol } from 'devtools-protocol';
|
|
17
|
+
|
|
16
18
|
import { CDPSession } from './Connection.js';
|
|
19
|
+
import { Point } from './JSHandle.js';
|
|
17
20
|
import { KeyInput } from './USKeyboardLayout.js';
|
|
21
|
+
|
|
18
22
|
/**
|
|
19
23
|
* Keyboard provides an api for managing a virtual keyboard.
|
|
20
24
|
* The high level api is {@link Keyboard."type"},
|
|
@@ -300,6 +304,42 @@ export declare class Mouse {
|
|
|
300
304
|
* ```
|
|
301
305
|
*/
|
|
302
306
|
wheel(options?: MouseWheelOptions): Promise<void>;
|
|
307
|
+
/**
|
|
308
|
+
* Dispatches a `drag` event.
|
|
309
|
+
* @param start - starting point for drag
|
|
310
|
+
* @param target - point to drag to
|
|
311
|
+
*/
|
|
312
|
+
drag(start: Point, target: Point): Promise<Protocol.Input.DragData>;
|
|
313
|
+
/**
|
|
314
|
+
* Dispatches a `dragenter` event.
|
|
315
|
+
* @param target - point for emitting `dragenter` event
|
|
316
|
+
*/
|
|
317
|
+
dragEnter(target: Point, data: Protocol.Input.DragData): Promise<void>;
|
|
318
|
+
/**
|
|
319
|
+
* Dispatches a `dragover` event.
|
|
320
|
+
* @param target - point for emitting `dragover` event
|
|
321
|
+
*/
|
|
322
|
+
dragOver(target: Point, data: Protocol.Input.DragData): Promise<void>;
|
|
323
|
+
/**
|
|
324
|
+
* Performs a dragenter, dragover, and drop in sequence.
|
|
325
|
+
* @param target - point to drop on
|
|
326
|
+
* @param data - drag data containing items and operations mask
|
|
327
|
+
* @param options - An object of options. Accepts delay which,
|
|
328
|
+
* if specified, is the time to wait between `dragover` and `drop` in milliseconds.
|
|
329
|
+
* Defaults to 0.
|
|
330
|
+
*/
|
|
331
|
+
drop(target: Point, data: Protocol.Input.DragData): Promise<void>;
|
|
332
|
+
/**
|
|
333
|
+
* Performs a drag, dragenter, dragover, and drop in sequence.
|
|
334
|
+
* @param target - point to drag from
|
|
335
|
+
* @param target - point to drop on
|
|
336
|
+
* @param options - An object of options. Accepts delay which,
|
|
337
|
+
* if specified, is the time to wait between `dragover` and `drop` in milliseconds.
|
|
338
|
+
* Defaults to 0.
|
|
339
|
+
*/
|
|
340
|
+
dragAndDrop(start: Point, target: Point, options?: {
|
|
341
|
+
delay?: number;
|
|
342
|
+
}): Promise<void>;
|
|
303
343
|
}
|
|
304
344
|
/**
|
|
305
345
|
* The Touchscreen class exposes touchscreen events.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/common/Input.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAiC,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/common/Input.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAiC,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,M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AAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAU5E;;;OAGG;IACG,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAU3E;;;;;;;OAOG;IACG,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAUvE;;;;;;;OAOG;IACG,WAAW,CACf,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,KAAK,EACb,OAAO,GAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAO,GAC/B,OAAO,CAAC,IAAI,CAAC;CAWjB;AAED;;;GAGG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,OAAO,CAAa;IAC5B,OAAO,CAAC,SAAS,CAAW;IAE5B;;OAEG;gBACS,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ;IAKlD;;;;OAIG;IACG,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAa/C"}
|
|
@@ -428,6 +428,82 @@ export class Mouse {
|
|
|
428
428
|
pointerType: 'mouse',
|
|
429
429
|
});
|
|
430
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* Dispatches a `drag` event.
|
|
433
|
+
* @param start - starting point for drag
|
|
434
|
+
* @param target - point to drag to
|
|
435
|
+
*/
|
|
436
|
+
async drag(start, target) {
|
|
437
|
+
const promise = new Promise((resolve) => {
|
|
438
|
+
this._client.once('Input.dragIntercepted', (event) => resolve(event.data));
|
|
439
|
+
});
|
|
440
|
+
await this.move(start.x, start.y);
|
|
441
|
+
await this.down();
|
|
442
|
+
await this.move(target.x, target.y);
|
|
443
|
+
return promise;
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
* Dispatches a `dragenter` event.
|
|
447
|
+
* @param target - point for emitting `dragenter` event
|
|
448
|
+
*/
|
|
449
|
+
async dragEnter(target, data) {
|
|
450
|
+
await this._client.send('Input.dispatchDragEvent', {
|
|
451
|
+
type: 'dragEnter',
|
|
452
|
+
x: target.x,
|
|
453
|
+
y: target.y,
|
|
454
|
+
modifiers: this._keyboard._modifiers,
|
|
455
|
+
data,
|
|
456
|
+
});
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Dispatches a `dragover` event.
|
|
460
|
+
* @param target - point for emitting `dragover` event
|
|
461
|
+
*/
|
|
462
|
+
async dragOver(target, data) {
|
|
463
|
+
await this._client.send('Input.dispatchDragEvent', {
|
|
464
|
+
type: 'dragOver',
|
|
465
|
+
x: target.x,
|
|
466
|
+
y: target.y,
|
|
467
|
+
modifiers: this._keyboard._modifiers,
|
|
468
|
+
data,
|
|
469
|
+
});
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Performs a dragenter, dragover, and drop in sequence.
|
|
473
|
+
* @param target - point to drop on
|
|
474
|
+
* @param data - drag data containing items and operations mask
|
|
475
|
+
* @param options - An object of options. Accepts delay which,
|
|
476
|
+
* if specified, is the time to wait between `dragover` and `drop` in milliseconds.
|
|
477
|
+
* Defaults to 0.
|
|
478
|
+
*/
|
|
479
|
+
async drop(target, data) {
|
|
480
|
+
await this._client.send('Input.dispatchDragEvent', {
|
|
481
|
+
type: 'drop',
|
|
482
|
+
x: target.x,
|
|
483
|
+
y: target.y,
|
|
484
|
+
modifiers: this._keyboard._modifiers,
|
|
485
|
+
data,
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* Performs a drag, dragenter, dragover, and drop in sequence.
|
|
490
|
+
* @param target - point to drag from
|
|
491
|
+
* @param target - point to drop on
|
|
492
|
+
* @param options - An object of options. Accepts delay which,
|
|
493
|
+
* if specified, is the time to wait between `dragover` and `drop` in milliseconds.
|
|
494
|
+
* Defaults to 0.
|
|
495
|
+
*/
|
|
496
|
+
async dragAndDrop(start, target, options = {}) {
|
|
497
|
+
const { delay = null } = options;
|
|
498
|
+
const data = await this.drag(start, target);
|
|
499
|
+
await this.dragEnter(target, data);
|
|
500
|
+
await this.dragOver(target, data);
|
|
501
|
+
if (delay) {
|
|
502
|
+
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
503
|
+
}
|
|
504
|
+
await this.drop(target, data);
|
|
505
|
+
await this.up();
|
|
506
|
+
}
|
|
431
507
|
}
|
|
432
508
|
/**
|
|
433
509
|
* The Touchscreen class exposes touchscreen events.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../../src/common/Input.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,cAAc,EAA2B,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../../../src/common/Input.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,cAAc,EAA2B,MAAM,uBAAuB,CAAC;AAQhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,OAAO,QAAQ;IAMnB,gBAAgB;IAChB,YAAY,MAAkB;QAL9B,gBAAgB;QAChB,eAAU,GAAG,CAAC,CAAC;QACP,iBAAY,GAAG,IAAI,GAAG,EAAU,CAAC;QAIvC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,KAAK,CAAC,IAAI,CACR,GAAa,EACb,UAA6B,EAAE,IAAI,EAAE,SAAS,EAAE;QAEhD,MAAM,WAAW,GAAG,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC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,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAC7D,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE;YAClD,IAAI,EAAE,YAAY;YAClB,WAAW;YACX,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU;SACrC,CAAC,CAAC;QACH,MAAM,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE;YAClD,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,EAAE;YACf,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU;SACrC,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -237,7 +237,10 @@ export declare class ElementHandle<ElementType extends Element = Element> extend
|
|
|
237
237
|
*/
|
|
238
238
|
contentFrame(): Promise<Frame | null>;
|
|
239
239
|
private _scrollIntoViewIfNeeded;
|
|
240
|
-
|
|
240
|
+
/**
|
|
241
|
+
* Returns the middle point within an element unless a specific offset is provided.
|
|
242
|
+
*/
|
|
243
|
+
clickablePoint(offset?: Offset): Promise<Point>;
|
|
241
244
|
private _getBoxModel;
|
|
242
245
|
private _fromProtocolQuad;
|
|
243
246
|
private _intersectQuadWithViewport;
|
|
@@ -253,6 +256,28 @@ export declare class ElementHandle<ElementType extends Element = Element> extend
|
|
|
253
256
|
* If the element is detached from DOM, the method throws an error.
|
|
254
257
|
*/
|
|
255
258
|
click(options?: ClickOptions): Promise<void>;
|
|
259
|
+
/**
|
|
260
|
+
* This method creates and captures a dragevent from the element.
|
|
261
|
+
*/
|
|
262
|
+
drag(target: Point): Promise<Protocol.Input.DragData>;
|
|
263
|
+
/**
|
|
264
|
+
* This method creates a `dragenter` event on the element.
|
|
265
|
+
*/
|
|
266
|
+
dragEnter(data?: Protocol.Input.DragData): Promise<void>;
|
|
267
|
+
/**
|
|
268
|
+
* This method creates a `dragover` event on the element.
|
|
269
|
+
*/
|
|
270
|
+
dragOver(data?: Protocol.Input.DragData): Promise<void>;
|
|
271
|
+
/**
|
|
272
|
+
* This method triggers a drop on the element.
|
|
273
|
+
*/
|
|
274
|
+
drop(data?: Protocol.Input.DragData): Promise<void>;
|
|
275
|
+
/**
|
|
276
|
+
* This method triggers a dragenter, dragover, and drop on the element.
|
|
277
|
+
*/
|
|
278
|
+
dragAndDrop(target: ElementHandle, options?: {
|
|
279
|
+
delay: number;
|
|
280
|
+
}): Promise<void>;
|
|
256
281
|
/**
|
|
257
282
|
* Triggers a `change` and `input` event once all the provided options have been
|
|
258
283
|
* selected. If there's no `<select>` element matching `selector`, the method
|
|
@@ -405,7 +430,22 @@ export declare class ElementHandle<ElementType extends Element = Element> extend
|
|
|
405
430
|
/**
|
|
406
431
|
* Resolves to true if the element is visible in the current viewport.
|
|
407
432
|
*/
|
|
408
|
-
isIntersectingViewport(
|
|
433
|
+
isIntersectingViewport(options?: {
|
|
434
|
+
threshold?: number;
|
|
435
|
+
}): Promise<boolean>;
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* @public
|
|
439
|
+
*/
|
|
440
|
+
export interface Offset {
|
|
441
|
+
/**
|
|
442
|
+
* x-offset for the clickable point relative to the top-left corder of the border box.
|
|
443
|
+
*/
|
|
444
|
+
x: number;
|
|
445
|
+
/**
|
|
446
|
+
* y-offset for the clickable point relative to the top-left corder of the border box.
|
|
447
|
+
*/
|
|
448
|
+
y: number;
|
|
409
449
|
}
|
|
410
450
|
/**
|
|
411
451
|
* @public
|
|
@@ -425,6 +465,10 @@ export interface ClickOptions {
|
|
|
425
465
|
* @defaultValue 1
|
|
426
466
|
*/
|
|
427
467
|
clickCount?: number;
|
|
468
|
+
/**
|
|
469
|
+
* Offset for the clickable point relative to the top-left corder of the border box.
|
|
470
|
+
*/
|
|
471
|
+
offset?: Offset;
|
|
428
472
|
}
|
|
429
473
|
/**
|
|
430
474
|
* @public
|
|
@@ -439,4 +483,11 @@ export interface PressOptions {
|
|
|
439
483
|
*/
|
|
440
484
|
text?: string;
|
|
441
485
|
}
|
|
486
|
+
/**
|
|
487
|
+
* @public
|
|
488
|
+
*/
|
|
489
|
+
export interface Point {
|
|
490
|
+
x: number;
|
|
491
|
+
y: number;
|
|
492
|
+
}
|
|
442
493
|
//# sourceMappingURL=JSHandle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JSHandle.d.ts","sourceRoot":"","sources":["../../../../src/common/JSHandle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EACL,UAAU,EACV,sBAAsB,EACtB,oBAAoB,EACpB,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAExB;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,OAAO,EAAE,KAAK,CAAC;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzC,OAAO,EAAE,KAAK,CAAC;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACzC,MAAM,EAAE,KAAK,CAAC;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxC,MAAM,EAAE,KAAK,CAAC;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxC,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