Closed Bug 1650932 Opened 6 years ago Closed 2 years ago

Intermittent dom/media/tests/mochitest/test_enumerateDevices_navigation.html | Enumerate devices promise resolved unexpectedly, found 2 devices.

Categories

(Core :: WebRTC, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

Filed by: agakhokidze [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=308747315&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MZ7TZbGkTrmqtk5AKk9Yuw/runs/0/artifacts/public/logs/live_backing.log


There is a race in this code https://searchfox.org/mozilla-central/rev/91d82d7cbf05a71954dfa49d0e43824c7c973e62/dom/media/tests/mochitest/test_enumerateDevices_navigation.html#32-40 because the test code expects enumerateDevices to take long enough to allow us to change iframe's srcdoc to "", but that's not always the case. A possible solution is to have enumerateDevices function rewritten to add a manual delay for testing this scenario.

Also, I think there is another issue with this test case and I mentioned it here https://bugzilla.mozilla.org/show_bug.cgi?id=1618655#c6 which should probably get fixed as part of this bug.

Flags: needinfo?(achronop)
See Also: → 1644825

Redirecting to jib

Flags: needinfo?(achronop) → needinfo?(jib)
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE

Clearing the needinfo request since this bug has been closed as INCOMPLETE for 2 years, 4 months and 25 days.

For more information, please visit BugBot documentation.

Flags: needinfo?(jib)
You need to log in before you can comment on or make changes to this bug.