[wpt-sync] Sync PR 36433 - Throw TypeError if constraints.video is false in getDisplayMedia calls
Categories
(Core :: WebRTC: Audio/Video, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36433 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36433
Details from upstream follow.
François Beaufort <beaufort.francois@gmail.com> wrote:
Throw TypeError if constraints.video is false in getDisplayMedia calls
This CL updates Chrome to match spec and other implementations. It now
throws a TypeError when constraints.video is false in getDisplayMedia
and getDisplayMediaSet calls.Spec: https://www.w3.org/TR/screen-capture/#:~:text=If%20constraints.video%20is%20false
Bug: 904831
Change-Id: I0a80a6f1ad9f51b8a905e474f8c57a6611e2c593
Reviewed-on: https://chromium-review.googlesource.com/3948708
WPT-Export-Revision: d4b124ca91fd80915893af06a6667df6e8b2b075
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 57 subtests
Status Summary
Firefox
OK
: 1
PASS
: 50
FAIL
: 7
Chrome
OK
: 1
PASS
: 50
FAIL
: 7
Safari
OK
: 1
PASS
: 42
FAIL
: 15
Links
Details
Firefox-only Failures
- /screen-capture/getdisplaymedia.https.html [wpt.fyi]
- displaySurface is supported:
FAIL
- displaySurface is supported:
New Tests That Don't Pass
- /screen-capture/getdisplaymedia.https.html [wpt.fyi]
- getDisplayMedia({"video":{"displaySurface":"monitor"}}) with getSettings:
FAIL
(Chrome:PASS
, Safari:FAIL
) - getDisplayMedia({"video":{"displaySurface":"window"}}) with getSettings:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - getDisplayMedia({"video":{"displaySurface":"browser"}}) with getSettings:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - displaySurface is supported:
FAIL
(Chrome:PASS
, Safari:PASS
) - getDisplayMedia({"selfBrowserSurface":"invalid"}) must fail with TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - getDisplayMedia({"surfaceSwitching":"invalid"}) must fail with TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
) - getDisplayMedia({"systemAudio":"invalid"}) must fail with TypeError:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- getDisplayMedia({"video":{"displaySurface":"monitor"}}) with getSettings:
Comment 5•2 years ago
|
||
bugherder |
Description
•