chrome-devtools-frontend 1.0.1021097 → 1.0.1021582
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/config/gni/devtools_grd_files.gni +15 -10
 - package/front_end/.eslintrc.js +1 -0
 - package/front_end/core/i18n/locales/en-US.json +118 -4
 - package/front_end/core/i18n/locales/en-XL.json +118 -4
 - package/front_end/models/bindings/DebuggerLanguagePlugins.ts +8 -0
 - 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/StylePropertyTreeElement.ts +10 -8
 - 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/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/lit-html/directives.ts +1 -0
 - package/front_end/third_party/lit-html/lit-html-tsconfig.json +1 -0
 - 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 +7 -14
 - package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspector.ts +2 -5
 - package/front_end/ui/components/linear_memory_inspector/LinearMemoryInspectorController.ts +22 -2
 - 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/components/utils/Linkifier.ts +3 -1
 - package/package.json +1 -1
 - package/scripts/eslint_rules/lib/inject_checkbox_styles.js +4 -2
 - 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
 
| 
         @@ -0,0 +1,176 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
            var __importDefault = (this && this.__importDefault) || function (mod) {
         
     | 
| 
      
 3 
     | 
    
         
            +
                return (mod && mod.__esModule) ? mod : { "default": mod };
         
     | 
| 
      
 4 
     | 
    
         
            +
            };
         
     | 
| 
      
 5 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", { value: true });
         
     | 
| 
      
 6 
     | 
    
         
            +
            exports.ChromeLauncher = void 0;
         
     | 
| 
      
 7 
     | 
    
         
            +
            const fs_1 = __importDefault(require("fs"));
         
     | 
