Closed Bug 1731076 Opened 3 years ago Closed 3 years ago

dom/media/webrtc/tests/mochitests/test_setSinkId_default_addTrack.html is disabled, and permaorange when re-enabled

Categories

(Core :: WebRTC: Audio/Video, defect)

defect

Tracking

()

RESOLVED FIXED
94 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- wontfix
firefox92 --- wontfix
firefox93 --- wontfix
firefox94 --- fixed

People

(Reporter: bwc, Assigned: karlt)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Noticed this while working on re-enabling tests that were disabled due to bug 1714410. It seems that this test has completely stopped working sometime since it was disabled in april.

https://treeherder.mozilla.org/jobs?repo=try&revision=f218be1fb37b10c2b710c5fb27b23bdc181895ef

navigator.mediaDevices.enumerateDevices is just not returning anything of kind 'audiooutput'

Thanks for filing.
An audiooutput device needs to be exposed before it will show up in enumerateDevices() output.
Moving enumerateDevices() to after getUserMedia() would be sufficient on Linux test machines, but selectAudioOutput() might mean the test can run on other platforms also.
e.g. https://hg.mozilla.org/integration/autoland/rev/35d3a828f598#l2.12

I don't know how the opt tests can be passing.
https://searchfox.org/mozilla-central/rev/d8d7539593d5a3071841289dee72f971650073ce/dom/media/webrtc/tests/mochitests/mochitest.ini#69
Nor why https://hg.mozilla.org/try/rev/5b2572b7e09a27ea8f7f122ff67d8a91b9ae3a27 would change opt results.

Blocks: 1498512
Component: Audio/Video → WebRTC: Audio/Video
Regressed by: 1661649, 1493982, 1634684
Has Regression Range: --- → yes
Assignee: nobody → karlt

The Bugbug bot thinks this bug is a defect, but please change it back in case of error.

Type: task → defect

This was disabled for all builds due to a failed attempt at equality syntax.
https://hg.mozilla.org/try/rev/5b2572b7e09a27ea8f7f122ff67d8a91b9ae3a27#l1.35

"audiooutput" devices are now not exposed before permission is granted.
https://bugzilla.mozilla.org/show_bug.cgi?id=1493982

Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/024b338382da expose an audio output device and enable test_setSinkId_default_addTrack.html on linux r=pehrsons https://hg.mozilla.org/integration/autoland/rev/4e777a704dee enable test_setSinkId_default_addTrack.html even on platforms without a loopback device r=pehrsons
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: