Closed Bug 1800856 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36987 - Fixed WPT: "getDisplayMedia() must adhere to frameRate if set"

Categories

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

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Tove Petersson <tovep@chromium.org> wrote:

Fixed WPT: "getDisplayMedia() must adhere to frameRate if set"

Replaced the ||-operator with a ??-operator in the frames() helper-function to treat getVideoPlaybackQuality()?.totalVideoFrames == 0 as a valid return-value.

Bug: 1384645
Change-Id: I072413ccb3980dcc89e96ebc0298d1085dde1d20
Reviewed-on: https://chromium-review.googlesource.com/4027916
WPT-Export-Revision: c6609b780e0b3a344812827dd1758cac3f998219

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 60 subtests

Status Summary

Firefox

OK : 1
PASS : 49
CRASH: 1
FAIL : 11

Chrome

OK : 1
PASS : 59
FAIL : 1

Safari

OK : 1
PASS : 42
FAIL : 18

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Crashes

  • /screen-capture/getdisplaymedia.https.html [wpt.fyi]: CRASH [Gecko-windows10-32-2004-qr-debug, Gecko-windows10-64-2004-qr-debug], OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, 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-opt-geckoview] linked bugs:Bug 1788563, Bug 1798556

Firefox-only Failures

New Tests That Don't Pass

  • /screen-capture/getdisplaymedia.https.html [wpt.fyi]: CRASH [Gecko-windows10-32-2004-qr-debug, Gecko-windows10-64-2004-qr-debug], OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, 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-opt-geckoview] (Chrome: OK, Safari: OK)
    • getDisplayMedia() must adhere to frameRate if set: FAIL (Chrome: PASS, Safari: FAIL)
    • 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)
    • 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)

Tests Disabled in Gecko Infrastructure

  • /screen-capture/getdisplaymedia.https.html [wpt.fyi]: CRASH [Gecko-windows10-32-2004-qr-debug, Gecko-windows10-64-2004-qr-debug], OK [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, 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-opt-geckoview] (Chrome: OK, Safari: OK) linked bugs:Bug 1788563, Bug 1798556
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/daf6e97a92c0 [wpt PR 36987] - Fixed WPT: "getDisplayMedia() must adhere to frameRate if set", a=testonly https://hg.mozilla.org/integration/autoland/rev/a93baaa5be5e [wpt PR 36987] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.