playwright/browser_patches/firefox/juggler
Andrey Lushnikov 2b495c9750
browser(firefox): fix SimpleChannel to await initialization (#4311)
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.
2020-11-02 16:21:34 -08:00
..
components browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
content browser(firefox): fix SimpleChannel to await initialization (#4311) 2020-11-02 16:21:34 -08:00
pipe browser(firefox): make pipe work on Windows (#4058) 2020-10-05 10:58:56 -07:00
protocol browser(firefox): fix SimpleChannel to await initialization (#4311) 2020-11-02 16:21:34 -08:00
screencast browser(firefox): roll firefox to beta Oct, 28 (#4274) 2020-10-28 14:47:14 -07:00
Helper.js browser(firefox): remove the hack around setting viewport size (#4010) 2020-09-30 00:36:46 -07:00
jar.mn browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
moz.build browser(firefox): roll firefox to beta Oct, 28 (#4274) 2020-10-28 14:47:14 -07:00
NetworkObserver.js browser(firefox): expose resource timing info (#4205) 2020-10-21 13:55:30 -07:00
SimpleChannel.js browser(firefox): fix SimpleChannel to await initialization (#4311) 2020-11-02 16:21:34 -08:00
TargetRegistry.js browser(firefox): roll firefox to beta Oct, 28 (#4274) 2020-10-28 14:47:14 -07:00