playwright/browser_patches/firefox-beta/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 chore: swap firefox-stable and firefox (#6950) 2021-06-07 17:05:51 -07:00
content browser(firefox): make scrollIntoViewIfNeeded and getContentQuads work with display:contents (#16111) 2022-08-01 14:40:23 -07:00
pipe chore: swap firefox-stable and firefox (#6950) 2021-06-07 17:05:51 -07: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 chore: swap firefox-stable and firefox (#6950) 2021-06-07 17:05:51 -07:00
jar.mn chore: swap firefox-stable and firefox (#6950) 2021-06-07 17:05:51 -07:00
moz.build chore: swap firefox-stable and firefox (#6950) 2021-06-07 17:05:51 -07:00
NetworkObserver.js browser(firefox): recompute content-length if body is overridden (#16173) 2022-08-02 13:51:05 -07:00
SimpleChannel.js chore: swap firefox-stable and firefox (#6950) 2021-06-07 17:05:51 -07:00
TargetRegistry.js browser(firefox): fix racy browser.newPage() method (#15251) 2022-06-30 11:07:38 -07:00