playwright/browser_patches/firefox/juggler/content
Andrey Lushnikov 2c11b10598
browser(firefox): remove multisession logic (#4039)
This patch:
1. Changes `SimpleChannel` to buffer messages to the namespace that
   hasn't been registered yet. This allows us to create `SimpleChannel`
   per target on the browser side right away.
2. Removes multisession support. Now there's only one `PageAgent` in the
   content process, which talks to a single `PageHandler` on the browser
   side. Both ends can be created as-soon-as-needed; thanks to
   `SimpleChannel` bufferring, no messages will be lost and all messages
   will be delivered in proper order. (This is currently the reason why
   build 1178 flakes on windows).
3. Straightens up the target reporting. Targets are reported as soon
   as they appear on the browser side.

**NOTE:** this doesn't yet remove sessions from protocol.

References #3995
2020-10-02 04:13:42 -07:00
..
FrameTree.js browser(firefox): use browsingContextID for frame IDs (#3999) 2020-09-29 11:22:00 -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
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