chrome-devtools-frontend 1.0.1020771 → 1.0.1022059
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/docs/triage_guidelines.md +9 -7
- 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 +150 -9
- package/front_end/core/i18n/locales/en-XL.json +150 -9
- package/front_end/core/sdk/CSSModel.ts +5 -2
- 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/BreakpointManager.ts +14 -3
- package/front_end/models/bindings/DebuggerLanguagePlugins.ts +165 -117
- package/front_end/models/bindings/ResourceScriptMapping.ts +76 -53
- 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/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/application/components/protocolHandlersView.css +4 -0
- package/front_end/panels/elements/CSSRuleValidator.ts +103 -13
- package/front_end/panels/elements/ElementsPanel.ts +3 -0
- package/front_end/panels/elements/ElementsTreeElement.ts +3 -1
- package/front_end/panels/elements/ElementsTreeOutline.ts +41 -7
- package/front_end/panels/elements/LayoutSidebarPane.ts +1 -2
- 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.ts +2 -1
- 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/object_ui/ObjectPropertiesSection.ts +13 -10
- package/front_end/ui/legacy/components/object_ui/objectValue.css +4 -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 +28 -13
- 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 +9 -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,8 +1,20 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
3
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
4
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
5
|
+
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");
|
6
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
7
|
+
};
|
8
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
9
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
10
|
+
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");
|
11
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
12
|
+
};
|
13
|
+
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;
|
2
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
15
|
exports.InterceptResolutionAction = exports.HTTPRequest = exports.DEFAULT_INTERCEPT_RESOLUTION_PRIORITY = void 0;
|
4
16
|
const assert_js_1 = require("./assert.js");
|
5
|
-
const
|
17
|
+
const util_js_1 = require("./util.js");
|
6
18
|
/**
|
7
19
|
* The default cooperative request interception resolution priority
|
8
20
|
*
|
@@ -46,6 +58,7 @@ class HTTPRequest {
|
|
46
58
|
* @internal
|
47
59
|
*/
|
48
60
|
constructor(client, frame, interceptionId, allowInterception, event, redirectChain) {
|
61
|
+
_HTTPRequest_instances.add(this);
|
49
62
|
/**
|
50
63
|
* @internal
|
51
64
|
*/
|
@@ -58,36 +71,55 @@ class HTTPRequest {
|
|
58
71
|
* @internal
|
59
72
|
*/
|
60
73
|
this._fromMemoryCache = false;
|
61
|
-
this
|
62
|
-
this
|
63
|
-
this
|
64
|
-
this
|
65
|
-
this
|
74
|
+
_HTTPRequest_client.set(this, void 0);
|
75
|
+
_HTTPRequest_isNavigationRequest.set(this, void 0);
|
76
|
+
_HTTPRequest_allowInterception.set(this, void 0);
|
77
|
+
_HTTPRequest_interceptionHandled.set(this, false);
|
78
|
+
_HTTPRequest_url.set(this, void 0);
|
79
|
+
_HTTPRequest_resourceType.set(this, void 0);
|
80
|
+
_HTTPRequest_method.set(this, void 0);
|
81
|
+
_HTTPRequest_postData.set(this, void 0);
|
82
|
+
_HTTPRequest_headers.set(this, {});
|
83
|
+
_HTTPRequest_frame.set(this, void 0);
|
84
|
+
_HTTPRequest_continueRequestOverrides.set(this, void 0);
|
85
|
+
_HTTPRequest_responseForRequest.set(this, null);
|
86
|
+
_HTTPRequest_abortErrorReason.set(this, null);
|
87
|
+
_HTTPRequest_interceptResolutionState.set(this, {
|
66
88
|
action: InterceptResolutionAction.None,
|
67
|
-
};
|
68
|
-
this
|
89
|
+
});
|
90
|
+
_HTTPRequest_interceptHandlers.set(this, void 0);
|
91
|
+
_HTTPRequest_initiator.set(this, void 0);
|
92
|
+
__classPrivateFieldSet(this, _HTTPRequest_client, client, "f");
|
69
93
|
this._requestId = event.requestId;
|
70
|
-
this.
|
71
|
-
event.requestId === event.loaderId && event.type === 'Document';
|
94
|
+
__classPrivateFieldSet(this, _HTTPRequest_isNavigationRequest, event.requestId === event.loaderId && event.type === 'Document', "f");
|
72
95
|
this._interceptionId = interceptionId;
|
73
|
-
this
|
74
|
-
this
|
75
|
-
this
|
76
|
-
this
|
77
|
-
this
|
78
|
-
this
|
96
|
+
__classPrivateFieldSet(this, _HTTPRequest_allowInterception, allowInterception, "f");
|
97
|
+
__classPrivateFieldSet(this, _HTTPRequest_url, event.request.url, "f");
|
98
|
+
__classPrivateFieldSet(this, _HTTPRequest_resourceType, (event.type || 'other').toLowerCase(), "f");
|
99
|
+
__classPrivateFieldSet(this, _HTTPRequest_method, event.request.method, "f");
|
100
|
+
__classPrivateFieldSet(this, _HTTPRequest_postData, event.request.postData, "f");
|
101
|
+
__classPrivateFieldSet(this, _HTTPRequest_frame, frame, "f");
|
79
102
|
this._redirectChain = redirectChain;
|
80
|
-
this
|
81
|
-
this
|
82
|
-
this
|
83
|
-
for (const key of Object.
|
84
|
-
this
|
103
|
+
__classPrivateFieldSet(this, _HTTPRequest_continueRequestOverrides, {}, "f");
|
104
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptHandlers, [], "f");
|
105
|
+
__classPrivateFieldSet(this, _HTTPRequest_initiator, event.initiator, "f");
|
106
|
+
for (const [key, value] of Object.entries(event.request.headers)) {
|
107
|
+
__classPrivateFieldGet(this, _HTTPRequest_headers, "f")[key.toLowerCase()] = value;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
/**
|
111
|
+
* Warning! Using this client can break Puppeteer. Use with caution.
|
112
|
+
*
|
113
|
+
* @experimental
|
114
|
+
*/
|
115
|
+
get client() {
|
116
|
+
return __classPrivateFieldGet(this, _HTTPRequest_client, "f");
|
85
117
|
}
|
86
118
|
/**
|
87
119
|
* @returns the URL of the request
|
88
120
|
*/
|
89
121
|
url() {
|
90
|
-
return this
|
122
|
+
return __classPrivateFieldGet(this, _HTTPRequest_url, "f");
|
91
123
|
}
|
92
124
|
/**
|
93
125
|
* @returns the `ContinueRequestOverrides` that will be used
|
@@ -95,23 +127,23 @@ class HTTPRequest {
|
|
95
127
|
* `respond()` aren't called).
|
96
128
|
*/
|
97
129
|
continueRequestOverrides() {
|
98
|
-
(0, assert_js_1.assert)(this
|
99
|
-
return this
|
130
|
+
(0, assert_js_1.assert)(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
131
|
+
return __classPrivateFieldGet(this, _HTTPRequest_continueRequestOverrides, "f");
|
100
132
|
}
|
101
133
|
/**
|
102
134
|
* @returns The `ResponseForRequest` that gets used if the
|
103
135
|
* interception is allowed to respond (ie, `abort()` is not called).
|
104
136
|
*/
|
105
137
|
responseForRequest() {
|
106
|
-
(0, assert_js_1.assert)(this
|
107
|
-
return this
|
138
|
+
(0, assert_js_1.assert)(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
139
|
+
return __classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f");
|
108
140
|
}
|
109
141
|
/**
|
110
142
|
* @returns the most recent reason for aborting the request
|
111
143
|
*/
|
112
144
|
abortErrorReason() {
|
113
|
-
(0, assert_js_1.assert)(this
|
114
|
-
return this
|
145
|
+
(0, assert_js_1.assert)(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
146
|
+
return __classPrivateFieldGet(this, _HTTPRequest_abortErrorReason, "f");
|
115
147
|
}
|
116
148
|
/**
|
117
149
|
* @returns An InterceptResolutionState object describing the current resolution
|
@@ -125,18 +157,20 @@ class HTTPRequest {
|
|
125
157
|
* `disabled`, `none`, or `already-handled`.
|
126
158
|
*/
|
127
159
|
interceptResolutionState() {
|
128
|
-
if (!this
|
160
|
+
if (!__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f")) {
|
129
161
|
return { action: InterceptResolutionAction.Disabled };
|
130
|
-
|
162
|
+
}
|
163
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f")) {
|
131
164
|
return { action: InterceptResolutionAction.AlreadyHandled };
|
132
|
-
|
165
|
+
}
|
166
|
+
return { ...__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f") };
|
133
167
|
}
|
134
168
|
/**
|
135
169
|
* @returns `true` if the intercept resolution has already been handled,
|
136
170
|
* `false` otherwise.
|
137
171
|
*/
|
138
172
|
isInterceptResolutionHandled() {
|
139
|
-
return this
|
173
|
+
return __classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f");
|
140
174
|
}
|
141
175
|
/**
|
142
176
|
* Adds an async request handler to the processing queue.
|
@@ -145,25 +179,27 @@ class HTTPRequest {
|
|
145
179
|
* is finalized.
|
146
180
|
*/
|
147
181
|
enqueueInterceptAction(pendingHandler) {
|
148
|
-
this.
|
182
|
+
__classPrivateFieldGet(this, _HTTPRequest_interceptHandlers, "f").push(pendingHandler);
|
149
183
|
}
|
150
184
|
/**
|
151
185
|
* Awaits pending interception handlers and then decides how to fulfill
|
152
186
|
* the request interception.
|
153
187
|
*/
|
154
188
|
async finalizeInterceptions() {
|
155
|
-
await this.
|
189
|
+
await __classPrivateFieldGet(this, _HTTPRequest_interceptHandlers, "f").reduce((promiseChain, interceptAction) => {
|
190
|
+
return promiseChain.then(interceptAction);
|
191
|
+
}, Promise.resolve());
|
156
192
|
const { action } = this.interceptResolutionState();
|
157
193
|
switch (action) {
|
158
194
|
case 'abort':
|
159
|
-
return this.
|
195
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_abort).call(this, __classPrivateFieldGet(this, _HTTPRequest_abortErrorReason, "f"));
|
160
196
|
case 'respond':
|
161
|
-
if (this
|
197
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f") === null) {
|
162
198
|
throw new Error('Response is missing for the interception');
|
163
199
|
}
|
164
|
-
return this.
|
200
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_respond).call(this, __classPrivateFieldGet(this, _HTTPRequest_responseForRequest, "f"));
|
165
201
|
case 'continue':
|
166
|
-
return this.
|
202
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_continue).call(this, __classPrivateFieldGet(this, _HTTPRequest_continueRequestOverrides, "f"));
|
167
203
|
}
|
168
204
|
}
|
169
205
|
/**
|
@@ -171,26 +207,26 @@ class HTTPRequest {
|
|
171
207
|
* engine.
|
172
208
|
*/
|
173
209
|
resourceType() {
|
174
|
-
return this
|
210
|
+
return __classPrivateFieldGet(this, _HTTPRequest_resourceType, "f");
|
175
211
|
}
|
176
212
|
/**
|
177
213
|
* @returns the method used (`GET`, `POST`, etc.)
|
178
214
|
*/
|
179
215
|
method() {
|
180
|
-
return this
|
216
|
+
return __classPrivateFieldGet(this, _HTTPRequest_method, "f");
|
181
217
|
}
|
182
218
|
/**
|
183
219
|
* @returns the request's post body, if any.
|
184
220
|
*/
|
185
221
|
postData() {
|
186
|
-
return this
|
222
|
+
return __classPrivateFieldGet(this, _HTTPRequest_postData, "f");
|
187
223
|
}
|
188
224
|
/**
|
189
225
|
* @returns an object with HTTP headers associated with the request. All
|
190
226
|
* header names are lower-case.
|
191
227
|
*/
|
192
228
|
headers() {
|
193
|
-
return this
|
229
|
+
return __classPrivateFieldGet(this, _HTTPRequest_headers, "f");
|
194
230
|
}
|
195
231
|
/**
|
196
232
|
* @returns A matching `HTTPResponse` object, or null if the response has not
|
@@ -204,19 +240,19 @@ class HTTPRequest {
|
|
204
240
|
* error pages.
|
205
241
|
*/
|
206
242
|
frame() {
|
207
|
-
return this
|
243
|
+
return __classPrivateFieldGet(this, _HTTPRequest_frame, "f");
|
208
244
|
}
|
209
245
|
/**
|
210
246
|
* @returns true if the request is the driver of the current frame's navigation.
|
211
247
|
*/
|
212
248
|
isNavigationRequest() {
|
213
|
-
return this
|
249
|
+
return __classPrivateFieldGet(this, _HTTPRequest_isNavigationRequest, "f");
|
214
250
|
}
|
215
251
|
/**
|
216
252
|
* @returns the initiator of the request.
|
217
253
|
*/
|
218
254
|
initiator() {
|
219
|
-
return this
|
255
|
+
return __classPrivateFieldGet(this, _HTTPRequest_initiator, "f");
|
220
256
|
}
|
221
257
|
/**
|
222
258
|
* A `redirectChain` is a chain of requests initiated to fetch a resource.
|
@@ -227,7 +263,7 @@ class HTTPRequest {
|
|
227
263
|
* For example, if the website `http://example.com` has a single redirect to
|
228
264
|
* `https://example.com`, then the chain will contain one request:
|
229
265
|
*
|
230
|
-
* ```
|
266
|
+
* ```ts
|
231
267
|
* const response = await page.goto('http://example.com');
|
232
268
|
* const chain = response.request().redirectChain();
|
233
269
|
* console.log(chain.length); // 1
|
@@ -236,7 +272,7 @@ class HTTPRequest {
|
|
236
272
|
*
|
237
273
|
* If the website `https://google.com` has no redirects, then the chain will be empty:
|
238
274
|
*
|
239
|
-
* ```
|
275
|
+
* ```ts
|
240
276
|
* const response = await page.goto('https://google.com');
|
241
277
|
* const chain = response.request().redirectChain();
|
242
278
|
* console.log(chain.length); // 0
|
@@ -257,7 +293,7 @@ class HTTPRequest {
|
|
257
293
|
*
|
258
294
|
* Example of logging all failed requests:
|
259
295
|
*
|
260
|
-
* ```
|
296
|
+
* ```ts
|
261
297
|
* page.on('requestfailed', request => {
|
262
298
|
* console.log(request.url() + ' ' + request.failure().errorText);
|
263
299
|
* });
|
@@ -269,8 +305,9 @@ class HTTPRequest {
|
|
269
305
|
* failure text if the request fails.
|
270
306
|
*/
|
271
307
|
failure() {
|
272
|
-
if (!this._failureText)
|
308
|
+
if (!this._failureText) {
|
273
309
|
return null;
|
310
|
+
}
|
274
311
|
return {
|
275
312
|
errorText: this._failureText,
|
276
313
|
};
|
@@ -286,7 +323,7 @@ class HTTPRequest {
|
|
286
323
|
* Exception is immediately thrown if the request interception is not enabled.
|
287
324
|
*
|
288
325
|
* @example
|
289
|
-
* ```
|
326
|
+
* ```ts
|
290
327
|
* await page.setRequestInterception(true);
|
291
328
|
* page.on('request', request => {
|
292
329
|
* // Override headers
|
@@ -305,51 +342,33 @@ class HTTPRequest {
|
|
305
342
|
*/
|
306
343
|
async continue(overrides = {}, priority) {
|
307
344
|
// Request interception is not supported for data: urls.
|
308
|
-
if (this.
|
345
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
|
309
346
|
return;
|
310
|
-
|
311
|
-
(0, assert_js_1.assert)(
|
347
|
+
}
|
348
|
+
(0, assert_js_1.assert)(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
349
|
+
(0, assert_js_1.assert)(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
|
312
350
|
if (priority === undefined) {
|
313
|
-
return this.
|
351
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_continue).call(this, overrides);
|
314
352
|
}
|
315
|
-
this
|
316
|
-
if (this.
|
317
|
-
priority > this.
|
318
|
-
this
|
353
|
+
__classPrivateFieldSet(this, _HTTPRequest_continueRequestOverrides, overrides, "f");
|
354
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
|
355
|
+
priority > __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
356
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
|
319
357
|
action: InterceptResolutionAction.Continue,
|
320
358
|
priority,
|
321
|
-
};
|
359
|
+
}, "f");
|
322
360
|
return;
|
323
361
|
}
|
324
|
-
if (priority === this.
|
325
|
-
if (this.
|
326
|
-
this.
|
362
|
+
if (priority === __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
363
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'abort' ||
|
364
|
+
__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'respond') {
|
327
365
|
return;
|
328
366
|
}
|
329
|
-
this.
|
367
|
+
__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action =
|
330
368
|
InterceptResolutionAction.Continue;
|
331
369
|
}
|
332
370
|
return;
|
333
371
|
}
|
334
|
-
async _continue(overrides = {}) {
|
335
|
-
const { url, method, postData, headers } = overrides;
|
336
|
-
this._interceptionHandled = true;
|
337
|
-
const postDataBinaryBase64 = postData
|
338
|
-
? Buffer.from(postData).toString('base64')
|
339
|
-
: undefined;
|
340
|
-
await this._client
|
341
|
-
.send('Fetch.continueRequest', {
|
342
|
-
requestId: this._interceptionId,
|
343
|
-
url,
|
344
|
-
method,
|
345
|
-
postData: postDataBinaryBase64,
|
346
|
-
headers: headers ? headersArray(headers) : undefined,
|
347
|
-
})
|
348
|
-
.catch((error) => {
|
349
|
-
this._interceptionHandled = false;
|
350
|
-
return handleError(error);
|
351
|
-
});
|
352
|
-
}
|
353
372
|
/**
|
354
373
|
* Fulfills a request with the given response.
|
355
374
|
*
|
@@ -362,7 +381,7 @@ class HTTPRequest {
|
|
362
381
|
*
|
363
382
|
* @example
|
364
383
|
* An example of fulfilling all requests with 404 responses:
|
365
|
-
* ```
|
384
|
+
* ```ts
|
366
385
|
* await page.setRequestInterception(true);
|
367
386
|
* page.on('request', request => {
|
368
387
|
* request.respond({
|
@@ -383,60 +402,29 @@ class HTTPRequest {
|
|
383
402
|
*/
|
384
403
|
async respond(response, priority) {
|
385
404
|
// Mocking responses for dataURL requests is not currently supported.
|
386
|
-
if (this.
|
405
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
|
387
406
|
return;
|
388
|
-
|
389
|
-
(0, assert_js_1.assert)(
|
407
|
+
}
|
408
|
+
(0, assert_js_1.assert)(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
409
|
+
(0, assert_js_1.assert)(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
|
390
410
|
if (priority === undefined) {
|
391
|
-
return this.
|
411
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_respond).call(this, response);
|
392
412
|
}
|
393
|
-
this
|
394
|
-
if (this.
|
395
|
-
priority > this.
|
396
|
-
this
|
413
|
+
__classPrivateFieldSet(this, _HTTPRequest_responseForRequest, response, "f");
|
414
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
|
415
|
+
priority > __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
416
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
|
397
417
|
action: InterceptResolutionAction.Respond,
|
398
418
|
priority,
|
399
|
-
};
|
419
|
+
}, "f");
|
400
420
|
return;
|
401
421
|
}
|
402
|
-
if (priority === this.
|
403
|
-
if (this.
|
422
|
+
if (priority === __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
423
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action === 'abort') {
|
404
424
|
return;
|
405
425
|
}
|
406
|
-
this.
|
407
|
-
}
|
408
|
-
}
|
409
|
-
async _respond(response) {
|
410
|
-
this._interceptionHandled = true;
|
411
|
-
const responseBody = response.body && helper_js_1.helper.isString(response.body)
|
412
|
-
? Buffer.from(response.body)
|
413
|
-
: response.body || null;
|
414
|
-
const responseHeaders = {};
|
415
|
-
if (response.headers) {
|
416
|
-
for (const header of Object.keys(response.headers)) {
|
417
|
-
const value = response.headers[header];
|
418
|
-
responseHeaders[header.toLowerCase()] = Array.isArray(value)
|
419
|
-
? value.map((item) => String(item))
|
420
|
-
: String(value);
|
421
|
-
}
|
426
|
+
__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").action = InterceptResolutionAction.Respond;
|
422
427
|
}
|
423
|
-
if (response.contentType)
|
424
|
-
responseHeaders['content-type'] = response.contentType;
|
425
|
-
if (responseBody && !('content-length' in responseHeaders))
|
426
|
-
responseHeaders['content-length'] = String(Buffer.byteLength(responseBody));
|
427
|
-
const status = response.status || 200;
|
428
|
-
await this._client
|
429
|
-
.send('Fetch.fulfillRequest', {
|
430
|
-
requestId: this._interceptionId,
|
431
|
-
responseCode: status,
|
432
|
-
responsePhrase: STATUS_TEXTS[status],
|
433
|
-
responseHeaders: headersArray(responseHeaders),
|
434
|
-
body: responseBody ? responseBody.toString('base64') : undefined,
|
435
|
-
})
|
436
|
-
.catch((error) => {
|
437
|
-
this._interceptionHandled = false;
|
438
|
-
return handleError(error);
|
439
|
-
});
|
440
428
|
}
|
441
429
|
/**
|
442
430
|
* Aborts a request.
|
@@ -453,36 +441,99 @@ class HTTPRequest {
|
|
453
441
|
*/
|
454
442
|
async abort(errorCode = 'failed', priority) {
|
455
443
|
// Request interception is not supported for data: urls.
|
456
|
-
if (this.
|
444
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_url, "f").startsWith('data:')) {
|
457
445
|
return;
|
446
|
+
}
|
458
447
|
const errorReason = errorReasons[errorCode];
|
459
448
|
(0, assert_js_1.assert)(errorReason, 'Unknown error code: ' + errorCode);
|
460
|
-
(0, assert_js_1.assert)(this
|
461
|
-
(0, assert_js_1.assert)(!this
|
449
|
+
(0, assert_js_1.assert)(__classPrivateFieldGet(this, _HTTPRequest_allowInterception, "f"), 'Request Interception is not enabled!');
|
450
|
+
(0, assert_js_1.assert)(!__classPrivateFieldGet(this, _HTTPRequest_interceptionHandled, "f"), 'Request is already handled!');
|
462
451
|
if (priority === undefined) {
|
463
|
-
return this.
|
452
|
+
return __classPrivateFieldGet(this, _HTTPRequest_instances, "m", _HTTPRequest_abort).call(this, errorReason);
|
464
453
|
}
|
465
|
-
this
|
466
|
-
if (this.
|
467
|
-
priority >= this.
|
468
|
-
this
|
454
|
+
__classPrivateFieldSet(this, _HTTPRequest_abortErrorReason, errorReason, "f");
|
455
|
+
if (__classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority === undefined ||
|
456
|
+
priority >= __classPrivateFieldGet(this, _HTTPRequest_interceptResolutionState, "f").priority) {
|
457
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptResolutionState, {
|
469
458
|
action: InterceptResolutionAction.Abort,
|
470
459
|
priority,
|
471
|
-
};
|
460
|
+
}, "f");
|
472
461
|
return;
|
473
462
|
}
|
474
463
|
}
|
475
|
-
async _abort(errorReason) {
|
476
|
-
this._interceptionHandled = true;
|
477
|
-
await this._client
|
478
|
-
.send('Fetch.failRequest', {
|
479
|
-
requestId: this._interceptionId,
|
480
|
-
errorReason: errorReason || 'Failed',
|
481
|
-
})
|
482
|
-
.catch(handleError);
|
483
|
-
}
|
484
464
|
}
|
485
465
|
exports.HTTPRequest = HTTPRequest;
|
466
|
+
_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 = {}) {
|
467
|
+
const { url, method, postData, headers } = overrides;
|
468
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
|
469
|
+
const postDataBinaryBase64 = postData
|
470
|
+
? Buffer.from(postData).toString('base64')
|
471
|
+
: undefined;
|
472
|
+
if (this._interceptionId === undefined) {
|
473
|
+
throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.continueRequest');
|
474
|
+
}
|
475
|
+
await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
|
476
|
+
.send('Fetch.continueRequest', {
|
477
|
+
requestId: this._interceptionId,
|
478
|
+
url,
|
479
|
+
method,
|
480
|
+
postData: postDataBinaryBase64,
|
481
|
+
headers: headers ? headersArray(headers) : undefined,
|
482
|
+
})
|
483
|
+
.catch(error => {
|
484
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, false, "f");
|
485
|
+
return handleError(error);
|
486
|
+
});
|
487
|
+
}, _HTTPRequest_respond = async function _HTTPRequest_respond(response) {
|
488
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
|
489
|
+
const responseBody = response.body && (0, util_js_1.isString)(response.body)
|
490
|
+
? Buffer.from(response.body)
|
491
|
+
: response.body || null;
|
492
|
+
const responseHeaders = {};
|
493
|
+
if (response.headers) {
|
494
|
+
for (const header of Object.keys(response.headers)) {
|
495
|
+
const value = response.headers[header];
|
496
|
+
responseHeaders[header.toLowerCase()] = Array.isArray(value)
|
497
|
+
? value.map(item => {
|
498
|
+
return String(item);
|
499
|
+
})
|
500
|
+
: String(value);
|
501
|
+
}
|
502
|
+
}
|
503
|
+
if (response.contentType) {
|
504
|
+
responseHeaders['content-type'] = response.contentType;
|
505
|
+
}
|
506
|
+
if (responseBody && !('content-length' in responseHeaders)) {
|
507
|
+
responseHeaders['content-length'] = String(Buffer.byteLength(responseBody));
|
508
|
+
}
|
509
|
+
const status = response.status || 200;
|
510
|
+
if (this._interceptionId === undefined) {
|
511
|
+
throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.fulfillRequest');
|
512
|
+
}
|
513
|
+
await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
|
514
|
+
.send('Fetch.fulfillRequest', {
|
515
|
+
requestId: this._interceptionId,
|
516
|
+
responseCode: status,
|
517
|
+
responsePhrase: STATUS_TEXTS[status],
|
518
|
+
responseHeaders: headersArray(responseHeaders),
|
519
|
+
body: responseBody ? responseBody.toString('base64') : undefined,
|
520
|
+
})
|
521
|
+
.catch(error => {
|
522
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, false, "f");
|
523
|
+
return handleError(error);
|
524
|
+
});
|
525
|
+
}, _HTTPRequest_abort = async function _HTTPRequest_abort(errorReason) {
|
526
|
+
__classPrivateFieldSet(this, _HTTPRequest_interceptionHandled, true, "f");
|
527
|
+
if (this._interceptionId === undefined) {
|
528
|
+
throw new Error('HTTPRequest is missing _interceptionId needed for Fetch.failRequest');
|
529
|
+
}
|
530
|
+
await __classPrivateFieldGet(this, _HTTPRequest_client, "f")
|
531
|
+
.send('Fetch.failRequest', {
|
532
|
+
requestId: this._interceptionId,
|
533
|
+
errorReason: errorReason || 'Failed',
|
534
|
+
})
|
535
|
+
.catch(handleError);
|
536
|
+
};
|
486
537
|
/**
|
487
538
|
* @public
|
488
539
|
*/
|
@@ -517,7 +568,9 @@ function headersArray(headers) {
|
|
517
568
|
const value = headers[name];
|
518
569
|
if (!Object.is(value, undefined)) {
|
519
570
|
const values = Array.isArray(value) ? value : [value];
|
520
|
-
result.push(...values.map(
|
571
|
+
result.push(...values.map(value => {
|
572
|
+
return { name, value: value + '' };
|
573
|
+
}));
|
521
574
|
}
|
522
575
|
}
|
523
576
|
return result;
|
@@ -529,7 +582,7 @@ async function handleError(error) {
|
|
529
582
|
// In certain cases, protocol will return error if the request was
|
530
583
|
// already canceled or the page was closed. We should tolerate these
|
531
584
|
// errors.
|
532
|
-
(0,
|
585
|
+
(0, util_js_1.debugError)(error);
|
533
586
|
}
|
534
587
|
// List taken from
|
535
588
|
// https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HTTPRequest.js","sourceRoot":"","sources":["../../../../src/common/HTTPRequest.ts"],"names":[],"mappings":";;;AAoBA,2CAAqC;AACrC,2CAAiD;AA+CjD;;;;GAIG;AACU,QAAA,qCAAqC,GAAG,CAAC,CAAC;AASvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAa,WAAW;IA8CtB;;OAEG;IACH,YACE,MAAkB,EAClB,KAAY,EACZ,cAAsB,EACtB,iBAA0B,EAC1B,KAA8C,EAC9C,aAA4B;QA9C9B;;WAEG;QACH,iBAAY,GAAG,IAAI,CAAC;QACpB;;WAEG;QACH,cAAS,GAAwB,IAAI,CAAC;QACtC;;WAEG;QACH,qBAAgB,GAAG,KAAK,CAAC;QASjB,yBAAoB,GAAG,KAAK,CAAC;QAM7B,aAAQ,GAA2B,EAAE,CAAC;QAGtC,wBAAmB,GAAuC,IAAI,CAAC;QAC/D,sBAAiB,GAAwC,IAAI,CAAC;QAC9D,8BAAyB,GAA6B;YAC5D,MAAM,EAAE,yBAAyB,CAAC,IAAI;SACvC,CAAC;QAeA,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC,SAAS,CAAC;QAClC,IAAI,CAAC,oBAAoB;YACvB,KAAK,CAAC,SAAS,KAAK,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC;QAClE,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QACtC,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;QAC5C,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;QAC9B,IAAI,CAAC,aAAa,GAAG,CA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