Bug
1797681 [wpt PR 36685] - [Conditional Focus] Throw setFocusBehavior after getDisplayMedia rejects, a=testonly
Automatic update from web-platform-tests
[Conditional Focus] Throw setFocusBehavior after getDisplayMedia rejects
This CL makes sure CaptureController.setFocusBehavior() throws
InvalidStateError after getDisplayMedia promise rejects.
Spec: https://github.com/w3c/mediacapture-screen-share/issues/252
Demo: https://capture-controller.glitch.me/
Bug:
1215480
Change-Id: Ia2ceeb12ae9bf8c8fee77888eefc37f229e9e8e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3984527
Commit-Queue: Fr <beaufort.francois@gmail.com>
Reviewed-by: Elad Alon <eladalon@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1068624}
--
wpt-commits:
e5ff94da6e3ec88733b154a21bbbea4c73aa6eb4
wpt-pr: 36685