mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
c11297baa5
#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 |
||
---|---|---|
.. | ||
api | ||
common | ||
injected | ||
node | ||
templates | ||
util | ||
environment.ts | ||
puppeteer-core.ts | ||
revisions.ts | ||
tsconfig.cjs.json | ||
tsconfig.esm.json | ||
types.ts |