playwright/browser_patches/firefox/juggler/content
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
..
FrameTree.js browser(firefox): enable document channel (#4065) 2020-10-06 00:15:24 -07:00
PageAgent.js browser(firefox): remove multisession logic (#4039) 2020-10-02 04:13:42 -07:00
Runtime.js browser(firefox): report errors from workers (#2797) 2020-07-01 14:49:14 -07:00
WorkerMain.js browser(firefox): remove multisession logic (#4039) 2020-10-02 04:13:42 -07:00
hidden-scrollbars.css browser(firefox): properly hide scrollbars in all frames (#2505) 2020-06-08 15:54:47 -07:00
main.js browser(firefox): remove multisession logic (#4039) 2020-10-02 04:13:42 -07:00