puppeteer/lib
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
..
.eslintrc.js Introduce Eslint to validate style 2017-06-11 01:32:59 -07:00
Browser.js chore(Browser): fix jsdoc in Browser.create method (#1403) 2017-11-16 16:28:52 -08:00
Connection.js feat(browser): add browser.disconnected event (#960) 2017-11-03 18:46:17 -07:00
Dialog.js chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
ElementHandle.js fix(ElementHandle.screenshot): account for scroll (#1323) 2017-11-10 16:02:52 -08:00
EmulationManager.js chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
ExecutionContext.js fix(Frame): postpone evaluations until execution context gets created (#1415) 2017-11-18 16:27:52 -08:00
externs.d.ts chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
FrameManager.js fix(Frame): postpone evaluations until execution context gets created (#1415) 2017-11-18 16:27:52 -08:00
helper.js fix: Remove synchronous operation with file system. (#879) 2017-10-11 00:55:48 -07:00
Input.js fix(touch): requestAnimationFrame before sending tap (#1142) 2017-10-26 14:53:50 -07:00
Launcher.js fix(Launcher): handle SIGHUP signal (#1405) 2017-11-16 19:28:32 -08:00
Multimap.js chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
NavigatorWatcher.js fix(Page.goto): check navigation completeness on frame detachment (#1419) 2017-11-20 14:47:11 -08:00
NetworkManager.js fix(Network): be prepared to miss requestWillBeSent events (#1420) 2017-11-20 15:59:07 -08:00
Page.js fix(Frame): postpone evaluations until execution context gets created (#1415) 2017-11-18 16:27:52 -08:00
Puppeteer.js chore: Use Typescript to lint JSDoc annotations (#986) 2017-10-09 22:31:40 -07:00
Tracing.js fix: Remove synchronous operation with file system. (#879) 2017-10-11 00:55:48 -07:00
USKeyboardLayout.js feat(keyboard): Accept codes (#1116) 2017-10-23 12:43:45 -07:00