puppeteer/utils
Andrey Lushnikov 1b2c8113ba
refactor: move Connection to use ConnectionTransport (#3217)
Currently connection assumes that transport is a websocket
and tries to handle websocket-related errors.

This patch:
- moves ConnectionTransport interface to use callbacks instead
  of events. This way it could be used in browser context as well.
- introduces WebSocketTransport that implements ConnectionTransport
  interface for ws.

This is a preparation step for 2 things:
- exposing `transport` option in the `puppeteer.connect` method
- better support for `browserify`

References #2119
2018-09-07 21:36:16 +01:00
..
doclint refactor: move Connection to use ConnectionTransport (#3217) 2018-09-07 21:36:16 +01:00
node6-transform fix(node6): fix one line await arrow functions #2198 2018-03-15 14:54:23 -07:00
protocol-types-generator chore(types): generate protocol.d.ts on install (#2625) 2018-05-29 15:23:32 -07:00
testrunner feat: introduce puppeteer/Errors (#3056) 2018-08-09 16:51:12 -07:00
apply_next_version.js chore: another attempt to fix pptr@next (#3210) 2018-09-06 21:38:17 +01:00
check_availability.js chore: stop using console.assert everywhere (#2646) 2018-05-31 16:53:51 -07:00
ESTreeWalker.js Fix node6 support for Object.entries and URL object (#548) 2017-08-25 15:13:59 -07:00
fetch_devices.js fix(devicedescriptors): fix UA in DeviceDescriptors (#2741) 2018-06-14 13:55:09 -07:00
prepare_puppeteer_core.js feat: prepare for publishing puppeteer-core (#3047) 2018-08-08 15:14:23 -07:00