Closed Bug 1850971 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 41742 - Implement the DisplayMediaStreamOptions monitorTypeSurfaces

Categories

(Core :: WebRTC: Audio/Video, task, P4)

task

Tracking

()

RESOLVED FIXED
119 Branch
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

Component: web-platform-tests → WebRTC: Audio/Video
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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

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)

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
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/aead49227c3c [wpt PR 41742] - Implement the DisplayMediaStreamOptions monitorTypeSurfaces, a=testonly https://hg.mozilla.org/integration/autoland/rev/9ab7b0599258 [wpt PR 41742] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.