puppeteer/test
Andrey Lushnikov cafd040bf2
fix(Network): be prepared to miss requestWillBeSent events (#1420)
With the addition of `browser.targets()` api, we now can connect to
in-flight targets.

For Puppeteer, it means that it can "miss" certain events happenning
while it wasn't attached to the target.

This patch:
- fixes this problem with NetworkManager, preparing it for the
  missed `requestWillBeSent` event.
- adds a new test to ensure that not a single unhandled promise
  rejection has happened during test execution.

Fixes #1363.
2017-11-20 15:59:07 -08:00
..
assets Test: add tests to cover clicking checkbox (#1125) 2017-11-07 20:38:22 -08:00
golden fix(ElementHandle.screenshot): account for scroll (#1323) 2017-11-10 16:02:52 -08:00
server [api] Implement page.authenticate method (#729) 2017-09-11 16:32:13 -07:00
diffstyle.css Implement FrameManager 2017-06-21 14:11:52 -07:00
frame-utils.js Remove promise jsdoc (#641) 2017-08-31 17:58:07 -07:00
golden-utils.js chore(doclint): move doclint tests expectations into test folders (#932) 2017-10-02 11:37:16 -07:00
test.js fix(Network): be prepared to miss requestWillBeSent events (#1420) 2017-11-20 15:59:07 -08:00