Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: simplify server screencast code (#4501)
Currently, we always throw from FrameSession._stopScreencast when not running with video, and immediately catch it in CRPage.didClose (thanks to debugger to point that). Overall, we have code prepared for start/stop API, which we never did, so it makes sense to simplify code a bit, and throw if something goes wrong.
- Loading branch information
Showing
4 changed files
with
34 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters