puppeteer/packages/puppeteer-core
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
..
src fix: resolve navigation requests when request fails (#9178) 2022-10-28 09:56:06 +02:00
third_party feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
tools chore: refactor utils (#9053) 2022-10-06 10:27:14 +02:00
.gitignore chore: use test runner for installation tests (#9110) 2022-10-14 13:37:07 +02:00
api-extractor.json feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
CHANGELOG.md chore: release main (#9168) 2022-10-26 09:51:16 +02:00
package.json chore: release main (#9168) 2022-10-26 09:51:16 +02:00
rollup.third_party.config.js feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00
tsconfig.json feat: separate puppeteer and puppeteer-core (#9023) 2022-10-05 14:17:03 +02:00