You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run via cmd line "SimpleTest" on https://github.com/gianhub16/simpletest repository
npx playwright test -g "SampleTest" --workers=3
Compare the traces and videos across browsers
Expected behavior
Trace and Video should be recorded on the right context.
Actual behavior
When I run the test, when the test changes the context, the right context has not been recorded. Specifically, in the trace the screens remain the same as in the old context and the video continues for the duration of the test but gets stuck on the context I closed!
It happens only on FIREFOX (Nightly 125.0.1 (64-bit))
Additional context
It happens only on FIREFOX (Nightly 125.0.1 (64-bit))
nsScreencastService operates on nsIWidget that corresponds to a window. Therefore, two tabs from the same window only capture the currently visible tab. There is no easy fix for this one, needs investigation.
nsScreencastService::Session::Stop() calls StopCapture() which stops capturing for the whole window. With two tabs in a window, this stops capture in both pages when one of them closes, which is undesirable.
The proposed fix for the previous issue is to introduce webrtc::VideoCaptureModuleEx::StartCaptureCounted() and webrtc::VideoCaptureModuleEx::StopCaptureCounted() that will increment/decrement a counter and call StartCapture()/StopCapture() respectively.
Version
1.44.0
Steps to reproduce
Run via cmd line "SimpleTest" on https://github.com/gianhub16/simpletest repository
npx playwright test -g "SampleTest" --workers=3
Compare the traces and videos across browsers
Expected behavior
Trace and Video should be recorded on the right context.
Actual behavior
When I run the test, when the test changes the context, the right context has not been recorded. Specifically, in the trace the screens remain the same as in the old context and the video continues for the duration of the test but gets stuck on the context I closed!
It happens only on FIREFOX (Nightly 125.0.1 (64-bit))
Additional context
It happens only on FIREFOX (Nightly 125.0.1 (64-bit))
Environment
The text was updated successfully, but these errors were encountered: