playwright/browser_patches/firefox/juggler
Yury Semikhatsky 02aa31048c
browser(firefox): cross thread sync in screencast (#16320)
* nsIScreencastServiceClient is not thread safe refcounted so we make nsScreencastService::Session a thread safe refcounted object and keep it alive while there are inflight frames. Once such frames get handled on the main thread we check if the session has been stopped.
* Removed mCaptureCallbackCs in favor of atomic counter (mClient is not accessed only on the main thread).
* HeadlessWindowCapturer now holds RefPtr to the headless window object to avoid use after free when clearing it as a listener on the widget.
* ScreencastEncoder is not ref counted anymore.

Pretty-diff: 5f5042ff1e
2022-08-05 15:25:26 -07:00
..
components browser(firefox): partially revert scrollbars patch (#6670) 2021-05-19 18:59:57 -07:00
content browser(firefox): make scrollIntoViewIfNeeded and getContentQuads work with display:contents (#16111) 2022-08-01 14:40:23 -07:00
pipe browser(firefox): fix build on Windows (#5275) 2021-02-03 09:50:35 -08:00
protocol browser(firefox): dispatch console messages even if there are workers (#16068) 2022-07-29 16:56:17 -07:00
screencast browser(firefox): cross thread sync in screencast (#16320) 2022-08-05 15:25:26 -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): recompute content-length if body is overridden (#16173) 2022-08-02 13:51:05 -07:00
SimpleChannel.js browser(firefox): fix SimpleChannel to await initialization (#4311) 2020-11-02 16:21:34 -08:00
TargetRegistry.js browser(firefox): fix racy browser.newPage() method (#15251) 2022-06-30 11:07:38 -07:00