puppeteer/utils/doclint/check_public_api
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
..
test chore(doclint): remove SourceFactory (#2447) 2018-04-25 18:07:20 -07:00
Documentation.js chore: Spelling and Markdown Consistency (#1998) 2018-02-08 22:59:46 -05:00
index.js refactor: move Connection to use ConnectionTransport (#3217) 2018-09-07 21:36:16 +01:00
JSBuilder.js chore: stop using console.assert everywhere (#2646) 2018-05-31 16:53:51 -07:00
MDBuilder.js chore: Spelling and Markdown Consistency (#1998) 2018-02-08 22:59:46 -05:00