playwright/browser_patches/firefox/juggler
Andrey Lushnikov c8a64b88e1
browser(firefox): enable document channel (#4065)
In the current tip-of-tree Firefox, document channel is enabled by
default, so we have to enable it in order to roll further.

This patch:
1. Removes content disposition sniffing from content process since it
   crashes renderer with document channel.
2. Merges all page-related handlers in a single `PageHandler` and
   serializes network events wrt the `Page.frameAttached` event.

The serialization mentioned in (2) is necessary: frame attachment is
reported from the content process, and network events are reported from
the browsers process. This is an inherent race, that becomes exposed by
the document channel.

On a side note, (2) makes it possible to synchronously report all
buffered events in `SimpleChannel` (cc offline discussion with @dgozman
that highlighted an unsighty approach that we currently employ there: reporting
events in a subsequent microtask.)

References #3995
2020-10-06 00:15:24 -07:00
..
components browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
content browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
pipe browser(firefox): make pipe work on Windows (#4058) 2020-10-05 10:58:56 -07:00
protocol browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
screencast browser(firefox): autoscale screencast to fit frame (#3720) 2020-09-01 17:10:06 -07:00
Helper.js browser(firefox): remove the hack around setting viewport size (#4010) 2020-09-30 00:36:46 -07:00
NetworkObserver.js browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
SimpleChannel.js browser(firefox): remove multisession logic (#4039) 2020-10-02 04:13:42 -07:00
TargetRegistry.js browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
jar.mn browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
moz.build browser(firefox): implement RemoteDebuggingPipe (#3273) 2020-08-03 13:27:09 -07:00