playwright/browser_patches/firefox/juggler/protocol
Andrey Lushnikov 4ab66a4fe5
browser(firefox): follow-up with assorted simplifications (#4066)
This patch:
- moves `SimpleChannel` to synchronously dispatch buffered commands
  instead of a `await Promise.resolve()` hack
- moves dialog & screencast handling from `PageHandler` to
  `TargetManager`. This leaves `PageHandler` to be concerned solely about
  protocol.
- removes `attach` and `detach` methods for worker channels: since
  channels are buffering messages until the namespace registers, there's
  no chance to loose any events.
- slightly simplifies `PageNetwork` class: it's lifetime is now
  identical to the lifetime of the associated `PageTarget`, so a lot can
  be simplified later on.

References #3995
2020-10-06 01:53:25 -07:00
..
BrowserHandler.js browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
Dispatcher.js browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
PageHandler.js browser(firefox): follow-up with assorted simplifications (#4066) 2020-10-06 01:53:25 -07:00
PrimitiveTypes.js chore: export juggler as a standalone folder for browser build (#2432) 2020-06-02 16:51:13 -07:00
Protocol.js browser(firefox): introduce browser level screencastFinished event (#3625) 2020-08-25 14:50:40 -07:00