Closed Bug 1794195 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36342 - Support display surface when using fake UI for media stream

Categories

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

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 36342 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/36342
Details from upstream follow.

François Beaufort <beaufort.francois@gmail.com> wrote:

Support display surface when using fake UI for media stream

This CL adds support in web platform tests for the
MediaTrackSupportedConstraints displaySurface[1] and updates a web
platform test.

[1] https://w3c.github.io/mediacapture-screen-share/#dfn-displaysurface

Bug: 1224912
Change-Id: Id0b577cfafaa59ff73bf5841338b723f7d8e9513
Reviewed-on: https://chromium-review.googlesource.com/3936847
WPT-Export-Revision: 2b2aa3d612c5a0856bc6928cbf8c3b37efcb02b1

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 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 56 subtests

Status Summary

Firefox

OK : 1
PASS : 40[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-opt] 49[GitHub]
CRASH: 1
FAIL : 4[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-opt] 7[GitHub]

Chrome

OK : 1
PASS : 49
FAIL : 7

Safari

OK : 1
PASS : 41
FAIL : 15

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Crashes

  • /screen-capture/getdisplaymedia.https.html [wpt.fyi]: CRASH [Gecko-windows10-64-2004-qr-debug], OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-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-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] linked bug:Bug 1793276

Firefox-only Failures

New Tests That Don't Pass

  • /screen-capture/getdisplaymedia.https.html [wpt.fyi]: CRASH [Gecko-windows10-64-2004-qr-debug], OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-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-debug-isolated-process-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: 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)

Tests Disabled in Gecko Infrastructure

  • /screen-capture/getdisplaymedia.https.html [wpt.fyi]: CRASH [Gecko-windows10-64-2004-qr-debug], OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-32-2004-qr-debug, Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-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-debug-isolated-process-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] (Chrome: OK, Safari: OK) linked bug:Bug 1793276
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dbf675bc1d1c [wpt PR 36342] - Support display surface when using fake UI for media stream, a=testonly https://hg.mozilla.org/integration/autoland/rev/b3ab3ce6bd9f [wpt PR 36342] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.