puppeteer/packages/puppeteer-core/src/common
jrandolf 496658f029
fix: use LazyArg for puppeteer utilities (#9575)
This PR fixes the following edge case:

 - `const oldPromise = world.puppeteerUtil`. 
- setContext occurs but context is immediately destroyed, i.e.
`world.#puppeteerUtil === oldPromise` is not resolved.
- clearContext occurs due to destruction, i.e. `world.#puppeteerUtil` is
replaced (`world.#puppeteerUtil !== oldPromise`).
 - `oldPromise` never resolves.
2023-01-26 08:56:33 +01:00
..
bidi docs: fix typos (#9476) 2023-01-16 20:25:09 +01:00
Accessibility.ts fix: improve a11y snapshot handling if the tree is not correct (#9405) 2022-12-13 08:31:26 +00:00
AriaQueryHandler.ts chore: re-export all exports (#9241) 2022-11-10 17:11:18 +01:00
Browser.ts docs: fix typos (#9476) 2023-01-16 20:25:09 +01:00
BrowserConnector.ts feat: ability to send headers via ws connection to browser in node.js environment (#9314) 2022-11-24 11:00:03 +01:00
BrowserWebSocketTransport.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
ChromeTargetManager.ts chore: use named import for devtools-protocol module (#9511) 2023-01-17 11:34:57 +00:00
common.ts chore: re-export all exports (#9241) 2022-11-10 17:11:18 +01:00
Configuration.ts fix: update documentation on configuring puppeteer (#9150) 2022-10-24 09:07:05 +02:00
Connection.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
ConnectionTransport.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
ConsoleMessage.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Coverage.ts feat: add ability to collect JS code coverage at the function level (#9027) 2022-10-06 23:53:05 +02:00
Debug.ts fix: remove oopif expectations and fix oopif flakiness (#9375) 2022-12-09 11:36:39 +00:00
Device.ts fix!: remove puppeteer.devices in favor of KnownDevices (#9075) 2022-10-10 15:30:12 +02:00
Dialog.ts docs: various doc improvements (#9396) 2022-12-09 13:57:39 +01:00
ElementHandle.ts chore: update dependencies (#9436) 2022-12-19 15:26:58 +01:00
EmulationManager.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Errors.ts fix!: deprecate indirect error imports (#9072) 2022-10-06 23:52:51 +02:00
EventEmitter.ts chore: add BiDi integration for Chromium (#9410) 2022-12-20 14:37:31 +00:00
ExecutionContext.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
fetch.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
FileChooser.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
FirefoxTargetManager.ts chore: use named import for devtools-protocol module (#9511) 2023-01-17 11:34:57 +00:00
Frame.ts fix: use LazyArg for puppeteer utilities (#9575) 2023-01-26 08:56:33 +01:00
FrameManager.ts fix: remove oopif expectations and fix oopif flakiness (#9375) 2022-12-09 11:36:39 +00:00
FrameTree.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
HTTPRequest.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
HTTPResponse.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Input.ts feat(puppeteer-core): keydown supports commands (#9357) 2022-12-03 11:23:47 +01:00
IsolatedWorld.ts fix: use LazyArg for puppeteer utilities (#9575) 2023-01-26 08:56:33 +01:00
IsolatedWorlds.ts chore: re-export all exports (#9241) 2022-11-10 17:11:18 +01:00
JSHandle.ts chore: update dependencies (#9436) 2022-12-19 15:26:58 +01:00
LazyArg.ts fix: use LazyArg for puppeteer utilities (#9575) 2023-01-26 08:56:33 +01:00
LifecycleWatcher.ts fix: resolve navigation requests when request fails (#9178) 2022-10-28 09:56:06 +02:00
NetworkEventManager.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
NetworkManager.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
NodeWebSocketTransport.ts feat: ability to send headers via ws connection to browser in node.js environment (#9314) 2022-11-24 11:00:03 +01:00
Page.ts feat(page): Adding support for referrerPolicy in page.goto (#9561) 2023-01-23 11:11:20 +00:00
PDFOptions.ts docs: mention how to disable timeout for page.pdf() (#9167) 2022-12-12 12:12:18 +00:00
PredefinedNetworkConditions.ts fix!: deprecate indirect network condition imports (#9074) 2022-10-06 23:52:58 +02:00
Product.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Puppeteer.ts feat: ability to send headers via ws connection to browser in node.js environment (#9314) 2022-11-24 11:00:03 +01:00
PuppeteerViewport.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
QueryHandler.ts fix: use LazyArg for puppeteer utilities (#9575) 2023-01-26 08:56:33 +01:00
SecurityDetails.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Target.ts docs: various doc improvements (#9396) 2022-12-09 13:57:39 +01:00
TargetManager.ts chore: use named import for devtools-protocol module (#9511) 2023-01-17 11:34:57 +00:00
TaskQueue.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
TimeoutSettings.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Tracing.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
types.ts fix: use LazyArg for puppeteer utilities (#9575) 2023-01-26 08:56:33 +01:00
USKeyboardLayout.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
util.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
WaitTask.ts fix: use LazyArg for puppeteer utilities (#9575) 2023-01-26 08:56:33 +01:00
WebWorker.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00