playwright/browser_patches/firefox
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
..
juggler browser(firefox): fix SimpleChannel to await initialization (#4311) 2020-11-02 16:21:34 -08:00
patches browser(firefox): roll firefox to beta Oct, 28 (#4274) 2020-10-28 14:47:14 -07:00
preferences browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
.gitignore Initial commit 2019-11-19 10:58:15 -08:00
archive.sh devops: strictly configure build folder for Firefox builds (#1454) 2020-03-20 19:24:38 -07:00
build.sh browser(firefox): roll firefox to beta Oct, 28 (#4274) 2020-10-28 14:47:14 -07:00
BUILD_NUMBER browser(firefox): fix SimpleChannel to await initialization (#4311) 2020-11-02 16:21:34 -08:00
cheatsheet.md chore(firefox): update cheatsheet with logging instructions (#1609) 2020-03-31 13:23:35 -07:00
clean.sh devops: strictly configure build folder for Firefox builds (#1454) 2020-03-20 19:24:38 -07:00
install-preferences.js devops: bundle firefox preferences alongside with build. 2020-02-11 14:42:04 -08:00
UPSTREAM_CONFIG.sh browser(firefox): roll firefox to beta Oct, 28 (#4274) 2020-10-28 14:47:14 -07:00