mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-19 01:01:54 +03:00
4ab66a4fe5
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
3 lines
66 B
Plaintext
3 lines
66 B
Plaintext
1183
|
|
Changed: lushnikov@chromium.org Tue Oct 6 01:20:41 PDT 2020
|