chrome-devtools-frontend 1.0.1021097 → 1.0.1022409
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/.eslintignore +14 -1
- package/config/gni/devtools_grd_files.gni +15 -10
- package/extension-api/ExtensionAPI.d.ts +54 -4
- package/front_end/.eslintrc.js +4 -1
- package/front_end/core/host/InspectorFrontendHostAPI.ts +1 -0
- package/front_end/core/host/UserMetrics.ts +18 -0
- package/front_end/core/i18n/locales/en-US.json +178 -4
- package/front_end/core/i18n/locales/en-XL.json +178 -4
- package/front_end/core/sdk/DebuggerModel.ts +10 -0
- package/front_end/devtools_compatibility.js +1 -0
- package/front_end/legacy_test_runner/sources_test_runner/DebuggerTestRunner.js +4 -3
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +174 -117
- package/front_end/models/bindings/ResourceScriptMapping.ts +12 -1
- package/front_end/models/extensions/ExtensionAPI.ts +101 -13
- package/front_end/models/extensions/ExtensionServer.ts +63 -1
- package/front_end/models/extensions/LanguageExtensionEndpoint.ts +16 -3
- package/front_end/models/issues_manager/RelatedIssue.ts +1 -1
- package/front_end/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -1
- package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -1
- package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -1
- package/front_end/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -1
- package/front_end/models/timeline_model/TimelineModel.ts +164 -7
- package/front_end/panels/application/AppManifestView.ts +13 -2
- package/front_end/panels/application/ApplicationPanelSidebar.ts +67 -5
- package/front_end/panels/application/components/FrameDetailsView.ts +3 -2
- package/front_end/panels/application/components/Prerender2.ts +188 -0
- package/front_end/panels/elements/CSSRuleValidator.ts +103 -13
- package/front_end/panels/elements/ElementsTreeElement.ts +3 -1
- package/front_end/panels/elements/ElementsTreeOutline.ts +41 -7
- package/front_end/panels/elements/StylePropertyTreeElement.ts +10 -8
- package/front_end/panels/elements/TopLayerContainer.ts +9 -1
- package/front_end/panels/elements/components/AdornerManager.ts +7 -0
- package/front_end/panels/elements/components/CSSHintDetailsView.ts +71 -0
- package/front_end/panels/elements/components/components.ts +2 -0
- package/front_end/panels/elements/components/cssHintDetailsView.css +36 -0
- package/front_end/panels/elements/elementsTreeOutline.css +4 -0
- package/front_end/panels/elements/stylesSectionTree.css +1 -1
- package/front_end/panels/network/components/RequestHeadersView.css +55 -0
- package/front_end/panels/network/components/RequestHeadersView.ts +280 -15
- package/front_end/panels/sources/AddSourceMapURLDialog.ts +17 -3
- package/front_end/panels/sources/CallStackSidebarPane.ts +7 -0
- package/front_end/panels/sources/DebuggerPlugin.ts +29 -3
- package/front_end/panels/sources/ScopeChainSidebarPane.ts +8 -0
- package/front_end/panels/sources/SourcesPanel.ts +14 -0
- package/front_end/services/puppeteer/PuppeteerConnection.ts +3 -5
- package/front_end/third_party/acorn/acorn.ts +1 -1
- package/front_end/third_party/chromium/client-variations/client-variations.ts +1 -1
- package/front_end/third_party/diff/DiffWrapper.ts +2 -0
- package/front_end/third_party/i18n/i18n-impl.ts +5 -1
- package/front_end/third_party/i18n/i18n.ts +1 -1
- package/front_end/third_party/i18n/locales.ts +1 -1
- package/front_end/third_party/lit-html/directives.ts +1 -0
- package/front_end/third_party/lit-html/lit-html-tsconfig.json +1 -0
- package/front_end/third_party/marked/marked.ts +1 -1
- package/front_end/third_party/puppeteer/package/README.md +136 -214
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.js +149 -85
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Accessibility.js.map +1 -1
- 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 +34 -10
- 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 +17 -36
- 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 +217 -160
- 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/BrowserConnector.d.ts +5 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +18 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js +30 -11
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts +21 -20
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js +125 -82
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts +1 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js +27 -9
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConsoleMessage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Coverage.d.ts +6 -30
- 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 +167 -131
- 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 +36 -67
- 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 +359 -215
- 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/Debug.d.ts +8 -4
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +9 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/DeviceDescriptors.d.ts +21 -2
- 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 +26 -6
- 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/Dialog.d.ts +2 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js +32 -15
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Dialog.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts +355 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js +847 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ElementHandle.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EmulationManager.d.ts +4 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EmulationManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EmulationManager.js +25 -8
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EmulationManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts +28 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js +27 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EventEmitter.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts +20 -19
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js +146 -126
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ExecutionContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.d.ts +4 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js +25 -10
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FileChooser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/FrameManager.d.ts +53 -92
- 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 +337 -320
- 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 +16 -28
- 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 +200 -147
- 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/HTTPResponse.d.ts +1 -18
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js +86 -60
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Input.d.ts +18 -22
- 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 +166 -117
- 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 +46 -395
- 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 +80 -842
- 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/LifecycleWatcher.d.ts +4 -32
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js +136 -108
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.d.ts +25 -7
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.js +23 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkConditions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.d.ts +16 -11
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.js +39 -32
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkEventManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/NetworkManager.d.ts +2 -42
- 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 +315 -316
- 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 -3
- 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 +2 -2
- 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 +246 -287
- 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 +841 -700
- 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/Puppeteer.d.ts +37 -74
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js +37 -89
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts +38 -13
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +79 -29
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/SecurityDetails.d.ts +1 -6
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/SecurityDetails.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/SecurityDetails.js +31 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/SecurityDetails.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts +6 -9
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js +80 -40
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js +24 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TaskQueue.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TimeoutSettings.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TimeoutSettings.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TimeoutSettings.js +28 -10
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/TimeoutSettings.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Tracing.d.ts +4 -5
- 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 +50 -23
- 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/USKeyboardLayout.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/USKeyboardLayout.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/USKeyboardLayout.js +2 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/USKeyboardLayout.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts +9 -11
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js +41 -31
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/assert.d.ts +4 -3
- 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 -8
- 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/fetch.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/fetch.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/fetch.js +6 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/fetch.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/types.d.ts +48 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/types.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{EvalTypes.js → types.js} +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/types.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +129 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/{helper.js → util.js} +168 -87
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/compat.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/constants.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +4 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/initialize-node.d.ts → cjs/puppeteer/initializePuppeteer.d.ts} +5 -2
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{initialize-node.js → initializePuppeteer.js} +18 -14
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initializePuppeteer.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserFetcher.d.ts +4 -11
- 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 +226 -158
- 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 +9 -11
- 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 +116 -72
- 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/ChromeLauncher.d.ts +27 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +176 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts +49 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js +361 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js.map +1 -0
- 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/NodeWebSocketTransport.d.ts +6 -3
- 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 +44 -12
- 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/PipeTransport.d.ts +4 -20
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js +60 -35
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.d.ts +31 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.js +166 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ProductLauncher.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Puppeteer.d.ts +42 -41
- 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 +69 -47
- 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 +6 -0
- 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 +55 -32
- 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/node/util.d.ts +10 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.js +40 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +23 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +41 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.d.ts +26 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.js +44 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +6 -5
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +6 -3
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/tsconfig.cjs.tsbuildinfo +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/tsconfig.tsbuildinfo +1 -0
- package/front_end/third_party/puppeteer/package/lib/{esm/puppeteer/api-docs-entry.js → cjs/puppeteer/types.d.ts} +46 -63
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/{api-docs-entry.js → types.js} +50 -51
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/types.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.d.ts +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.js +11 -12
- package/front_end/third_party/puppeteer/package/lib/cjs/vendor/tsconfig.cjs.tsbuildinfo +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.d.ts +6 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.js +149 -85
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Accessibility.js.map +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 +34 -10
- 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 +17 -36
- 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 +217 -160
- 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/BrowserConnector.d.ts +5 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js +16 -11
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserConnector.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserWebSocketTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserWebSocketTransport.js +30 -11
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/BrowserWebSocketTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts +21 -20
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js +125 -82
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Connection.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts +1 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js +27 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConsoleMessage.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Coverage.d.ts +6 -30
- 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 +167 -131
- 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 +36 -67
- 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 +335 -214
- 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/Debug.d.ts +8 -4
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +9 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/DeviceDescriptors.d.ts +21 -2
- 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 +25 -5
- 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/Dialog.d.ts +2 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.js +32 -15
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Dialog.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts +355 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js +820 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ElementHandle.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EmulationManager.d.ts +4 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EmulationManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EmulationManager.js +25 -8
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EmulationManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts +28 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js +26 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Errors.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EventEmitter.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts +20 -19
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js +145 -125
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ExecutionContext.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.d.ts +4 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js +25 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FileChooser.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/FrameManager.d.ts +53 -92
- 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 +337 -320
- 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 +16 -28
- 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 +199 -146
- 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/HTTPResponse.d.ts +1 -18
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js +86 -60
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HTTPResponse.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Input.d.ts +18 -22
- 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 +167 -118
- 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 +46 -395
- 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 +80 -817
- 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/LifecycleWatcher.d.ts +4 -32
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js +135 -107
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LifecycleWatcher.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.d.ts +25 -7
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.js +23 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkConditions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.d.ts +16 -11
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.js +39 -32
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkEventManager.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/NetworkManager.d.ts +2 -42
- 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 +312 -313
- 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 -3
- 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 +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 +246 -287
- 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 +819 -701
- 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/Puppeteer.d.ts +37 -74
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js +39 -91
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Puppeteer.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts +38 -13
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +79 -29
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/SecurityDetails.d.ts +1 -6
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/SecurityDetails.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/SecurityDetails.js +31 -12
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/SecurityDetails.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts +6 -9
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js +80 -40
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Target.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js +24 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TaskQueue.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TimeoutSettings.d.ts +1 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TimeoutSettings.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TimeoutSettings.js +28 -10
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/TimeoutSettings.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Tracing.d.ts +4 -5
- 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 +50 -23
- 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/USKeyboardLayout.d.ts +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/USKeyboardLayout.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/USKeyboardLayout.js +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/USKeyboardLayout.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts +9 -11
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js +41 -31
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/WebWorker.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/assert.d.ts +4 -3
- 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 +5 -6
- 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/fetch.d.ts +5 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/fetch.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/fetch.js +6 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/fetch.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/types.d.ts +48 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/types.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{EvalTypes.js → types.js} +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/types.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +129 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/{helper.js → util.js} +161 -100
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/compat.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/constants.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js +3 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +4 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +4 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/{cjs/puppeteer/initialize-node.d.ts → esm/puppeteer/initializePuppeteer.d.ts} +5 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{initialize-node.js → initializePuppeteer.js} +16 -12
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initializePuppeteer.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserFetcher.d.ts +4 -11
- 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 +226 -158
- 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 +9 -11
- 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 +113 -69
- 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/ChromeLauncher.d.ts +27 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +169 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts +49 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/{Launcher.js → FirefoxLauncher.js} +51 -345
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js.map +1 -0
- 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/NodeWebSocketTransport.d.ts +6 -3
- 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 +44 -12
- 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/PipeTransport.d.ts +4 -20
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js +60 -35
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.d.ts +31 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.js +157 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ProductLauncher.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Puppeteer.d.ts +42 -41
- 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 +70 -45
- 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 +6 -0
- 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 +53 -30
- 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/node/util.d.ts +10 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.js +13 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/util.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +23 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/{node-puppeteer-core.d.ts → puppeteer-core.js} +8 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.d.ts +26 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/{cjs/puppeteer/node-puppeteer-core.d.ts → esm/puppeteer/puppeteer.js} +11 -2
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +6 -5
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +6 -3
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/tsconfig.esm.tsbuildinfo +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/tsconfig.tsbuildinfo +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts +64 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.d.ts.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js +68 -0
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/types.js.map +1 -0
- package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.d.ts +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.js +9 -10
- package/front_end/third_party/puppeteer/package/lib/esm/vendor/tsconfig.esm.tsbuildinfo +1 -0
- package/front_end/third_party/puppeteer/package/lib/types.d.ts +846 -1670
- package/front_end/third_party/puppeteer/package/package.json +65 -68
- package/front_end/third_party/puppeteer/package/typescript-if-required.js +17 -8
- package/front_end/third_party/puppeteer/puppeteer.ts +2 -9
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +2 -5
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +45 -3
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorPane.ts +40 -12
- package/front_end/ui/components/linear_memory_inspector/LinearMemoryViewer.ts +5 -5
- package/front_end/ui/legacy/ReportView.ts +8 -0
- package/front_end/ui/legacy/components/utils/Linkifier.ts +3 -1
- package/package.json +1 -1
- package/scripts/eslint_rules/lib/custom_element_definitions_location.js +29 -14
- package/scripts/eslint_rules/lib/es_modules_import.js +5 -1
- package/scripts/eslint_rules/lib/inject_checkbox_styles.js +4 -2
- package/scripts/eslint_rules/tests/custom_element_definitions_location_test.js +14 -2
- package/scripts/eslint_rules/tests/es_modules_import_test.js +5 -0
- package/scripts/eslint_rules/tests/inject_checkbox_styles_test.js +45 -5
- package/front_end/third_party/puppeteer/package/cjs-entry-core.js +0 -29
- package/front_end/third_party/puppeteer/package/cjs-entry.js +0 -29
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api-docs-entry.d.ts +0 -111
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api-docs-entry.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api-docs-entry.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.d.ts +0 -61
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/EvalTypes.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Events.d.ts +0 -82
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Events.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Events.js +0 -87
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Events.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.d.ts +0 -85
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/helper.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-node.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-web.d.ts +0 -18
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-web.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-web.js +0 -27
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/initialize-web.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts +0 -18
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js +0 -674
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/Launcher.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js +0 -25
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node-puppeteer-core.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.d.ts +0 -18
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js +0 -24
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.d.ts +0 -18
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js +0 -24
- package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/web.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/cjs/vendor/mitt/src/index.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api-docs-entry.d.ts +0 -111
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api-docs-entry.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api-docs-entry.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.d.ts +0 -61
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/EvalTypes.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Events.d.ts +0 -82
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Events.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Events.js +0 -84
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Events.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.d.ts +0 -85
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/helper.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-node.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-web.d.ts +0 -18
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-web.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-web.js +0 -23
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/initialize-web.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts +0 -18
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/Launcher.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node-puppeteer-core.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node-puppeteer-core.js +0 -23
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node-puppeteer-core.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node.d.ts +0 -18
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node.js +0 -22
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/web.d.ts +0 -18
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/web.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/web.js +0 -22
- package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/web.js.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.d.ts.map +0 -1
- package/front_end/third_party/puppeteer/package/lib/esm/vendor/mitt/src/index.js.map +0 -1
@@ -1,5 +1,17 @@
|
|
1
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
2
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
3
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
5
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
6
|
+
};
|
7
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
8
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
9
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
10
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
11
|
+
};
|
12
|
+
var _HTTPRequest_instances, _HTTPRequest_client, _HTTPRequest_isNavigationRequest, _HTTPRequest_allowInterception, _HTTPRequest_interceptionHandled, _HTTPRequest_url, _HTTPRequest_resourceType, _HTTPRequest_method, _HTTPRequest_postData, _HTTPRequest_headers, _HTTPRequest_frame, _HTTPRequest_continueRequestOverrides, _HTTPRequest_responseForRequest, _HTTPRequest_abortErrorReason, _HTTPRequest_interceptResolutionState, _HTTPRequest_interceptHandlers, _HTTPRequest_initiator, _HTTPRequest_continue, _HTTPRequest_respond, _HTTPRequest_abort;
|
1
13
|
import { assert } from './assert.js';
|
2
|
-
import {
|
14
|
+
import { debugError, isString } from './util.js';
|
3
15
|
/**
|
4
16
|
* The default cooperative request interception resolution priority
|
5
17
|
*
|
@@ -43,6 +55,7 @@ export class HTTPRequest {
|
|
43
55
|
* @internal
|
44
56
|
*/
|
45
57
|
constructor(client, frame, interceptionId, allowInterception, event, redirectChain) {
|
58
|
+
_HTTPRequest_instances.add(this);
|
46
59
|
/**
|
47
60
|
* @internal
|
48
61
|
*/
|
@@ -55,36 +68,55 @@ export class HTTPRequest {
|
|
55
68
|
* @internal
|
56
69
|
*/
|
57
70
|
this._fromMemoryCache = false;
|
58
|
-
this
|
59
|
-
this
|
60
|
-
this
|
61
|
-
this
|
62
|
-
this
|
71
|
+
_HTTPRequest_client.set(this, void 0);
|
72
|
+
_HTTPRequest_isNavigationRequest.set(this, void 0);
|
73
|
+
_HTTPRequest_allowInterception.set(this, void 0);
|
74
|
+
_HTTPRequest_interceptionHandled.set(this, false);
|
75
|
+
_HTTPRequest_url.set(this, void 0);
|
76
|
+
_HTTPRequest_resourceType.set(this, void 0);
|
77
|
+
_HTTPRequest_method.set(this, void 0);
|
78
|
+
_HTTPRequest_postData.set(this, void 0);
|
79
|
+
_HTTPRequest_headers.set(this, {});
|
80
|
+
_HTTPRequest_frame.set(this, void 0);
|
81
|
+
_HTTPRequest_continueRequestOverrides.set(this, void 0);
|
82
|
+
_HTTPRequest_responseForRequest.set(this, null);
|
83
|
+
_HTTPRequest_abortErrorReason.set(this, null);
|
84
|
+
_HTTPRequest_interceptResolutionState.set(this, {
|
63
85
|
action: InterceptResolutionAction.None,
|
64
|
-
};
|
65
|
-
this
|
86
|
+
});
|
87
|
+
_HTTPRequest_interceptHandlers.set(this, void 0);
|
88
|
+
_HTTPRequest_initiator.set(this, void 0);
|
89
|
+
__classPrivateFieldSet(this, _HTTPRequest_client, client, "f");
|
66
90
|
this._requestId = event.requestId;
|
67
|
-
this.
|
68
|
-
event.requestId === event.loaderId && event.type === 'Document';
|
91
|
+
__classPrivateFieldSet(this, _HTTPRequest_isNavigationRequest, event.requestId === event.loaderId && event.type === 'Document', "f");
|
69
92
|
this._interceptionId = interceptionId;
|
70
|
-
this
|
71
|
-
this
|
72
|
-
this
|
73
|
-
this
|
74
|
-
this
|
75
|
-
this
|
93
|
+
__classPrivateFieldSet(this, _HTTPRequest_allowInterception, allowInterception, "f");
|
94
|
+
__classPrivateFieldSet(this, _HTTPRequest_url, event.request.url, "f");
|
95
|
+
__classPrivateFieldSet(this, _HTTPRequest_resourceType, (event.type || 'other').toLowerCase(), "f");
|
96
|
+
__classPrivateFieldSet(this, _HTTPRequest_method, event.request.method, "f");
|
97
|
+
__classPrivateFieldSet(this, _HTTPRequest_postData, event.request.postData, "f");
|
98
|
+
__classPrivateFieldSet(this, _HTTPRequest_frame, frame, "f");
|
76
99
|
this._redirectChain = redirectChain;
|
77
|
-
this
|
78
|
-
this
|
79
|
-
this
|
80
|
-
for (const key of Object.
|
81
|
-
this
|
100
|
+
__classPrivateFieldSet(this, _HTTPRequest_continueRequestOverrides, {}, "f");
|
101
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptHandlers, [], "f");
|
102
|
+
__classPrivateFieldSet(this, _HTTPRequest_initiator, event.initiator, "f");
|
103
|
+
for (const [key, value] of Object.entries(event.request.headers)) {
|
104
|
+
__classPrivateFieldGet(this, _HTTPRequest_headers, "f")[key.toLowerCase()] = value;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
/**
|
108
|
+
* Warning! Using this client can break Puppeteer. Use with caution.
|
109
|
+
*
|
110
|
+
* @experimental
|
111
|
+
*/
|
112
|
+
get client() {
|
113
|
+
return __classPrivateFieldGet(this, _HTTPRequest_client, "f");
|
82
114
|
}
|
83
115
|
/**
|
84
116
|
* @returns the URL of the request
|
85
117
|
*/
|
86
118
|
url() {
|
87
|
-
return this
|
119
|
+
return __classPrivateFieldGet(this, _HTTPRequest_url, "f");
|
88
120
|
}
|
89
121
|
/**
|
90
122
|
* @returns the `ContinueRequestOverrides` that will be used
|
@@ -92,23 +124,23 @@ export class HTTPRequest {
|
|
92
124
|
* `respond()` aren't called).
|
93
125
|
*/
|
94
126
|
continueRequestOverrides() {
|
95
|
-
assert(this
|
96
|
-
return this
|
127
|
+
assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
128
|
+
return __classPrivateFieldGet(this, _HTTPRequest_continueRequestOverrides, "f");
|
97
129
|
}
|
98
130
|
/**
|
99
131
|
* @returns The `ResponseForRequest` that gets used if the
|
100
132
|
* interception is allowed to respond (ie, `abort()` is not called).
|
101
133
|
*/
|
102
134
|
responseForRequest() {
|
103
|
-
assert(this
|
104
|
-
return this
|
135
|
+
assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
136
|
+
return __classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f");
|
105
137
|
}
|
106
138
|
/**
|
107
139
|
* @returns the most recent reason for aborting the request
|
108
140
|
*/
|
109
141
|
abortErrorReason() {
|
110
|
-
assert(this
|
111
|
-
return this
|
142
|
+
assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
143
|
+
return __classPrivateFieldGet(this, _HTTPRequest_abortErrorReason, "f");
|
112
144
|
}
|
113
145
|
/**
|
114
146
|
* @returns An InterceptResolutionState object describing the current resolution
|
@@ -122,18 +154,20 @@ export class HTTPRequest {
|
|
122
154
|
* `disabled`, `none`, or `already-handled`.
|
123
155
|
*/
|
124
156
|
interceptResolutionState() {
|
125
|
-
if (!this
|
157
|
+
if (!__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f")) {
|
126
158
|
return { action: InterceptResolutionAction.Disabled };
|
127
|
-
|
159
|
+
}
|
160
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f")) {
|
128
161
|
return { action: InterceptResolutionAction.AlreadyHandled };
|
129
|
-
|
162
|
+
}
|
163
|
+
return { ...__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f") };
|
130
164
|
}
|
131
165
|
/**
|
132
166
|
* @returns `true` if the intercept resolution has already been handled,
|
133
167
|
* `false` otherwise.
|
134
168
|
*/
|
135
169
|
isInterceptResolutionHandled() {
|
136
|
-
return this
|
170
|
+
return __classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f");
|
137
171
|
}
|
138
172
|
/**
|
139
173
|
* Adds an async request handler to the processing queue.
|
@@ -142,25 +176,27 @@ export class HTTPRequest {
|
|
142
176
|
* is finalized.
|
143
177
|
*/
|
144
178
|
enqueueInterceptAction(pendingHandler) {
|
145
|
-
this.
|
179
|
+
__classPrivateFieldGet(this, _HTTPRequest_interceptHandlers, "f").push(pendingHandler);
|
146
180
|
}
|
147
181
|
/**
|
148
182
|
* Awaits pending interception handlers and then decides how to fulfill
|
149
183
|
* the request interception.
|
150
184
|
*/
|
151
185
|
async finalizeInterceptions() {
|
152
|
-
await this.
|
186
|
+
await __classPrivateFieldGet(this, _HTTPRequest_interceptHandlers, "f").reduce((promiseChain, interceptAction) => {
|
187
|
+
return promiseChain.then(interceptAction);
|
188
|
+
}, Promise.resolve());
|
153
189
|
const { action } = this.interceptResolutionState();
|
154
190
|
switch (action) {
|
155
191
|
case 'abort':
|
156
|
-
return this.
|
192
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_abort).call(this, __classPrivateFieldGet(this, _HTTPRequest_abortErrorReason, "f"));
|
157
193
|
case 'respond':
|
158
|
-
if (this
|
194
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f") === null) {
|
159
195
|
throw new Error('Response is missing for the interception');
|
160
196
|
}
|
161
|
-
return this.
|
197
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_respond).call(this, __classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f"));
|
162
198
|
case 'continue':
|
163
|
-
return this.
|
199
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_continue).call(this, __classPrivateFieldGet(this, _HTTPRequest_continueRequestOverrides, "f"));
|
164
200
|
}
|
165
201
|
}
|
166
202
|
/**
|
@@ -168,26 +204,26 @@ export class HTTPRequest {
|
|
168
204
|
* engine.
|
169
205
|
*/
|
170
206
|
resourceType() {
|
171
|
-
return this
|
207
|
+
return __classPrivateFieldGet(this, _HTTPRequest_resourceType, "f");
|
172
208
|
}
|
173
209
|
/**
|
174
210
|
* @returns the method used (`GET`, `POST`, etc.)
|
175
211
|
*/
|
176
212
|
method() {
|
177
|
-
return this
|
213
|
+
return __classPrivateFieldGet(this, _HTTPRequest_method, "f");
|
178
214
|
}
|
179
215
|
/**
|
180
216
|
* @returns the request's post body, if any.
|
181
217
|
*/
|
182
218
|
postData() {
|
183
|
-
return this
|
219
|
+
return __classPrivateFieldGet(this, _HTTPRequest_postData, "f");
|
184
220
|
}
|
185
221
|
/**
|
186
222
|
* @returns an object with HTTP headers associated with the request. All
|
187
223
|
* header names are lower-case.
|
188
224
|
*/
|
189
225
|
headers() {
|
190
|
-
return this
|
226
|
+
return __classPrivateFieldGet(this, _HTTPRequest_headers, "f");
|
191
227
|
}
|
192
228
|
/**
|
193
229
|
* @returns A matching `HTTPResponse` object, or null if the response has not
|
@@ -201,19 +237,19 @@ export class HTTPRequest {
|
|
201
237
|
* error pages.
|
202
238
|
*/
|
203
239
|
frame() {
|
204
|
-
return this
|
240
|
+
return __classPrivateFieldGet(this, _HTTPRequest_frame, "f");
|
205
241
|
}
|
206
242
|
/**
|
207
243
|
* @returns true if the request is the driver of the current frame's navigation.
|
208
244
|
*/
|
209
245
|
isNavigationRequest() {
|
210
|
-
return this
|
246
|
+
return __classPrivateFieldGet(this, _HTTPRequest_isNavigationRequest, "f");
|
211
247
|
}
|
212
248
|
/**
|
213
249
|
* @returns the initiator of the request.
|
214
250
|
*/
|
215
251
|
initiator() {
|
216
|
-
return this
|
252
|
+
return __classPrivateFieldGet(this, _HTTPRequest_initiator, "f");
|
217
253
|
}
|
218
254
|
/**
|
219
255
|
* A `redirectChain` is a chain of requests initiated to fetch a resource.
|
@@ -224,7 +260,7 @@ export class HTTPRequest {
|
|
224
260
|
* For example, if the website `http://example.com` has a single redirect to
|
225
261
|
* `https://example.com`, then the chain will contain one request:
|
226
262
|
*
|
227
|
-
* ```
|
263
|
+
* ```ts
|
228
264
|
* const response = await page.goto('http://example.com');
|
229
265
|
* const chain = response.request().redirectChain();
|
230
266
|
* console.log(chain.length); // 1
|
@@ -233,7 +269,7 @@ export class HTTPRequest {
|
|
233
269
|
*
|
234
270
|
* If the website `https://google.com` has no redirects, then the chain will be empty:
|
235
271
|
*
|
236
|
-
* ```
|
272
|
+
* ```ts
|
237
273
|
* const response = await page.goto('https://google.com');
|
238
274
|
* const chain = response.request().redirectChain();
|
239
275
|
* console.log(chain.length); // 0
|
@@ -254,7 +290,7 @@ export class HTTPRequest {
|
|
254
290
|
*
|
255
291
|
* Example of logging all failed requests:
|
256
292
|
*
|
257
|
-
* ```
|
293
|
+
* ```ts
|
258
294
|
* page.on('requestfailed', request => {
|
259
295
|
* console.log(request.url() + ' ' + request.failure().errorText);
|
260
296
|
* });
|
@@ -266,8 +302,9 @@ export class HTTPRequest {
|
|
266
302
|
* failure text if the request fails.
|
267
303
|
*/
|
268
304
|
failure() {
|
269
|
-
if (!this._failureText)
|
305
|
+
if (!this._failureText) {
|
270
306
|
return null;
|
307
|
+
}
|
271
308
|
return {
|
272
309
|
errorText: this._failureText,
|
273
310
|
};
|
@@ -283,7 +320,7 @@ export class HTTPRequest {
|
|
283
320
|
* Exception is immediately thrown if the request interception is not enabled.
|
284
321
|
*
|
285
322
|
* @example
|
286
|
-
* ```
|
323
|
+
* ```ts
|
287
324
|
* await page.setRequestInterception(true);
|
288
325
|
* page.on('request', request => {
|
289
326
|
* // Override headers
|
@@ -302,51 +339,33 @@ export class HTTPRequest {
|
|
302
339
|
*/
|
303
340
|
async continue(overrides = {}, priority) {
|
304
341
|
// Request interception is not supported for data: urls.
|
305
|
-
if (this.
|
342
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
|
306
343
|
return;
|
307
|
-
|
308
|
-
assert(
|
344
|
+
}
|
345
|
+
assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
346
|
+
assert(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
|
309
347
|
if (priority === undefined) {
|
310
|
-
return this.
|
348
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_continue).call(this, overrides);
|
311
349
|
}
|
312
|
-
this
|
313
|
-
if (this.
|
314
|
-
priority > this.
|
315
|
-
this
|
350
|
+
__classPrivateFieldSet(this, _HTTPRequest_continueRequestOverrides, overrides, "f");
|
351
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
|
352
|
+
priority > __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
353
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
|
316
354
|
action: InterceptResolutionAction.Continue,
|
317
355
|
priority,
|
318
|
-
};
|
356
|
+
}, "f");
|
319
357
|
return;
|
320
358
|
}
|
321
|
-
if (priority === this.
|
322
|
-
if (this.
|
323
|
-
this.
|
359
|
+
if (priority === __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
360
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'abort' ||
|
361
|
+
__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'respond') {
|
324
362
|
return;
|
325
363
|
}
|
326
|
-
this.
|
364
|
+
__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action =
|
327
365
|
InterceptResolutionAction.Continue;
|
328
366
|
}
|
329
367
|
return;
|
330
368
|
}
|
331
|
-
async _continue(overrides = {}) {
|
332
|
-
const { url, method, postData, headers } = overrides;
|
333
|
-
this._interceptionHandled = true;
|
334
|
-
const postDataBinaryBase64 = postData
|
335
|
-
? Buffer.from(postData).toString('base64')
|
336
|
-
: undefined;
|
337
|
-
await this._client
|
338
|
-
.send('Fetch.continueRequest', {
|
339
|
-
requestId: this._interceptionId,
|
340
|
-
url,
|
341
|
-
method,
|
342
|
-
postData: postDataBinaryBase64,
|
343
|
-
headers: headers ? headersArray(headers) : undefined,
|
344
|
-
})
|
345
|
-
.catch((error) => {
|
346
|
-
this._interceptionHandled = false;
|
347
|
-
return handleError(error);
|
348
|
-
});
|
349
|
-
}
|
350
369
|
/**
|
351
370
|
* Fulfills a request with the given response.
|
352
371
|
*
|
@@ -359,7 +378,7 @@ export class HTTPRequest {
|
|
359
378
|
*
|
360
379
|
* @example
|
361
380
|
* An example of fulfilling all requests with 404 responses:
|
362
|
-
* ```
|
381
|
+
* ```ts
|
363
382
|
* await page.setRequestInterception(true);
|
364
383
|
* page.on('request', request => {
|
365
384
|
* request.respond({
|
@@ -380,60 +399,29 @@ export class HTTPRequest {
|
|
380
399
|
*/
|
381
400
|
async respond(response, priority) {
|
382
401
|
// Mocking responses for dataURL requests is not currently supported.
|
383
|
-
if (this.
|
402
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
|
384
403
|
return;
|
385
|
-
|
386
|
-
assert(
|
404
|
+
}
|
405
|
+
assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
406
|
+
assert(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
|
387
407
|
if (priority === undefined) {
|
388
|
-
return this.
|
408
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_respond).call(this, response);
|
389
409
|
}
|
390
|
-
this
|
391
|
-
if (this.
|
392
|
-
priority > this.
|
393
|
-
this
|
410
|
+
__classPrivateFieldSet(this, _HTTPRequest_responseForRequest, response, "f");
|
411
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
|
412
|
+
priority > __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
413
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
|
394
414
|
action: InterceptResolutionAction.Respond,
|
395
415
|
priority,
|
396
|
-
};
|
416
|
+
}, "f");
|
397
417
|
return;
|
398
418
|
}
|
399
|
-
if (priority === this.
|
400
|
-
if (this.
|
419
|
+
if (priority === __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
420
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'abort') {
|
401
421
|
return;
|
402
422
|
}
|
403
|
-
this.
|
404
|
-
}
|
405
|
-
}
|
406
|
-
async _respond(response) {
|
407
|
-
this._interceptionHandled = true;
|
408
|
-
const responseBody = response.body && helper.isString(response.body)
|
409
|
-
? Buffer.from(response.body)
|
410
|
-
: response.body || null;
|
411
|
-
const responseHeaders = {};
|
412
|
-
if (response.headers) {
|
413
|
-
for (const header of Object.keys(response.headers)) {
|
414
|
-
const value = response.headers[header];
|
415
|
-
responseHeaders[header.toLowerCase()] = Array.isArray(value)
|
416
|
-
? value.map((item) => String(item))
|
417
|
-
: String(value);
|
418
|
-
}
|
423
|
+
__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action = InterceptResolutionAction.Respond;
|
419
424
|
}
|
420
|
-
if (response.contentType)
|
421
|
-
responseHeaders['content-type'] = response.contentType;
|
422
|
-
if (responseBody && !('content-length' in responseHeaders))
|
423
|
-
responseHeaders['content-length'] = String(Buffer.byteLength(responseBody));
|
424
|
-
const status = response.status || 200;
|
425
|
-
await this._client
|
426
|
-
.send('Fetch.fulfillRequest', {
|
427
|
-
requestId: this._interceptionId,
|
428
|
-
responseCode: status,
|
429
|
-
responsePhrase: STATUS_TEXTS[status],
|
430
|
-
responseHeaders: headersArray(responseHeaders),
|
431
|
-
body: responseBody ? responseBody.toString('base64') : undefined,
|
432
|
-
})
|
433
|
-
.catch((error) => {
|
434
|
-
this._interceptionHandled = false;
|
435
|
-
return handleError(error);
|
436
|
-
});
|
437
425
|
}
|
438
426
|
/**
|
439
427
|
* Aborts a request.
|
@@ -450,35 +438,98 @@ export class HTTPRequest {
|
|
450
438
|
*/
|
451
439
|
async abort(errorCode = 'failed', priority) {
|
452
440
|
// Request interception is not supported for data: urls.
|
453
|
-
if (this.
|
441
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
|
454
442
|
return;
|
443
|
+
}
|
455
444
|
const errorReason = errorReasons[errorCode];
|
456
445
|
assert(errorReason, 'Unknown error code: ' + errorCode);
|
457
|
-
assert(this
|
458
|
-
assert(!this
|
446
|
+
assert(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
447
|
+
assert(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
|
459
448
|
if (priority === undefined) {
|
460
|
-
return this.
|
449
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_abort).call(this, errorReason);
|
461
450
|
}
|
462
|
-
this
|
463
|
-
if (this.
|
464
|
-
priority >= this.
|
465
|
-
this
|
451
|
+
__classPrivateFieldSet(this, _HTTPRequest_abortErrorReason, errorReason, "f");
|
452
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
|
453
|
+
priority >= __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
454
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
|
466
455
|
action: InterceptResolutionAction.Abort,
|
467
456
|
priority,
|
468
|
-
};
|
457
|
+
}, "f");
|
469
458
|
return;
|
470
459
|
}
|
471
460
|
}
|
472
|
-
async _abort(errorReason) {
|
473
|
-
this._interceptionHandled = true;
|
474
|
-
await this._client
|
475
|
-
.send('Fetch.failRequest', {
|
476
|
-
requestId: this._interceptionId,
|
477
|
-
errorReason: errorReason || 'Failed',
|
478
|
-
})
|
479
|
-
.catch(handleError);
|
480
|
-
}
|
481
461
|
}
|
462
|
+
_HTTPRequest_client = new WeakMap(), _HTTPRequest_isNavigationRequest = new WeakMap(), _HTTPRequest_allowInterception = new WeakMap(), _HTTPRequest_interceptionHandled = new WeakMap(), _HTTPRequest_url = new WeakMap(), _HTTPRequest_resourceType = new WeakMap(), _HTTPRequest_method = new WeakMap(), _HTTPRequest_postData = new WeakMap(), _HTTPRequest_headers = new WeakMap(), _HTTPRequest_frame = new WeakMap(), _HTTPRequest_continueRequestOverrides = new WeakMap(), _HTTPRequest_responseForRequest = new WeakMap(), _HTTPRequest_abortErrorReason = new WeakMap(), _HTTPRequest_interceptResolutionState = new WeakMap(), _HTTPRequest_interceptHandlers = new WeakMap(), _HTTPRequest_initiator = new WeakMap(), _HTTPRequest_instances = new WeakSet(), _HTTPRequest_continue = async function _HTTPRequest_continue(overrides = {}) {
|
463
|
+
const { url, method, postData, headers } = overrides;
|
464
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
|
465
|
+
const postDataBinaryBase64 = postData
|
466
|
+
? Buffer.from(postData).toString('base64')
|
467
|
+
: undefined;
|
468
|
+
if (this._interceptionId === undefined) {
|
469
|
+
throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.continueRequest');
|
470
|
+
}
|
471
|
+
await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
|
472
|
+
.send('Fetch.continueRequest', {
|
473
|
+
requestId: this._interceptionId,
|
474
|
+
url,
|
475
|
+
method,
|
476
|
+
postData: postDataBinaryBase64,
|
477
|
+
headers: headers ? headersArray(headers) : undefined,
|
478
|
+
})
|
479
|
+
.catch(error => {
|
480
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, false, "f");
|
481
|
+
return handleError(error);
|
482
|
+
});
|
483
|
+
}, _HTTPRequest_respond = async function _HTTPRequest_respond(response) {
|
484
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
|
485
|
+
const responseBody = response.body && isString(response.body)
|
486
|
+
? Buffer.from(response.body)
|
487
|
+
: response.body || null;
|
488
|
+
const responseHeaders = {};
|
489
|
+
if (response.headers) {
|
490
|
+
for (const header of Object.keys(response.headers)) {
|
491
|
+
const value = response.headers[header];
|
492
|
+
responseHeaders[header.toLowerCase()] = Array.isArray(value)
|
493
|
+
? value.map(item => {
|
494
|
+
return String(item);
|
495
|
+
})
|
496
|
+
: String(value);
|
497
|
+
}
|
498
|
+
}
|
499
|
+
if (response.contentType) {
|
500
|
+
responseHeaders['content-type'] = response.contentType;
|
501
|
+
}
|
502
|
+
if (responseBody && !('content-length' in responseHeaders)) {
|
503
|
+
responseHeaders['content-length'] = String(Buffer.byteLength(responseBody));
|
504
|
+
}
|
505
|
+
const status = response.status || 200;
|
506
|
+
if (this._interceptionId === undefined) {
|
507
|
+
throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.fulfillRequest');
|
508
|
+
}
|
509
|
+
await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
|
510
|
+
.send('Fetch.fulfillRequest', {
|
511
|
+
requestId: this._interceptionId,
|
512
|
+
responseCode: status,
|
513
|
+
responsePhrase: STATUS_TEXTS[status],
|
514
|
+
responseHeaders: headersArray(responseHeaders),
|
515
|
+
body: responseBody ? responseBody.toString('base64') : undefined,
|
516
|
+
})
|
517
|
+
.catch(error => {
|
518
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, false, "f");
|
519
|
+
return handleError(error);
|
520
|
+
});
|
521
|
+
}, _HTTPRequest_abort = async function _HTTPRequest_abort(errorReason) {
|
522
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
|
523
|
+
if (this._interceptionId === undefined) {
|
524
|
+
throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.failRequest');
|
525
|
+
}
|
526
|
+
await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
|
527
|
+
.send('Fetch.failRequest', {
|
528
|
+
requestId: this._interceptionId,
|
529
|
+
errorReason: errorReason || 'Failed',
|
530
|
+
})
|
531
|
+
.catch(handleError);
|
532
|
+
};
|
482
533
|
/**
|
483
534
|
* @public
|
484
535
|
*/
|
@@ -513,7 +564,9 @@ function headersArray(headers) {
|
|
513
564
|
const value = headers[name];
|
514
565
|
if (!Object.is(value, undefined)) {
|
515
566
|
const values = Array.isArray(value) ? value : [value];
|
516
|
-
result.push(...values.map(
|
567
|
+
result.push(...values.map(value => {
|
568
|
+
return { name, value: value + '' };
|
569
|
+
}));
|
517
570
|
}
|
518
571
|
}
|
519
572
|
return result;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HTTPRequest.js","sourceRoot":"","sources":["../../../../src/common/HTTPRequest.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AA+CjD;;;;GAIG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC;AAS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KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,mBAAmB;IAC1B,KAAK,EAAE,WAAW;IAClB,KAAK,EAAE,kBAAkB;IACzB,KAAK,EAAE,uBAAuB;IAC9B,KAAK,EAAE,mBAAmB;IAC1B,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"}
|
@@ -37,28 +37,11 @@ interface CDPSession extends EventEmitter {
|
|
37
37
|
* @public
|
38
38
|
*/
|
39
39
|
export declare class HTTPResponse {
|
40
|
-
private
|
41
|
-
private _request;
|
42
|
-
private _contentPromise;
|
43
|
-
private _bodyLoadedPromise;
|
44
|
-
private _bodyLoadedPromiseFulfill;
|
45
|
-
private _remoteAddress;
|
46
|
-
private _status;
|
47
|
-
private _statusText;
|
48
|
-
private _url;
|
49
|
-
private _fromDiskCache;
|
50
|
-
private _fromServiceWorker;
|
51
|
-
private _headers;
|
52
|
-
private _securityDetails;
|
53
|
-
private _timing;
|
40
|
+
#private;
|
54
41
|
/**
|
55
42
|
* @internal
|
56
43
|
*/
|
57
44
|
constructor(client: CDPSession, request: HTTPRequest, responsePayload: Protocol.Network.Response, extraInfo: Protocol.Network.ResponseReceivedExtraInfoEvent | null);
|
58
|
-
/**
|
59
|
-
* @internal
|
60
|
-
*/
|
61
|
-
_parseStatusTextFromExtrInfo(extraInfo: Protocol.Network.ResponseReceivedExtraInfoEvent | null): string | undefined;
|
62
45
|
/**
|
63
46
|
* @internal
|
64
47
|
*/
|