puppeteer/packages/puppeteer-core/src/common
Alex Rudenko c11297baa5
fix: resolve navigation requests when request fails (#9178)
#8768 fixes flakiness in handling navigations but it didn't account for
the fact that subsequent navigation requests could be aborted via the
request interception. In that case, the navigationResponseReceived
promise would never be resolved. This PR adds a listener for the failed
network requests and resolves the promise if the network request has
failed. Adding test coverage for this seems tricky, as the reproduction
depends on timing of the second navigation request.

Closes #9175
2022-10-28 09:56:06 +02:00
..
bidi chore: extract BrowserContext to its own file (#9133) 2022-10-19 07:06:31 +00:00
Accessibility.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
AriaQueryHandler.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Browser.ts feat: expose browser context id (#9134) 2022-10-19 08:30:57 +00:00
BrowserConnector.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
BrowserWebSocketTransport.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
ChromeTargetManager.ts chore: remove special handling for shared_worker (#9096) 2022-10-11 12:18:06 +00: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 feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Device.ts fix!: remove puppeteer.devices in favor of KnownDevices (#9075) 2022-10-10 15:30:12 +02:00
Dialog.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
ElementHandle.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02: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 feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02: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 feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Frame.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
FrameManager.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02: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 chore: improve docs and scripts (#9107) 2022-10-13 18:55:11 +02:00
IsolatedWorld.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
JSHandle.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
LazyArg.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02: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: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Page.ts feat(chromium): roll to Chromium 108.0.5351.0 (r1056772) (#9153) 2022-10-25 12:55:19 +02:00
PDFOptions.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02: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: use configuration files (#9140) 2022-10-21 15:09:21 +02:00
PuppeteerViewport.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
QueryHandler.ts fix!: refactor custom query handler API (#9078) 2022-10-10 16:01:09 +02:00
SecurityDetails.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
Target.ts chore: extract BrowserContext to its own file (#9133) 2022-10-19 07:06:31 +00:00
TargetManager.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02: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 feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02: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 feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
WebWorker.ts feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00