[wpt-sync] Sync PR 41742 - Implement the DisplayMediaStreamOptions monitorTypeSurfaces
Categories
(Core :: WebRTC: Audio/Video, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox119 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41742 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41742
Details from upstream follow.
François Beaufort <beaufort.francois@gmail.com> wrote:
Implement the DisplayMediaStreamOptions monitorTypeSurfaces
Spec PR: https://github.com/w3c/mediacapture-screen-share/pull/274
WIP
Change-Id: I25ffabe546ddc778f660834e44a9dab15494e92a
Reviewed-on: https://chromium-review.googlesource.com/4831171
WPT-Export-Revision: 5211f84957601bfffa4264fe6149f3940ec70978
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 64 subtests
Status Summary
Firefox
OK : 1
PASS: 49
FAIL: 15
Chrome
OK : 1
PASS: 60
FAIL: 4
Safari
OK : 1
PASS: 46
FAIL: 18
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /screen-capture/getdisplaymedia.https.html [wpt.fyi]
- displaySurface is supported:
FAIL - getDisplayMedia() with getCapabilities:
FAIL - getDisplayMedia({"video":{"displaySurface":"monitor"},"monitorTypeSurfaces":"include"}) resolves with a monitor track:
FAIL
- displaySurface is supported:
New Tests That Don't Pass
- /screen-capture/getdisplaymedia.https.html [wpt.fyi]:
OK[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt,GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Chrome:OK, Safari:OK)- getDisplayMedia({"video":{"displaySurface":"monitor"}}) with getSettings:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({"video":{"displaySurface":"window"}}) with getSettings:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({"video":{"displaySurface":"browser"}}) with getSettings:
FAIL(Chrome:PASS, 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({"monitorTypeSurfaces":"invalid"}) must fail with TypeError:
FAIL(Chrome:FAIL, Safari:FAIL) - suppressLocalAudioPlayback is supported:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({"audio":{"suppressLocalAudioPlayback":true}}) with getSettings:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia({"audio":{"suppressLocalAudioPlayback":false}}) with getSettings:
FAIL(Chrome:PASS, Safari:FAIL) - getDisplayMedia() with getCapabilities:
FAIL(Chrome:PASS, Safari:PASS) - getDisplayMedia({"video":{"displaySurface":"monitor"},"monitorTypeSurfaces":"exclude"}) rejects with TypeError:
FAIL(Chrome:FAIL, Safari:FAIL) - getDisplayMedia({"video":{"displaySurface":"monitor"},"monitorTypeSurfaces":"include"}) resolves with a monitor track:
FAIL(Chrome:PASS, Safari:PASS) - getDisplayMedia({"monitorTypeSurfaces":"exclude"}) resolves with a non monitor track:
FAIL(Chrome:FAIL, Safari:FAIL)
- getDisplayMedia({"video":{"displaySurface":"monitor"}}) with getSettings:
Tests Disabled in Gecko Infrastructure
- /screen-capture/getdisplaymedia.https.html [wpt.fyi]:
OK[Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt,GitHub],SKIP[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Chrome:OK, Safari:OK) linked bugs:Bug 1788563, Bug 1798556
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/aead49227c3c
https://hg.mozilla.org/mozilla-central/rev/9ab7b0599258
Description
•