playwright/browser_patches/firefox/juggler/screencast
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.conf browser(firefox): basic screencast implementation for GTK (#2818) 2020-07-02 10:43:04 -07:00
HeadlessWindowCapturer.cpp browser(firefox): roll Firefox stable to 103 (#16047) 2022-07-29 05:47:00 -07:00
HeadlessWindowCapturer.h browser(firefox): cross thread sync in screencast (#16320) 2022-08-05 15:25:26 -07:00
moz.build browser(firefox): roll Firefox to 96 stable (#11451) 2022-01-18 03:16:04 -08:00
nsIScreencastService.idl browser(firefox): fit screencast images into given frame (#6495) 2021-05-10 22:01:41 -07:00
nsScreencastService.cpp browser(firefox): cross thread sync in screencast (#16320) 2022-08-05 15:25:26 -07:00
nsScreencastService.h browser(firefox): cross thread sync in screencast (#16320) 2022-08-05 15:25:26 -07:00
ScreencastEncoder.cpp browser(firefox): cross thread sync in screencast (#16320) 2022-08-05 15:25:26 -07:00
ScreencastEncoder.h browser(firefox): cross thread sync in screencast (#16320) 2022-08-05 15:25:26 -07:00
WebMFileWriter.cpp browser(firefox): fix Windows build (#3065) 2020-07-21 10:02:14 -07:00
WebMFileWriter.h browser(firefox): write video to .webm instead of .ivf (#3062) 2020-07-21 09:26:59 -07:00