mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +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 |
||
---|---|---|
.. | ||
FrameTree.js | ||
hidden-scrollbars.css | ||
main.js | ||
PageAgent.js | ||
Runtime.js | ||
WorkerMain.js |