mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-18 08:41:49 +03:00
2b495c9750
As Joel noticed recently, MessageManager in firefox doesn't guarantee message delivery if the opposite end hasn't been initialized yet. In this case, message will be silently dropped on the ground. To fix this, we establish a handshake in SimpleChannel to make sure that both ends are initialized, end buffer outgoing messages until this happens. Drive-by: serialize dialog events to only deliver *after* the `Page.ready` protocol event. Otherwise, we deliver dialog events to the unreported page. |
||
---|---|---|
.. | ||
BrowserHandler.js | ||
Dispatcher.js | ||
PageHandler.js | ||
PrimitiveTypes.js | ||
Protocol.js |