Closed Bug 1618655 Opened 6 years ago Closed 6 years ago

Intermittent dom/media/tests/mochitest/test_enumerateDevices_navigation.html | Error executing test: TypeError: iframe.contentWindow.enumerateDevices is not a function @... mochitest/test_enumerateDevices_navigation.html:33:32 ... runTestWhenReady

Categories

(Core :: WebRTC, defect, P5)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


[task 2020-02-27T17:54:52.439Z] 17:54:52 INFO - 931 INFO TEST-START | dom/media/tests/mochitest/test_enumerateDevices_navigation.html
[task 2020-02-27T17:54:52.439Z] 17:54:52 INFO - Buffered messages logged at 17:54:48
[task 2020-02-27T17:54:52.440Z] 17:54:52 INFO - 932 INFO TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices_navigation.html | A valid string reason is expected
[task 2020-02-27T17:54:52.440Z] 17:54:52 INFO - 933 INFO TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices_navigation.html | Reason cannot be empty
[task 2020-02-27T17:54:52.440Z] 17:54:52 INFO - 934 INFO Failed to enumerate devices, error: TypeError: iframe.contentWindow.enumerateDevices is not a function
[task 2020-02-27T17:54:52.440Z] 17:54:52 INFO - Buffered messages finished
[task 2020-02-27T17:54:52.441Z] 17:54:52 WARNING - 935 INFO TEST-UNEXPECTED-FAIL | dom/media/tests/mochitest/test_enumerateDevices_navigation.html | Error executing test: TypeError: iframe.contentWindow.enumerateDevices is not a function @https://example.com/tests/dom/media/tests/mochitest/test_enumerateDevices_navigation.html:33:32 ... runTestWhenReady/<@https://example.com/tests/dom/media/tests/mochitest/head.js:497:30 ...
[task 2020-02-27T17:54:52.441Z] 17:54:52 INFO - SimpleTest.ok@https://example.com/tests/SimpleTest/SimpleTest.js:299:16
[task 2020-02-27T17:54:52.443Z] 17:54:52 INFO - runTestWhenReady/<@https://example.com/tests/dom/media/tests/mochitest/head.js:499:9
[task 2020-02-27T17:54:52.443Z] 17:54:52 INFO - 936 INFO TEST-OK | dom/media/tests/mochitest/test_enumerateDevices_navigation.html | took 129ms
[task 2020-02-27T17:54:52.443Z] 17:54:52 INFO - 937 INFO TEST-PASS | dom/media/tests/mochitest/test_enumerateDevices_navigation.html | Test must leave no active gUM streams behind.
[task 2020-02-27T17:54:52.443Z] 17:54:52 INFO - 938 ERROR [SimpleTest.finish()] this test already called finish!
[task 2020-02-27T17:54:52.443Z] 17:54:52 WARNING - 939 INFO TEST-UNEXPECTED-ERROR | dom/media/tests/mochitest/test_enumerateDevices_navigation.html | called finish() multiple times
[task 2020-02-27T17:54:52.443Z] 17:54:52 INFO - TEST-INFO

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Hmmm I have an idea this intermittent failure might be occurring because in here https://searchfox.org/mozilla-central/rev/91d82d7cbf05a71954dfa49d0e43824c7c973e62/dom/media/tests/mochitest/test_enumerateDevices_navigation.html#6-11 the iframe element is located in neither head nor body element. I am working on bug 1644825 and might be able to fix this as part of it because this test invokes the code in my patches and needs to be modified.

See Also: → 1650932
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.