| 
      
 8 
     | 
    
         
            +
            const path_1 = __importDefault(require("path"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            const assert_js_1 = require("../common/assert.js");
         
     | 
| 
      
 10 
     | 
    
         
            +
            const Browser_js_1 = require("../common/Browser.js");
         
     | 
| 
      
 11 
     | 
    
         
            +
            const BrowserRunner_js_1 = require("./BrowserRunner.js");
         
     | 
| 
      
 12 
     | 
    
         
            +
            const ProductLauncher_js_1 = require("./ProductLauncher.js");
         
     | 
| 
      
 13 
     | 
    
         
            +
            const util_js_1 = require("./util.js");
         
     | 
| 
      
 14 
     | 
    
         
            +
            /**
         
     | 
| 
      
 15 
     | 
    
         
            +
             * @internal
         
     | 
| 
      
 16 
     | 
    
         
            +
             */
         
     | 
| 
      
 17 
     | 
    
         
            +
            class ChromeLauncher {
         
     | 
| 
      
 18 
     | 
    
         
            +
                constructor(projectRoot, preferredRevision, isPuppeteerCore) {
         
     | 
| 
      
 19 
     | 
    
         
            +
                    this._projectRoot = projectRoot;
         
     | 
| 
      
 20 
     | 
    
         
            +
                    this._preferredRevision = preferredRevision;
         
     | 
| 
      
 21 
     | 
    
         
            +
                    this._isPuppeteerCore = isPuppeteerCore;
         
     | 
| 
      
 22 
     | 
    
         
            +
                }
         
     | 
| 
      
 23 
     | 
    
         
            +
                async launch(options = {}) {
         
     | 
| 
      
 24 
     | 
    
         
            +
                    const { ignoreDefaultArgs = false, args = [], dumpio = false, channel, executablePath, pipe = false, env = process.env, handleSIGINT = true, handleSIGTERM = true, handleSIGHUP = true, ignoreHTTPSErrors = false, defaultViewport = { width: 800, height: 600 }, slowMo = 0, timeout = 30000, waitForInitialPage = true, debuggingPort, } = options;
         
     | 
| 
      
 25 
     | 
    
         
            +
                    const chromeArguments = [];
         
     | 
| 
      
 26 
     | 
    
         
            +
                    if (!ignoreDefaultArgs) {
         
     | 
| 
      
 27 
     | 
    
         
            +
                        chromeArguments.push(...this.defaultArgs(options));
         
     | 
| 
      
 28 
     | 
    
         
            +
                    }
         
     | 
| 
      
 29 
     | 
    
         
            +
                    else if (Array.isArray(ignoreDefaultArgs)) {
         
     | 
| 
      
 30 
     | 
    
         
            +
                        chromeArguments.push(...this.defaultArgs(options).filter(arg => {
         
     | 
| 
      
 31 
     | 
    
         
            +
                            return !ignoreDefaultArgs.includes(arg);
         
     | 
| 
      
 32 
     | 
    
         
            +
                        }));
         
     | 
| 
      
 33 
     | 
    
         
            +
                    }
         
     | 
| 
      
 34 
     | 
    
         
            +
                    else {
         
     | 
| 
      
 35 
     | 
    
         
            +
                        chromeArguments.push(...args);
         
     | 
| 
      
 36 
     | 
    
         
            +
                    }
         
     | 
| 
      
 37 
     | 
    
         
            +
                    if (!chromeArguments.some(argument => {
         
     | 
| 
      
 38 
     | 
    
         
            +
                        return argument.startsWith('--remote-debugging-');
         
     | 
| 
      
 39 
     | 
    
         
            +
                    })) {
         
     | 
| 
      
 40 
     | 
    
         
            +
                        if (pipe) {
         
     | 
| 
      
 41 
     | 
    
         
            +
                            (0, assert_js_1.assert)(!debuggingPort, 'Browser should be launched with either pipe or debugging port - not both.');
         
     | 
| 
      
 42 
     | 
    
         
            +
                            chromeArguments.push('--remote-debugging-pipe');
         
     | 
| 
      
 43 
     | 
    
         
            +
                        }
         
     | 
| 
      
 44 
     | 
    
         
            +
                        else {
         
     | 
| 
      
 45 
     | 
    
         
            +
                            chromeArguments.push(`--remote-debugging-port=${debuggingPort || 0}`);
         
     | 
| 
      
 46 
     | 
    
         
            +
                        }
         
     | 
| 
      
 47 
     | 
    
         
            +
                    }
         
     | 
| 
      
 48 
     | 
    
         
            +
                    let isTempUserDataDir = false;
         
     | 
| 
      
 49 
     | 
    
         
            +
                    // Check for the user data dir argument, which will always be set even
         
     | 
| 
      
 50 
     | 
    
         
            +
                    // with a custom directory specified via the userDataDir option.
         
     | 
| 
      
 51 
     | 
    
         
            +
                    let userDataDirIndex = chromeArguments.findIndex(arg => {
         
     | 
| 
      
 52 
     | 
    
         
            +
                        return arg.startsWith('--user-data-dir');
         
     | 
| 
      
 53 
     | 
    
         
            +
                    });
         
     | 
| 
      
 54 
     | 
    
         
            +
                    if (userDataDirIndex < 0) {
         
     | 
| 
      
 55 
     | 
    
         
            +
                        isTempUserDataDir = true;
         
     | 
| 
      
 56 
     | 
    
         
            +
                        chromeArguments.push(`--user-data-dir=${await fs_1.default.promises.mkdtemp(path_1.default.join((0, util_js_1.tmpdir)(), 'puppeteer_dev_chrome_profile-'))}`);
         
     | 
| 
      
 57 
     | 
    
         
            +
                        userDataDirIndex = chromeArguments.length - 1;
         
     | 
| 
      
 58 
     | 
    
         
            +
                    }
         
     | 
| 
      
 59 
     | 
    
         
            +
                    const userDataDir = chromeArguments[userDataDirIndex].split('=', 2)[1];
         
     | 
| 
      
 60 
     | 
    
         
            +
                    (0, assert_js_1.assert)(typeof userDataDir === 'string', '`--user-data-dir` is malformed');
         
     | 
| 
      
 61 
     | 
    
         
            +
                    let chromeExecutable = executablePath;
         
     | 
| 
      
 62 
     | 
    
         
            +
                    if (channel) {
         
     | 
| 
      
 63 
     | 
    
         
            +
                        // executablePath is detected by channel, so it should not be specified by user.
         
     | 
| 
      
 64 
     | 
    
         
            +
                        (0, assert_js_1.assert)(!chromeExecutable, '`executablePath` must not be specified when `channel` is given.');
         
     | 
| 
      
 65 
     | 
    
         
            +
                        chromeExecutable = (0, ProductLauncher_js_1.executablePathForChannel)(channel);
         
     | 
| 
      
 66 
     | 
    
         
            +
                    }
         
     | 
| 
      
 67 
     | 
    
         
            +
                    else if (!chromeExecutable) {
         
     | 
| 
      
 68 
     | 
    
         
            +
                        const { missingText, executablePath } = (0, ProductLauncher_js_1.resolveExecutablePath)(this);
         
     | 
| 
      
 69 
     | 
    
         
            +
                        if (missingText) {
         
     | 
| 
      
 70 
     | 
    
         
            +
                            throw new Error(missingText);
         
     | 
| 
      
 71 
     | 
    
         
            +
                        }
         
     | 
| 
      
 72 
     | 
    
         
            +
                        chromeExecutable = executablePath;
         
     | 
| 
      
 73 
     | 
    
         
            +
                    }
         
     | 
| 
      
 74 
     | 
    
         
            +
                    const usePipe = chromeArguments.includes('--remote-debugging-pipe');
         
     | 
| 
      
 75 
     | 
    
         
            +
                    const runner = new BrowserRunner_js_1.BrowserRunner(this.product, chromeExecutable, chromeArguments, userDataDir, isTempUserDataDir);
         
     | 
| 
      
 76 
     | 
    
         
            +
                    runner.start({
         
     | 
| 
      
 77 
     | 
    
         
            +
                        handleSIGHUP,
         
     | 
| 
      
 78 
     | 
    
         
            +
                        handleSIGTERM,
         
     | 
| 
      
 79 
     | 
    
         
            +
                        handleSIGINT,
         
     | 
| 
      
 80 
     | 
    
         
            +
                        dumpio,
         
     | 
| 
      
 81 
     | 
    
         
            +
                        env,
         
     | 
| 
      
 82 
     | 
    
         
            +
                        pipe: usePipe,
         
     | 
| 
      
 83 
     | 
    
         
            +
                    });
         
     | 
| 
      
 84 
     | 
    
         
            +
                    let browser;
         
     | 
| 
      
 85 
     | 
    
         
            +
                    try {
         
     | 
| 
      
 86 
     | 
    
         
            +
                        const connection = await runner.setupConnection({
         
     | 
| 
      
 87 
     | 
    
         
            +
                            usePipe,
         
     | 
| 
      
 88 
     | 
    
         
            +
                            timeout,
         
     | 
| 
      
 89 
     | 
    
         
            +
                            slowMo,
         
     | 
| 
      
 90 
     | 
    
         
            +
                            preferredRevision: this._preferredRevision,
         
     | 
| 
      
 91 
     | 
    
         
            +
                        });
         
     | 
| 
      
 92 
     | 
    
         
            +
                        browser = await Browser_js_1.Browser._create(connection, [], ignoreHTTPSErrors, defaultViewport, runner.proc, runner.close.bind(runner));
         
     | 
| 
      
 93 
     | 
    
         
            +
                    }
         
     | 
| 
      
 94 
     | 
    
         
            +
                    catch (error) {
         
     | 
| 
      
 95 
     | 
    
         
            +
                        runner.kill();
         
     | 
| 
      
 96 
     | 
    
         
            +
                        throw error;
         
     | 
| 
      
 97 
     | 
    
         
            +
                    }
         
     | 
| 
      
 98 
     | 
    
         
            +
                    if (waitForInitialPage) {
         
     | 
| 
      
 99 
     | 
    
         
            +
                        try {
         
     | 
| 
      
 100 
     | 
    
         
            +
                            await browser.waitForTarget(t => {
         
     | 
| 
      
 101 
     | 
    
         
            +
                                return t.type() === 'page';
         
     | 
| 
      
 102 
     | 
    
         
            +
                            }, { timeout });
         
     | 
| 
      
 103 
     | 
    
         
            +
                        }
         
     | 
| 
      
 104 
     | 
    
         
            +
                        catch (error) {
         
     | 
| 
      
 105 
     | 
    
         
            +
                            await browser.close();
         
     | 
| 
      
 106 
     | 
    
         
            +
                            throw error;
         
     | 
| 
      
 107 
     | 
    
         
            +
                        }
         
     | 
| 
      
 108 
     | 
    
         
            +
                    }
         
     | 
| 
      
 109 
     | 
    
         
            +
                    return browser;
         
     | 
| 
      
 110 
     | 
    
         
            +
                }
         
     | 
| 
      
 111 
     | 
    
         
            +
                defaultArgs(options = {}) {
         
     | 
| 
      
 112 
     | 
    
         
            +
                    const chromeArguments = [
         
     | 
| 
      
 113 
     | 
    
         
            +
                        '--allow-pre-commit-input',
         
     | 
| 
      
 114 
     | 
    
         
            +
                        '--disable-background-networking',
         
     | 
| 
      
 115 
     | 
    
         
            +
                        '--enable-features=NetworkServiceInProcess2',
         
     | 
| 
      
 116 
     | 
    
         
            +
                        '--disable-background-timer-throttling',
         
     | 
| 
      
 117 
     | 
    
         
            +
                        '--disable-backgrounding-occluded-windows',
         
     | 
| 
      
 118 
     | 
    
         
            +
                        '--disable-breakpad',
         
     | 
| 
      
 119 
     | 
    
         
            +
                        '--disable-client-side-phishing-detection',
         
     | 
| 
      
 120 
     | 
    
         
            +
                        '--disable-component-extensions-with-background-pages',
         
     | 
| 
      
 121 
     | 
    
         
            +
                        '--disable-default-apps',
         
     | 
| 
      
 122 
     | 
    
         
            +
                        '--disable-dev-shm-usage',
         
     | 
| 
      
 123 
     | 
    
         
            +
                        '--disable-extensions',
         
     | 
| 
      
 124 
     | 
    
         
            +
                        // TODO: remove AvoidUnnecessaryBeforeUnloadCheckSync below
         
     | 
| 
      
 125 
     | 
    
         
            +
                        // once crbug.com/1324138 is fixed and released.
         
     | 
| 
      
 126 
     | 
    
         
            +
                        '--disable-features=Translate,BackForwardCache,AvoidUnnecessaryBeforeUnloadCheckSync',
         
     | 
| 
      
 127 
     | 
    
         
            +
                        '--disable-hang-monitor',
         
     | 
| 
      
 128 
     | 
    
         
            +
                        '--disable-ipc-flooding-protection',
         
     | 
| 
      
 129 
     | 
    
         
            +
                        '--disable-popup-blocking',
         
     | 
| 
      
 130 
     | 
    
         
            +
                        '--disable-prompt-on-repost',
         
     | 
| 
      
 131 
     | 
    
         
            +
                        '--disable-renderer-backgrounding',
         
     | 
| 
      
 132 
     | 
    
         
            +
                        '--disable-sync',
         
     | 
| 
      
 133 
     | 
    
         
            +
                        '--force-color-profile=srgb',
         
     | 
| 
      
 134 
     | 
    
         
            +
                        '--metrics-recording-only',
         
     | 
| 
      
 135 
     | 
    
         
            +
                        '--no-first-run',
         
     | 
| 
      
 136 
     | 
    
         
            +
                        '--enable-automation',
         
     | 
| 
      
 137 
     | 
    
         
            +
                        '--password-store=basic',
         
     | 
| 
      
 138 
     | 
    
         
            +
                        '--use-mock-keychain',
         
     | 
| 
      
 139 
     | 
    
         
            +
                        // TODO(sadym): remove '--enable-blink-features=IdleDetection'
         
     | 
| 
      
 140 
     | 
    
         
            +
                        // once IdleDetection is turned on by default.
         
     | 
| 
      
 141 
     | 
    
         
            +
                        '--enable-blink-features=IdleDetection',
         
     | 
| 
      
 142 
     | 
    
         
            +
                        '--export-tagged-pdf',
         
     | 
| 
      
 143 
     | 
    
         
            +
                    ];
         
     | 
| 
      
 144 
     | 
    
         
            +
                    const { devtools = false, headless = !devtools, args = [], userDataDir, } = options;
         
     | 
| 
      
 145 
     | 
    
         
            +
                    if (userDataDir) {
         
     | 
| 
      
 146 
     | 
    
         
            +
                        chromeArguments.push(`--user-data-dir=${path_1.default.resolve(userDataDir)}`);
         
     | 
| 
      
 147 
     | 
    
         
            +
                    }
         
     | 
| 
      
 148 
     | 
    
         
            +
                    if (devtools) {
         
     | 
| 
      
 149 
     | 
    
         
            +
                        chromeArguments.push('--auto-open-devtools-for-tabs');
         
     | 
| 
      
 150 
     | 
    
         
            +
                    }
         
     | 
| 
      
 151 
     | 
    
         
            +
                    if (headless) {
         
     | 
| 
      
 152 
     | 
    
         
            +
                        chromeArguments.push(headless === 'chrome' ? '--headless=chrome' : '--headless', '--hide-scrollbars', '--mute-audio');
         
     | 
| 
      
 153 
     | 
    
         
            +
                    }
         
     | 
| 
      
 154 
     | 
    
         
            +
                    if (args.every(arg => {
         
     | 
| 
      
 155 
     | 
    
         
            +
                        return arg.startsWith('-');
         
     | 
| 
      
 156 
     | 
    
         
            +
                    })) {
         
     | 
| 
      
 157 
     | 
    
         
            +
                        chromeArguments.push('about:blank');
         
     | 
| 
      
 158 
     | 
    
         
            +
                    }
         
     | 
| 
      
 159 
     | 
    
         
            +
                    chromeArguments.push(...args);
         
     | 
| 
      
 160 
     | 
    
         
            +
                    return chromeArguments;
         
     | 
| 
      
 161 
     | 
    
         
            +
                }
         
     | 
| 
      
 162 
     | 
    
         
            +
                executablePath(channel) {
         
     | 
| 
      
 163 
     | 
    
         
            +
                    if (channel) {
         
     | 
| 
      
 164 
     | 
    
         
            +
                        return (0, ProductLauncher_js_1.executablePathForChannel)(channel);
         
     | 
| 
      
 165 
     | 
    
         
            +
                    }
         
     | 
| 
      
 166 
     | 
    
         
            +
                    else {
         
     | 
| 
      
 167 
     | 
    
         
            +
                        const results = (0, ProductLauncher_js_1.resolveExecutablePath)(this);
         
     | 
| 
      
 168 
     | 
    
         
            +
                        return results.executablePath;
         
     | 
| 
      
 169 
     | 
    
         
            +
                    }
         
     | 
| 
      
 170 
     | 
    
         
            +
                }
         
     | 
| 
      
 171 
     | 
    
         
            +
                get product() {
         
     | 
| 
      
 172 
     | 
    
         
            +
                    return 'chrome';
         
     | 
| 
      
 173 
     | 
    
         
            +
                }
         
     | 
| 
      
 174 
     | 
    
         
            +
            }
         
     | 
| 
      
 175 
     | 
    
         
            +
            exports.ChromeLauncher = ChromeLauncher;
         
     | 
| 
      
 176 
     | 
    
         
            +
            //# sourceMappingURL=ChromeLauncher.js.map
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"ChromeLauncher.js","sourceRoot":"","sources":["../../../../src/node/ChromeLauncher.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,mDAA2C;AAC3C,qDAA6C;AAE7C,yDAAiD;AAMjD,6DAI8B;AAC9B,uCAAiC;AAEjC;;GAEG;AACH,MAAa,cAAc;IAczB,YACE,WAA+B,EAC/B,iBAAyB,EACzB,eAAwB;QAExB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;QAC5C,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;IAC1C,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,UAAsC,EAAE;QACnD,MAAM,EACJ,iBAAiB,GAAG,KAAK,EACzB,IAAI,GAAG,EAAE,EACT,MAAM,GAAG,KAAK,EACd,OAAO,EACP,cAAc,EACd,IAAI,GAAG,KAAK,EACZ,GAAG,GAAG,OAAO,CAAC,GAAG,EACjB,YAAY,GAAG,IAAI,EACnB,aAAa,GAAG,IAAI,EACpB,YAAY,GAAG,IAAI,EACnB,iBAAiB,GAAG,KAAK,EACzB,eAAe,GAAG,EAAC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 
      
 1 
     | 
    
         
            +
            import { Browser } from '../common/Browser.js';
         
     | 
| 
      
 2 
     | 
    
         
            +
            import { Product } from '../common/Product.js';
         
     | 
| 
      
 3 
     | 
    
         
            +
            import { BrowserLaunchArgumentOptions, PuppeteerNodeLaunchOptions } from './LaunchOptions.js';
         
     | 
| 
      
 4 
     | 
    
         
            +
            import { ProductLauncher } from './ProductLauncher.js';
         
     | 
| 
      
 5 
     | 
    
         
            +
            /**
         
     | 
| 
      
 6 
     | 
    
         
            +
             * @internal
         
     | 
| 
      
 7 
     | 
    
         
            +
             */
         
     | 
| 
      
 8 
     | 
    
         
            +
            export declare class FirefoxLauncher implements ProductLauncher {
         
     | 
| 
      
 9 
     | 
    
         
            +
                /**
         
     | 
| 
      
 10 
     | 
    
         
            +
                 * @internal
         
     | 
| 
      
 11 
     | 
    
         
            +
                 */
         
     | 
| 
      
 12 
     | 
    
         
            +
                _projectRoot: string | undefined;
         
     | 
| 
      
 13 
     | 
    
         
            +
                /**
         
     | 
| 
      
 14 
     | 
    
         
            +
                 * @internal
         
     | 
| 
      
 15 
     | 
    
         
            +
                 */
         
     | 
| 
      
 16 
     | 
    
         
            +
                _preferredRevision: string;
         
     | 
| 
      
 17 
     | 
    
         
            +
                /**
         
     | 
| 
      
 18 
     | 
    
         
            +
                 * @internal
         
     | 
| 
      
 19 
     | 
    
         
            +
                 */
         
     | 
| 
      
 20 
     | 
    
         
            +
                _isPuppeteerCore: boolean;
         
     | 
| 
      
 21 
     | 
    
         
            +
                constructor(projectRoot: string | undefined, preferredRevision: string, isPuppeteerCore: boolean);
         
     | 
| 
      
 22 
     | 
    
         
            +
                launch(options?: PuppeteerNodeLaunchOptions): Promise<Browser>;
         
     | 
| 
      
 23 
     | 
    
         
            +
                executablePath(): string;
         
     | 
| 
      
 24 
     | 
    
         
            +
                _updateRevision(): Promise<void>;
         
     | 
| 
      
 25 
     | 
    
         
            +
                get product(): Product;
         
     | 
| 
      
 26 
     | 
    
         
            +
                defaultArgs(options?: BrowserLaunchArgumentOptions): string[];
         
     | 
| 
      
 27 
     | 
    
         
            +
                defaultPreferences(extraPrefs: {
         
     | 
| 
      
 28 
     | 
    
         
            +
                    [x: string]: unknown;
         
     | 
| 
      
 29 
     | 
    
         
            +
                }): {
         
     | 
| 
      
 30 
     | 
    
         
            +
                    [x: string]: unknown;
         
     | 
| 
      
 31 
     | 
    
         
            +
                };
         
     | 
| 
      
 32 
     | 
    
         
            +
                /**
         
     | 
| 
      
 33 
     | 
    
         
            +
                 * Populates the user.js file with custom preferences as needed to allow
         
     | 
| 
      
 34 
     | 
    
         
            +
                 * Firefox's CDP support to properly function. These preferences will be
         
     | 
| 
      
 35 
     | 
    
         
            +
                 * automatically copied over to prefs.js during startup of Firefox. To be
         
     | 
| 
      
 36 
     | 
    
         
            +
                 * able to restore the original values of preferences a backup of prefs.js
         
     | 
| 
      
 37 
     | 
    
         
            +
                 * will be created.
         
     | 
| 
      
 38 
     | 
    
         
            +
                 *
         
     | 
| 
      
 39 
     | 
    
         
            +
                 * @param prefs - List of preferences to add.
         
     | 
| 
      
 40 
     | 
    
         
            +
                 * @param profilePath - Firefox profile to write the preferences to.
         
     | 
| 
      
 41 
     | 
    
         
            +
                 */
         
     | 
| 
      
 42 
     | 
    
         
            +
                writePreferences(prefs: {
         
     | 
| 
      
 43 
     | 
    
         
            +
                    [x: string]: unknown;
         
     | 
| 
      
 44 
     | 
    
         
            +
                }, profilePath: string): Promise<void>;
         
     | 
| 
      
 45 
     | 
    
         
            +
                _createProfile(extraPrefs: {
         
     | 
| 
      
 46 
     | 
    
         
            +
                    [x: string]: unknown;
         
     | 
| 
      
 47 
     | 
    
         
            +
                }): Promise<string>;
         
     | 
| 
      
 48 
     | 
    
         
            +
            }
         
     | 
| 
      
 49 
     | 
    
         
            +
            //# sourceMappingURL=FirefoxLauncher.d.ts.map
         
     | 
    
        package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.d.ts.map
    ADDED
    
    | 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"FirefoxLauncher.d.ts","sourceRoot":"","sources":["../../../../src/node/FirefoxLauncher.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAG7C,OAAO,EACL,4BAA4B,EAC5B,0BAA0B,EAC3B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,eAAe,EAAwB,MAAM,sBAAsB,CAAC;AAG5E;;GAEG;AACH,qBAAa,eAAgB,YAAW,eAAe;IACrD;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;gBAGxB,WAAW,EAAE,MAAM,GAAG,SAAS,EAC/B,iBAAiB,EAAE,MAAM,EACzB,eAAe,EAAE,OAAO;IAOpB,MAAM,CAAC,OAAO,GAAE,0BAA+B,GAAG,OAAO,CAAC,OAAO,CAAC;IA6IxE,cAAc,IAAI,MAAM;IAIlB,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IAkBtC,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,WAAW,CAAC,OAAO,GAAE,4BAAiC,GAAG,MAAM,EAAE;IAuCjE,kBAAkB,CAAC,UAAU,EAAE;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,GAAG;QACtD,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB;IAgND;;;;;;;;;OASG;IACG,gBAAgB,CACpB,KAAK,EAAE;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,EAC7B,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,IAAI,CAAC;IAkBV,cAAc,CAAC,UAAU,EAAE;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,GAAG,OAAO,CAAC,MAAM,CAAC;CAU1E"}
         
     | 
| 
         @@ -0,0 +1,361 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            "use strict";
         
     | 
| 
      
 2 
     | 
    
         
            +
            var __importDefault = (this && this.__importDefault) || function (mod) {
         
     | 
| 
      
 3 
     | 
    
         
            +
                return (mod && mod.__esModule) ? mod : { "default": mod };
         
     | 
| 
      
 4 
     | 
    
         
            +
            };
         
     | 
| 
      
 5 
     | 
    
         
            +
            Object.defineProperty(exports, "__esModule", { value: true });
         
     | 
| 
      
 6 
     | 
    
         
            +
            exports.FirefoxLauncher = void 0;
         
     | 
| 
      
 7 
     | 
    
         
            +
            const fs_1 = __importDefault(require("fs"));
         
     | 
| 
      
 8 
     | 
    
         
            +
            const os_1 = __importDefault(require("os"));
         
     | 
| 
      
 9 
     | 
    
         
            +
            const path_1 = __importDefault(require("path"));
         
     | 
| 
      
 10 
     | 
    
         
            +
            const assert_js_1 = require("../common/assert.js");
         
     | 
| 
      
 11 
     | 
    
         
            +
            const Browser_js_1 = require("../common/Browser.js");
         
     | 
| 
      
 12 
     | 
    
         
            +
            const BrowserFetcher_js_1 = require("./BrowserFetcher.js");
         
     | 
| 
      
 13 
     | 
    
         
            +
            const BrowserRunner_js_1 = require("./BrowserRunner.js");
         
     | 
| 
      
 14 
     | 
    
         
            +
            const ProductLauncher_js_1 = require("./ProductLauncher.js");
         
     | 
| 
      
 15 
     | 
    
         
            +
            const util_js_1 = require("./util.js");
         
     | 
| 
      
 16 
     | 
    
         
            +
            /**
         
     | 
| 
      
 17 
     | 
    
         
            +
             * @internal
         
     | 
| 
      
 18 
     | 
    
         
            +
             */
         
     | 
| 
      
 19 
     | 
    
         
            +
            class FirefoxLauncher {
         
     | 
| 
      
 20 
     | 
    
         
            +
                constructor(projectRoot, preferredRevision, isPuppeteerCore) {
         
     | 
| 
      
 21 
     | 
    
         
            +
                    this._projectRoot = projectRoot;
         
     | 
| 
      
 22 
     | 
    
         
            +
                    this._preferredRevision = preferredRevision;
         
     | 
| 
      
 23 
     | 
    
         
            +
                    this._isPuppeteerCore = isPuppeteerCore;
         
     | 
| 
      
 24 
     | 
    
         
            +
                }
         
     | 
| 
      
 25 
     | 
    
         
            +
                async launch(options = {}) {
         
     | 
| 
      
 26 
     | 
    
         
            +
                    const { ignoreDefaultArgs = false, args = [], dumpio = false, executablePath = null, pipe = false, env = process.env, handleSIGINT = true, handleSIGTERM = true, handleSIGHUP = true, ignoreHTTPSErrors = false, defaultViewport = { width: 800, height: 600 }, slowMo = 0, timeout = 30000, extraPrefsFirefox = {}, waitForInitialPage = true, debuggingPort = null, } = options;
         
     | 
| 
      
 27 
     | 
    
         
            +
                    const firefoxArguments = [];
         
     | 
| 
      
 28 
     | 
    
         
            +
                    if (!ignoreDefaultArgs) {
         
     | 
| 
      
 29 
     | 
    
         
            +
                        firefoxArguments.push(...this.defaultArgs(options));
         
     | 
| 
      
 30 
     | 
    
         
            +
                    }
         
     | 
| 
      
 31 
     | 
    
         
            +
                    else if (Array.isArray(ignoreDefaultArgs)) {
         
     | 
| 
      
 32 
     | 
    
         
            +
                        firefoxArguments.push(...this.defaultArgs(options).filter(arg => {
         
     | 
| 
      
 33 
     | 
    
         
            +
                            return !ignoreDefaultArgs.includes(arg);
         
     | 
| 
      
 34 
     | 
    
         
            +
                        }));
         
     | 
| 
      
 35 
     | 
    
         
            +
                    }
         
     | 
| 
      
 36 
     | 
    
         
            +
                    else {
         
     | 
| 
      
 37 
     | 
    
         
            +
                        firefoxArguments.push(...args);
         
     | 
| 
      
 38 
     | 
    
         
            +
                    }
         
     | 
| 
      
 39 
     | 
    
         
            +
                    if (!firefoxArguments.some(argument => {
         
     | 
| 
      
 40 
     | 
    
         
            +
                        return argument.startsWith('--remote-debugging-');
         
     | 
| 
      
 41 
     | 
    
         
            +
                    })) {
         
     | 
| 
      
 42 
     | 
    
         
            +
                        if (pipe) {
         
     | 
| 
      
 43 
     | 
    
         
            +
                            (0, assert_js_1.assert)(debuggingPort === null, 'Browser should be launched with either pipe or debugging port - not both.');
         
     | 
| 
      
 44 
     | 
    
         
            +
                        }
         
     | 
| 
      
 45 
     | 
    
         
            +
                        firefoxArguments.push(`--remote-debugging-port=${debuggingPort || 0}`);
         
     | 
| 
      
 46 
     | 
    
         
            +
                    }
         
     | 
| 
      
 47 
     | 
    
         
            +
                    let userDataDir;
         
     | 
| 
      
 48 
     | 
    
         
            +
                    let isTempUserDataDir = true;
         
     | 
| 
      
 49 
     | 
    
         
            +
                    // Check for the profile argument, which will always be set even
         
     | 
| 
      
 50 
     | 
    
         
            +
                    // with a custom directory specified via the userDataDir option.
         
     | 
| 
      
 51 
     | 
    
         
            +
                    const profileArgIndex = firefoxArguments.findIndex(arg => {
         
     | 
| 
      
 52 
     | 
    
         
            +
                        return ['-profile', '--profile'].includes(arg);
         
     | 
| 
      
 53 
     | 
    
         
            +
                    });
         
     | 
| 
      
 54 
     | 
    
         
            +
                    if (profileArgIndex !== -1) {
         
     | 
| 
      
 55 
     | 
    
         
            +
                        userDataDir = firefoxArguments[profileArgIndex + 1];
         
     | 
| 
      
 56 
     | 
    
         
            +
                        if (!userDataDir || !fs_1.default.existsSync(userDataDir)) {
         
     | 
| 
      
 57 
     | 
    
         
            +
                            throw new Error(`Firefox profile not found at '${userDataDir}'`);
         
     | 
| 
      
 58 
     | 
    
         
            +
                        }
         
     | 
| 
      
 59 
     | 
    
         
            +
                        // When using a custom Firefox profile it needs to be populated
         
     | 
| 
      
 60 
     | 
    
         
            +
                        // with required preferences.
         
     | 
| 
      
 61 
     | 
    
         
            +
                        isTempUserDataDir = false;
         
     | 
| 
      
 62 
     | 
    
         
            +
                        const prefs = this.defaultPreferences(extraPrefsFirefox);
         
     | 
| 
      
 63 
     | 
    
         
            +
                        this.writePreferences(prefs, userDataDir);
         
     | 
| 
      
 64 
     | 
    
         
            +
                    }
         
     | 
| 
      
 65 
     | 
    
         
            +
                    else {
         
     | 
| 
      
 66 
     | 
    
         
            +
                        userDataDir = await this._createProfile(extraPrefsFirefox);
         
     | 
| 
      
 67 
     | 
    
         
            +
                        firefoxArguments.push('--profile');
         
     | 
| 
      
 68 
     | 
    
         
            +
                        firefoxArguments.push(userDataDir);
         
     | 
| 
      
 69 
     | 
    
         
            +
                    }
         
     | 
| 
      
 70 
     | 
    
         
            +
                    await this._updateRevision();
         
     | 
| 
      
 71 
     | 
    
         
            +
                    let firefoxExecutable = executablePath;
         
     | 
| 
      
 72 
     | 
    
         
            +
                    if (!executablePath) {
         
     | 
| 
      
 73 
     | 
    
         
            +
                        const { missingText, executablePath } = (0, ProductLauncher_js_1.resolveExecutablePath)(this);
         
     | 
| 
      
 74 
     | 
    
         
            +
                        if (missingText) {
         
     | 
| 
      
 75 
     | 
    
         
            +
                            throw new Error(missingText);
         
     | 
| 
      
 76 
     | 
    
         
            +
                        }
         
     | 
| 
      
 77 
     | 
    
         
            +
                        firefoxExecutable = executablePath;
         
     | 
| 
      
 78 
     | 
    
         
            +
                    }
         
     | 
| 
      
 79 
     | 
    
         
            +
                    if (!firefoxExecutable) {
         
     | 
| 
      
 80 
     | 
    
         
            +
                        throw new Error('firefoxExecutable is not found.');
         
     | 
| 
      
 81 
     | 
    
         
            +
                    }
         
     | 
| 
      
 82 
     | 
    
         
            +
                    const runner = new BrowserRunner_js_1.BrowserRunner(this.product, firefoxExecutable, firefoxArguments, userDataDir, isTempUserDataDir);
         
     | 
| 
      
 83 
     | 
    
         
            +
                    runner.start({
         
     | 
| 
      
 84 
     | 
    
         
            +
                        handleSIGHUP,
         
     | 
| 
      
 85 
     | 
    
         
            +
                        handleSIGTERM,
         
     | 
| 
      
 86 
     | 
    
         
            +
                        handleSIGINT,
         
     | 
| 
      
 87 
     | 
    
         
            +
                        dumpio,
         
     | 
| 
      
 88 
     | 
    
         
            +
                        env,
         
     | 
| 
      
 89 
     | 
    
         
            +
                        pipe,
         
     | 
| 
      
 90 
     | 
    
         
            +
                    });
         
     | 
| 
      
 91 
     | 
    
         
            +
                    let browser;
         
     | 
| 
      
 92 
     | 
    
         
            +
                    try {
         
     | 
| 
      
 93 
     | 
    
         
            +
                        const connection = await runner.setupConnection({
         
     | 
| 
      
 94 
     | 
    
         
            +
                            usePipe: pipe,
         
     | 
| 
      
 95 
     | 
    
         
            +
                            timeout,
         
     | 
| 
      
 96 
     | 
    
         
            +
                            slowMo,
         
     | 
| 
      
 97 
     | 
    
         
            +
                            preferredRevision: this._preferredRevision,
         
     | 
| 
      
 98 
     | 
    
         
            +
                        });
         
     | 
| 
      
 99 
     | 
    
         
            +
                        browser = await Browser_js_1.Browser._create(connection, [], ignoreHTTPSErrors, defaultViewport, runner.proc, runner.close.bind(runner));
         
     | 
| 
      
 100 
     | 
    
         
            +
                    }
         
     | 
| 
      
 101 
     | 
    
         
            +
                    catch (error) {
         
     | 
| 
      
 102 
     | 
    
         
            +
                        runner.kill();
         
     | 
| 
      
 103 
     | 
    
         
            +
                        throw error;
         
     | 
| 
      
 104 
     | 
    
         
            +
                    }
         
     | 
| 
      
 105 
     | 
    
         
            +
                    if (waitForInitialPage) {
         
     | 
| 
      
 106 
     | 
    
         
            +
                        try {
         
     | 
| 
      
 107 
     | 
    
         
            +
                            await browser.waitForTarget(t => {
         
     | 
| 
      
 108 
     | 
    
         
            +
                                return t.type() === 'page';
         
     | 
| 
      
 109 
     | 
    
         
            +
                            }, { timeout });
         
     | 
| 
      
 110 
     | 
    
         
            +
                        }
         
     | 
| 
      
 111 
     | 
    
         
            +
                        catch (error) {
         
     | 
| 
      
 112 
     | 
    
         
            +
                            await browser.close();
         
     | 
| 
      
 113 
     | 
    
         
            +
                            throw error;
         
     | 
| 
      
 114 
     | 
    
         
            +
                        }
         
     | 
| 
      
 115 
     | 
    
         
            +
                    }
         
     | 
| 
      
 116 
     | 
    
         
            +
                    return browser;
         
     | 
| 
      
 117 
     | 
    
         
            +
                }
         
     | 
| 
      
 118 
     | 
    
         
            +
                executablePath() {
         
     | 
| 
      
 119 
     | 
    
         
            +
                    return (0, ProductLauncher_js_1.resolveExecutablePath)(this).executablePath;
         
     | 
| 
      
 120 
     | 
    
         
            +
                }
         
     | 
| 
      
 121 
     | 
    
         
            +
                async _updateRevision() {
         
     | 
| 
      
 122 
     | 
    
         
            +
                    // replace 'latest' placeholder with actual downloaded revision
         
     | 
| 
      
 123 
     | 
    
         
            +
                    if (this._preferredRevision === 'latest') {
         
     | 
| 
      
 124 
     | 
    
         
            +
                        if (!this._projectRoot) {
         
     | 
| 
      
 125 
     | 
    
         
            +
                            throw new Error('_projectRoot is undefined. Unable to create a BrowserFetcher.');
         
     | 
| 
      
 126 
     | 
    
         
            +
                        }
         
     | 
| 
      
 127 
     | 
    
         
            +
                        const browserFetcher = new BrowserFetcher_js_1.BrowserFetcher(this._projectRoot, {
         
     | 
| 
      
 128 
     | 
    
         
            +
                            product: this.product,
         
     | 
| 
      
 129 
     | 
    
         
            +
                        });
         
     | 
| 
      
 130 
     | 
    
         
            +
                        const localRevisions = await browserFetcher.localRevisions();
         
     | 
| 
      
 131 
     | 
    
         
            +
                        if (localRevisions[0]) {
         
     | 
| 
      
 132 
     | 
    
         
            +
                            this._preferredRevision = localRevisions[0];
         
     | 
| 
      
 133 
     | 
    
         
            +
                        }
         
     | 
| 
      
 134 
     | 
    
         
            +
                    }
         
     | 
| 
      
 135 
     | 
    
         
            +
                }
         
     | 
| 
      
 136 
     | 
    
         
            +
                get product() {
         
     | 
| 
      
 137 
     | 
    
         
            +
                    return 'firefox';
         
     | 
| 
      
 138 
     | 
    
         
            +
                }
         
     | 
| 
      
 139 
     | 
    
         
            +
                defaultArgs(options = {}) {
         
     | 
| 
      
 140 
     | 
    
         
            +
                    const { devtools = false, headless = !devtools, args = [], userDataDir = null, } = options;
         
     | 
| 
      
 141 
     | 
    
         
            +
                    const firefoxArguments = ['--no-remote'];
         
     | 
| 
      
 142 
     | 
    
         
            +
                    switch (os_1.default.platform()) {
         
     | 
| 
      
 143 
     | 
    
         
            +
                        case 'darwin':
         
     | 
| 
      
 144 
     | 
    
         
            +
                            firefoxArguments.push('--foreground');
         
     | 
| 
      
 145 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 146 
     | 
    
         
            +
                        case 'win32':
         
     | 
| 
      
 147 
     | 
    
         
            +
                            firefoxArguments.push('--wait-for-browser');
         
     | 
| 
      
 148 
     | 
    
         
            +
                            break;
         
     | 
| 
      
 149 
     | 
    
         
            +
                    }
         
     | 
| 
      
 150 
     | 
    
         
            +
                    if (userDataDir) {
         
     | 
| 
      
 151 
     | 
    
         
            +
                        firefoxArguments.push('--profile');
         
     | 
| 
      
 152 
     | 
    
         
            +
                        firefoxArguments.push(userDataDir);
         
     | 
| 
      
 153 
     | 
    
         
            +
                    }
         
     | 
| 
      
 154 
     | 
    
         
            +
                    if (headless) {
         
     | 
| 
      
 155 
     | 
    
         
            +
                        firefoxArguments.push('--headless');
         
     | 
| 
      
 156 
     | 
    
         
            +
                    }
         
     | 
| 
      
 157 
     | 
    
         
            +
                    if (devtools) {
         
     | 
| 
      
 158 
     | 
    
         
            +
                        firefoxArguments.push('--devtools');
         
     | 
| 
      
 159 
     | 
    
         
            +
                    }
         
     | 
| 
      
 160 
     | 
    
         
            +
                    if (args.every(arg => {
         
     | 
| 
      
 161 
     | 
    
         
            +
                        return arg.startsWith('-');
         
     | 
| 
      
 162 
     | 
    
         
            +
                    })) {
         
     | 
| 
      
 163 
     | 
    
         
            +
                        firefoxArguments.push('about:blank');
         
     | 
| 
      
 164 
     | 
    
         
            +
                    }
         
     | 
| 
      
 165 
     | 
    
         
            +
                    firefoxArguments.push(...args);
         
     | 
| 
      
 166 
     | 
    
         
            +
                    return firefoxArguments;
         
     | 
| 
      
 167 
     | 
    
         
            +
                }
         
     | 
| 
      
 168 
     | 
    
         
            +
                defaultPreferences(extraPrefs) {
         
     | 
| 
      
 169 
     | 
    
         
            +
                    const server = 'dummy.test';
         
     | 
| 
      
 170 
     | 
    
         
            +
                    const defaultPrefs = {
         
     | 
| 
      
 171 
     | 
    
         
            +
                        // Make sure Shield doesn't hit the network.
         
     | 
| 
      
 172 
     | 
    
         
            +
                        'app.normandy.api_url': '',
         
     | 
| 
      
 173 
     | 
    
         
            +
                        // Disable Firefox old build background check
         
     | 
| 
      
 174 
     | 
    
         
            +
                        'app.update.checkInstallTime': false,
         
     | 
| 
      
 175 
     | 
    
         
            +
                        // Disable automatically upgrading Firefox
         
     | 
| 
      
 176 
     | 
    
         
            +
                        'app.update.disabledForTesting': true,
         
     | 
| 
      
 177 
     | 
    
         
            +
                        // Increase the APZ content response timeout to 1 minute
         
     | 
| 
      
 178 
     | 
    
         
            +
                        'apz.content_response_timeout': 60000,
         
     | 
| 
      
 179 
     | 
    
         
            +
                        // Prevent various error message on the console
         
     | 
| 
      
 180 
     | 
    
         
            +
                        // jest-puppeteer asserts that no error message is emitted by the console
         
     | 
| 
      
 181 
     | 
    
         
            +
                        'browser.contentblocking.features.standard': '-tp,tpPrivate,cookieBehavior0,-cm,-fp',
         
     | 
| 
      
 182 
     | 
    
         
            +
                        // Enable the dump function: which sends messages to the system
         
     | 
| 
      
 183 
     | 
    
         
            +
                        // console
         
     | 
| 
      
 184 
     | 
    
         
            +
                        // https://bugzilla.mozilla.org/show_bug.cgi?id=1543115
         
     | 
| 
      
 185 
     | 
    
         
            +
                        'browser.dom.window.dump.enabled': true,
         
     | 
| 
      
 186 
     | 
    
         
            +
                        // Disable topstories
         
     | 
| 
      
 187 
     | 
    
         
            +
                        'browser.newtabpage.activity-stream.feeds.system.topstories': false,
         
     | 
| 
      
 188 
     | 
    
         
            +
                        // Always display a blank page
         
     | 
| 
      
 189 
     | 
    
         
            +
                        'browser.newtabpage.enabled': false,
         
     | 
| 
      
 190 
     | 
    
         
            +
                        // Background thumbnails in particular cause grief: and disabling
         
     | 
| 
      
 191 
     | 
    
         
            +
                        // thumbnails in general cannot hurt
         
     | 
| 
      
 192 
     | 
    
         
            +
                        'browser.pagethumbnails.capturing_disabled': true,
         
     | 
| 
      
 193 
     | 
    
         
            +
                        // Disable safebrowsing components.
         
     | 
| 
      
 194 
     | 
    
         
            +
                        'browser.safebrowsing.blockedURIs.enabled': false,
         
     | 
| 
      
 195 
     | 
    
         
            +
                        'browser.safebrowsing.downloads.enabled': false,
         
     | 
| 
      
 196 
     | 
    
         
            +
                        'browser.safebrowsing.malware.enabled': false,
         
     | 
| 
      
 197 
     | 
    
         
            +
                        'browser.safebrowsing.passwords.enabled': false,
         
     | 
| 
      
 198 
     | 
    
         
            +
                        'browser.safebrowsing.phishing.enabled': false,
         
     | 
| 
      
 199 
     | 
    
         
            +
                        // Disable updates to search engines.
         
     | 
| 
      
 200 
     | 
    
         
            +
                        'browser.search.update': false,
         
     | 
| 
      
 201 
     | 
    
         
            +
                        // Do not restore the last open set of tabs if the browser has crashed
         
     | 
| 
      
 202 
     | 
    
         
            +
                        'browser.sessionstore.resume_from_crash': false,
         
     | 
| 
      
 203 
     | 
    
         
            +
                        // Skip check for default browser on startup
         
     | 
| 
      
 204 
     | 
    
         
            +
                        'browser.shell.checkDefaultBrowser': false,
         
     | 
| 
      
 205 
     | 
    
         
            +
                        // Disable newtabpage
         
     | 
| 
      
 206 
     | 
    
         
            +
                        'browser.startup.homepage': 'about:blank',
         
     | 
| 
      
 207 
     | 
    
         
            +
                        // Do not redirect user when a milstone upgrade of Firefox is detected
         
     | 
| 
      
 208 
     | 
    
         
            +
                        'browser.startup.homepage_override.mstone': 'ignore',
         
     | 
| 
      
 209 
     | 
    
         
            +
                        // Start with a blank page about:blank
         
     | 
| 
      
 210 
     | 
    
         
            +
                        'browser.startup.page': 0,
         
     | 
| 
      
 211 
     | 
    
         
            +
                        // Do not allow background tabs to be zombified on Android: otherwise for
         
     | 
| 
      
 212 
     | 
    
         
            +
                        // tests that open additional tabs: the test harness tab itself might get
         
     | 
| 
      
 213 
     | 
    
         
            +
                        // unloaded
         
     | 
| 
      
 214 
     | 
    
         
            +
                        'browser.tabs.disableBackgroundZombification': false,
         
     | 
| 
      
 215 
     | 
    
         
            +
                        // Do not warn when closing all other open tabs
         
     | 
| 
      
 216 
     | 
    
         
            +
                        'browser.tabs.warnOnCloseOtherTabs': false,
         
     | 
| 
      
 217 
     | 
    
         
            +
                        // Do not warn when multiple tabs will be opened
         
     | 
| 
      
 218 
     | 
    
         
            +
                        'browser.tabs.warnOnOpen': false,
         
     | 
| 
      
 219 
     | 
    
         
            +
                        // Disable the UI tour.
         
     | 
| 
      
 220 
     | 
    
         
            +
                        'browser.uitour.enabled': false,
         
     | 
| 
      
 221 
     | 
    
         
            +
                        // Turn off search suggestions in the location bar so as not to trigger
         
     | 
| 
      
 222 
     | 
    
         
            +
                        // network connections.
         
     | 
| 
      
 223 
     | 
    
         
            +
                        'browser.urlbar.suggest.searches': false,
         
     | 
| 
      
 224 
     | 
    
         
            +
                        // Disable first run splash page on Windows 10
         
     | 
| 
      
 225 
     | 
    
         
            +
                        'browser.usedOnWindows10.introURL': '',
         
     | 
| 
      
 226 
     | 
    
         
            +
                        // Do not warn on quitting Firefox
         
     | 
| 
      
 227 
     | 
    
         
            +
                        'browser.warnOnQuit': false,
         
     | 
| 
      
 228 
     | 
    
         
            +
                        // Defensively disable data reporting systems
         
     | 
| 
      
 229 
     | 
    
         
            +
                        'datareporting.healthreport.documentServerURI': `http://${server}/dummy/healthreport/`,
         
     | 
| 
      
 230 
     | 
    
         
            +
                        'datareporting.healthreport.logging.consoleEnabled': false,
         
     | 
| 
      
 231 
     | 
    
         
            +
                        'datareporting.healthreport.service.enabled': false,
         
     | 
| 
      
 232 
     | 
    
         
            +
                        'datareporting.healthreport.service.firstRun': false,
         
     | 
| 
      
 233 
     | 
    
         
            +
                        'datareporting.healthreport.uploadEnabled': false,
         
     | 
| 
      
 234 
     | 
    
         
            +
                        // Do not show datareporting policy notifications which can interfere with tests
         
     | 
| 
      
 235 
     | 
    
         
            +
                        'datareporting.policy.dataSubmissionEnabled': false,
         
     | 
| 
      
 236 
     | 
    
         
            +
                        'datareporting.policy.dataSubmissionPolicyBypassNotification': true,
         
     | 
| 
      
 237 
     | 
    
         
            +
                        // DevTools JSONViewer sometimes fails to load dependencies with its require.js.
         
     | 
| 
      
 238 
     | 
    
         
            +
                        // This doesn't affect Puppeteer but spams console (Bug 1424372)
         
     | 
| 
      
 239 
     | 
    
         
            +
                        'devtools.jsonview.enabled': false,
         
     | 
| 
      
 240 
     | 
    
         
            +
                        // Disable popup-blocker
         
     | 
| 
      
 241 
     | 
    
         
            +
                        'dom.disable_open_during_load': false,
         
     | 
| 
      
 242 
     | 
    
         
            +
                        // Enable the support for File object creation in the content process
         
     | 
| 
      
 243 
     | 
    
         
            +
                        // Required for |Page.setFileInputFiles| protocol method.
         
     | 
| 
      
 244 
     | 
    
         
            +
                        'dom.file.createInChild': true,
         
     | 
| 
      
 245 
     | 
    
         
            +
                        // Disable the ProcessHangMonitor
         
     | 
| 
      
 246 
     | 
    
         
            +
                        'dom.ipc.reportProcessHangs': false,
         
     | 
| 
      
 247 
     | 
    
         
            +
                        // Disable slow script dialogues
         
     | 
| 
      
 248 
     | 
    
         
            +
                        'dom.max_chrome_script_run_time': 0,
         
     | 
| 
      
 249 
     | 
    
         
            +
                        'dom.max_script_run_time': 0,
         
     | 
| 
      
 250 
     | 
    
         
            +
                        // Only load extensions from the application and user profile
         
     | 
| 
      
 251 
     | 
    
         
            +
                        // AddonManager.SCOPE_PROFILE + AddonManager.SCOPE_APPLICATION
         
     | 
| 
      
 252 
     | 
    
         
            +
                        'extensions.autoDisableScopes': 0,
         
     | 
| 
      
 253 
     | 
    
         
            +
                        'extensions.enabledScopes': 5,
         
     | 
| 
      
 254 
     | 
    
         
            +
                        // Disable metadata caching for installed add-ons by default
         
     | 
| 
      
 255 
     | 
    
         
            +
                        'extensions.getAddons.cache.enabled': false,
         
     | 
| 
      
 256 
     | 
    
         
            +
                        // Disable installing any distribution extensions or add-ons.
         
     | 
| 
      
 257 
     | 
    
         
            +
                        'extensions.installDistroAddons': false,
         
     | 
| 
      
 258 
     | 
    
         
            +
                        // Disabled screenshots extension
         
     | 
| 
      
 259 
     | 
    
         
            +
                        'extensions.screenshots.disabled': true,
         
     | 
| 
      
 260 
     | 
    
         
            +
                        // Turn off extension updates so they do not bother tests
         
     | 
| 
      
 261 
     | 
    
         
            +
                        'extensions.update.enabled': false,
         
     | 
| 
      
 262 
     | 
    
         
            +
                        // Turn off extension updates so they do not bother tests
         
     | 
| 
      
 263 
     | 
    
         
            +
                        'extensions.update.notifyUser': false,
         
     | 
| 
      
 264 
     | 
    
         
            +
                        // Make sure opening about:addons will not hit the network
         
     | 
| 
      
 265 
     | 
    
         
            +
                        'extensions.webservice.discoverURL': `http://${server}/dummy/discoveryURL`,
         
     | 
| 
      
 266 
     | 
    
         
            +
                        // Temporarily force disable BFCache in parent (https://bit.ly/bug-1732263)
         
     | 
| 
      
 267 
     | 
    
         
            +
                        'fission.bfcacheInParent': false,
         
     | 
| 
      
 268 
     | 
    
         
            +
                        // Force all web content to use a single content process
         
     | 
| 
      
 269 
     | 
    
         
            +
                        'fission.webContentIsolationStrategy': 0,
         
     | 
| 
      
 270 
     | 
    
         
            +
                        // Allow the application to have focus even it runs in the background
         
     | 
| 
      
 271 
     | 
    
         
            +
                        'focusmanager.testmode': true,
         
     | 
| 
      
 272 
     | 
    
         
            +
                        // Disable useragent updates
         
     | 
| 
      
 273 
     | 
    
         
            +
                        'general.useragent.updates.enabled': false,
         
     | 
| 
      
 274 
     | 
    
         
            +
                        // Always use network provider for geolocation tests so we bypass the
         
     | 
| 
      
 275 
     | 
    
         
            +
                        // macOS dialog raised by the corelocation provider
         
     | 
| 
      
 276 
     | 
    
         
            +
                        'geo.provider.testing': true,
         
     | 
| 
      
 277 
     | 
    
         
            +
                        // Do not scan Wifi
         
     | 
| 
      
 278 
     | 
    
         
            +
                        'geo.wifi.scan': false,
         
     | 
| 
      
 279 
     | 
    
         
            +
                        // No hang monitor
         
     | 
| 
      
 280 
     | 
    
         
            +
                        'hangmonitor.timeout': 0,
         
     | 
| 
      
 281 
     | 
    
         
            +
                        // Show chrome errors and warnings in the error console
         
     | 
| 
      
 282 
     | 
    
         
            +
                        'javascript.options.showInConsole': true,
         
     | 
| 
      
 283 
     | 
    
         
            +
                        // Disable download and usage of OpenH264: and Widevine plugins
         
     | 
| 
      
 284 
     | 
    
         
            +
                        'media.gmp-manager.updateEnabled': false,
         
     | 
| 
      
 285 
     | 
    
         
            +
                        // Prevent various error message on the console
         
     | 
| 
      
 286 
     | 
    
         
            +
                        // jest-puppeteer asserts that no error message is emitted by the console
         
     | 
| 
      
 287 
     | 
    
         
            +
                        'network.cookie.cookieBehavior': 0,
         
     | 
| 
      
 288 
     | 
    
         
            +
                        // Disable experimental feature that is only available in Nightly
         
     | 
| 
      
 289 
     | 
    
         
            +
                        'network.cookie.sameSite.laxByDefault': false,
         
     | 
| 
      
 290 
     | 
    
         
            +
                        // Do not prompt for temporary redirects
         
     | 
| 
      
 291 
     | 
    
         
            +
                        'network.http.prompt-temp-redirect': false,
         
     | 
| 
      
 292 
     | 
    
         
            +
                        // Disable speculative connections so they are not reported as leaking
         
     | 
| 
      
 293 
     | 
    
         
            +
                        // when they are hanging around
         
     | 
| 
      
 294 
     | 
    
         
            +
                        'network.http.speculative-parallel-limit': 0,
         
     | 
| 
      
 295 
     | 
    
         
            +
                        // Do not automatically switch between offline and online
         
     | 
| 
      
 296 
     | 
    
         
            +
                        'network.manage-offline-status': false,
         
     | 
| 
      
 297 
     | 
    
         
            +
                        // Make sure SNTP requests do not hit the network
         
     | 
| 
      
 298 
     | 
    
         
            +
                        'network.sntp.pools': server,
         
     | 
| 
      
 299 
     | 
    
         
            +
                        // Disable Flash.
         
     | 
| 
      
 300 
     | 
    
         
            +
                        'plugin.state.flash': 0,
         
     | 
| 
      
 301 
     | 
    
         
            +
                        'privacy.trackingprotection.enabled': false,
         
     | 
| 
      
 302 
     | 
    
         
            +
                        // Can be removed once Firefox 89 is no longer supported
         
     | 
| 
      
 303 
     | 
    
         
            +
                        // https://bugzilla.mozilla.org/show_bug.cgi?id=1710839
         
     | 
| 
      
 304 
     | 
    
         
            +
                        'remote.enabled': true,
         
     | 
| 
      
 305 
     | 
    
         
            +
                        // Don't do network connections for mitm priming
         
     | 
| 
      
 306 
     | 
    
         
            +
                        'security.certerrors.mitm.priming.enabled': false,
         
     | 
| 
      
 307 
     | 
    
         
            +
                        // Local documents have access to all other local documents,
         
     | 
| 
      
 308 
     | 
    
         
            +
                        // including directory listings
         
     | 
| 
      
 309 
     | 
    
         
            +
                        'security.fileuri.strict_origin_policy': false,
         
     | 
| 
      
 310 
     | 
    
         
            +
                        // Do not wait for the notification button security delay
         
     | 
| 
      
 311 
     | 
    
         
            +
                        'security.notification_enable_delay': 0,
         
     | 
| 
      
 312 
     | 
    
         
            +
                        // Ensure blocklist updates do not hit the network
         
     | 
| 
      
 313 
     | 
    
         
            +
                        'services.settings.server': `http://${server}/dummy/blocklist/`,
         
     | 
| 
      
 314 
     | 
    
         
            +
                        // Do not automatically fill sign-in forms with known usernames and
         
     | 
| 
      
 315 
     | 
    
         
            +
                        // passwords
         
     | 
| 
      
 316 
     | 
    
         
            +
                        'signon.autofillForms': false,
         
     | 
| 
      
 317 
     | 
    
         
            +
                        // Disable password capture, so that tests that include forms are not
         
     | 
| 
      
 318 
     | 
    
         
            +
                        // influenced by the presence of the persistent doorhanger notification
         
     | 
| 
      
 319 
     | 
    
         
            +
                        'signon.rememberSignons': false,
         
     | 
| 
      
 320 
     | 
    
         
            +
                        // Disable first-run welcome page
         
     | 
| 
      
 321 
     | 
    
         
            +
                        'startup.homepage_welcome_url': 'about:blank',
         
     | 
| 
      
 322 
     | 
    
         
            +
                        // Disable first-run welcome page
         
     | 
| 
      
 323 
     | 
    
         
            +
                        'startup.homepage_welcome_url.additional': '',
         
     | 
| 
      
 324 
     | 
    
         
            +
                        // Disable browser animations (tabs, fullscreen, sliding alerts)
         
     | 
| 
      
 325 
     | 
    
         
            +
                        'toolkit.cosmeticAnimations.enabled': false,
         
     | 
| 
      
 326 
     | 
    
         
            +
                        // Prevent starting into safe mode after application crashes
         
     | 
| 
      
 327 
     | 
    
         
            +
                        'toolkit.startup.max_resumed_crashes': -1,
         
     | 
| 
      
 328 
     | 
    
         
            +
                    };
         
     | 
| 
      
 329 
     | 
    
         
            +
                    return Object.assign(defaultPrefs, extraPrefs);
         
     | 
| 
      
 330 
     | 
    
         
            +
                }
         
     | 
| 
      
 331 
     | 
    
         
            +
                /**
         
     | 
| 
      
 332 
     | 
    
         
            +
                 * Populates the user.js file with custom preferences as needed to allow
         
     | 
| 
      
 333 
     | 
    
         
            +
                 * Firefox's CDP support to properly function. These preferences will be
         
     | 
| 
      
 334 
     | 
    
         
            +
                 * automatically copied over to prefs.js during startup of Firefox. To be
         
     | 
| 
      
 335 
     | 
    
         
            +
                 * able to restore the original values of preferences a backup of prefs.js
         
     | 
| 
      
 336 
     | 
    
         
            +
                 * will be created.
         
     | 
| 
      
 337 
     | 
    
         
            +
                 *
         
     | 
| 
      
 338 
     | 
    
         
            +
                 * @param prefs - List of preferences to add.
         
     | 
| 
      
 339 
     | 
    
         
            +
                 * @param profilePath - Firefox profile to write the preferences to.
         
     | 
| 
      
 340 
     | 
    
         
            +
                 */
         
     | 
| 
      
 341 
     | 
    
         
            +
                async writePreferences(prefs, profilePath) {
         
     | 
| 
      
 342 
     | 
    
         
            +
                    const lines = Object.entries(prefs).map(([key, value]) => {
         
     | 
| 
      
 343 
     | 
    
         
            +
                        return `user_pref(${JSON.stringify(key)}, ${JSON.stringify(value)});`;
         
     | 
| 
      
 344 
     | 
    
         
            +
                    });
         
     | 
| 
      
 345 
     | 
    
         
            +
                    await fs_1.default.promises.writeFile(path_1.default.join(profilePath, 'user.js'), lines.join('\n'));
         
     | 
| 
      
 346 
     | 
    
         
            +
                    // Create a backup of the preferences file if it already exitsts.
         
     | 
| 
      
 347 
     | 
    
         
            +
                    const prefsPath = path_1.default.join(profilePath, 'prefs.js');
         
     | 
| 
      
 348 
     | 
    
         
            +
                    if (fs_1.default.existsSync(prefsPath)) {
         
     | 
| 
      
 349 
     | 
    
         
            +
                        const prefsBackupPath = path_1.default.join(profilePath, 'prefs.js.puppeteer');
         
     | 
| 
      
 350 
     | 
    
         
            +
                        await fs_1.default.promises.copyFile(prefsPath, prefsBackupPath);
         
     | 
| 
      
 351 
     | 
    
         
            +
                    }
         
     | 
| 
      
 352 
     | 
    
         
            +
                }
         
     | 
| 
      
 353 
     | 
    
         
            +
                async _createProfile(extraPrefs) {
         
     | 
| 
      
 354 
     | 
    
         
            +
                    const temporaryProfilePath = await fs_1.default.promises.mkdtemp(path_1.default.join((0, util_js_1.tmpdir)(), 'puppeteer_dev_firefox_profile-'));
         
     | 
| 
      
 355 
     | 
    
         
            +
                    const prefs = this.defaultPreferences(extraPrefs);
         
     | 
| 
      
 356 
     | 
    
         
            +
                    await this.writePreferences(prefs, temporaryProfilePath);
         
     | 
| 
      
 357 
     | 
    
         
            +
                    return temporaryProfilePath;
         
     | 
| 
      
 358 
     | 
    
         
            +
                }
         
     | 
| 
      
 359 
     | 
    
         
            +
            }
         
     | 
| 
      
 360 
     | 
    
         
            +
            exports.FirefoxLauncher = FirefoxLauncher;
         
     | 
| 
      
 361 
     | 
    
         
            +
            //# sourceMappingURL=FirefoxLauncher.js.map
         
     | 
| 
         @@ -0,0 +1 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"FirefoxLauncher.js","sourceRoot":"","sources":["../../../../src/node/FirefoxLauncher.ts"],"names":[],"mappings":";;;;;;AAAA,4CAAoB;AACpB,4CAAoB;AACpB,gDAAwB;AACxB,mDAA2C;AAC3C,qDAA6C;AAE7C,2DAAmD;AACnD,yDAAiD;AAKjD,6DAA4E;AAC5E,uCAAiC;AAEjC;;GAEG;AACH,MAAa,eAAe;IAc1B,YACE,WAA+B,EAC/B,iBAAyB,EACzB,eAAwB;QAExB,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,IAAI,CAAC,kBAAkB,GAAG,iBA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gBAAM,GAAE,EAAE,gCAAgC,CAAC,CACtD,CAAC;QAEF,MAAM,KAAK,GAAG,IAAI,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;QAClD,MAAM,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC;QAEzD,OAAO,oBAAoB,CAAC;IAC9B,CAAC;CACF;AAjeD,0CAieC"}
         
     | 
    
        package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts.map
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"LaunchOptions.d.ts","sourceRoot":"","sources":["../../../../src/node/LaunchOptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"LaunchOptions.d.ts","sourceRoot":"","sources":["../../../../src/node/LaunchOptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAC,qBAAqB,EAAC,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC9B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AACD;;GAEG;AACH,oBAAY,oBAAoB,GAC5B,QAAQ,GACR,aAAa,GACb,eAAe,GACf,YAAY,CAAC;AAEjB;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;IACvC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5C;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED;;;;GAIG;AACH,oBAAY,0BAA0B,GAAG,4BAA4B,GACnE,aAAa,GACb,qBAAqB,CAAC"}
         
     | 
    
        package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/NodeWebSocketTransport.d.ts
    CHANGED
    
    | 
         @@ -15,10 +15,13 @@ 
     | 
|
| 
       15 
15 
     | 
    
         
             
             */
         
     | 
| 
       16 
16 
     | 
    
         
             
            import NodeWebSocket from 'ws';
         
     | 
| 
       17 
17 
     | 
    
         
             
            import { ConnectionTransport } from '../common/ConnectionTransport.js';
         
     | 
| 
      
 18 
     | 
    
         
            +
            /**
         
     | 
| 
      
 19 
     | 
    
         
            +
             * @internal
         
     | 
| 
      
 20 
     | 
    
         
            +
             */
         
     | 
| 
       18 
21 
     | 
    
         
             
            export declare class NodeWebSocketTransport implements ConnectionTransport {
         
     | 
| 
       19 
     | 
    
         
            -
                 
     | 
| 
       20 
     | 
    
         
            -
                 
     | 
| 
       21 
     | 
    
         
            -
                onmessage?: (message:  
     | 
| 
      
 22 
     | 
    
         
            +
                #private;
         
     | 
| 
      
 23 
     | 
    
         
            +
                static create(urlString: string): Promise<NodeWebSocketTransport>;
         
     | 
| 
      
 24 
     | 
    
         
            +
                onmessage?: (message: NodeWebSocket.Data) => void;
         
     | 
| 
       22 
25 
     | 
    
         
             
                onclose?: () => void;
         
     | 
| 
       23 
26 
     | 
    
         
             
                constructor(ws: NodeWebSocket);
         
     | 
| 
       24 
27 
     | 
    
         
             
                send(message: string): void;
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"NodeWebSocketTransport.d.ts","sourceRoot":"","sources":["../../../../src/node/NodeWebSocketTransport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,aAAa,MAAM,IAAI,CAAC;AAC/B,OAAO, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"NodeWebSocketTransport.d.ts","sourceRoot":"","sources":["../../../../src/node/NodeWebSocketTransport.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,aAAa,MAAM,IAAI,CAAC;AAC/B,OAAO,EAAC,mBAAmB,EAAC,MAAM,kCAAkC,CAAC;AAIrE;;GAEG;AACH,qBAAa,sBAAuB,YAAW,mBAAmB;;WACnD,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,sBAAsB,CAAC;IAgCvE,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,CAAC,IAAI,KAAK,IAAI,CAAC;IAClD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;gBAET,EAAE,EAAE,aAAa;IAgB7B,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI3B,KAAK,IAAI,IAAI;CAGd"}
         
     |