Closed Bug 1493885 Opened 11 months ago Closed 11 months ago

Intermittent TEST-UNEXPECTED-PASS | /mediacapture-streams/MediaStream-MediaElement-srcObject.https.html | Tests that a MediaStream can be assigned to a video element with srcObject - expected FAIL

Categories

(Core :: Audio/Video: Playback, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jib)

References

Details

(Keywords: intermittent-failure)

Attachments

(2 files)

Filed by: nbeleuzu [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=201365615&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/UvZfsXPNRdig_ImweBIy7g/runs/0/artifacts/public/logs/live_backing.log

23:56:47     INFO - TEST-START | /mediacapture-streams/MediaStream-MediaElement-srcObject.https.html
23:56:47     INFO - PID 987 | ++DOCSHELL 0x124667000 == 13 [pid = 990] [id = {6c574b1c-aa0b-ad49-ad86-f76b6b2c1984}]
23:56:47     INFO - PID 987 | ++DOMWINDOW == 39 (0x111f41e00) [pid = 990] [serial = 39] [outer = 0x0]
23:56:48     INFO - PID 987 | ++DOMWINDOW == 40 (0x1248e4c00) [pid = 990] [serial = 40] [outer = 0x111f41e00]
23:56:48     INFO - PID 987 | ++DOMWINDOW == 41 (0x123750c00) [pid = 990] [serial = 41] [outer = 0x111f41e00]
23:56:48     INFO - 
23:56:48     INFO - TEST-UNEXPECTED-PASS | /mediacapture-streams/MediaStream-MediaElement-srcObject.https.html | Tests that a MediaStream can be assigned to a video element with srcObject - expected FAIL
23:56:48     INFO - TEST-INFO | expected FAIL
23:56:48     INFO - TEST-OK | /mediacapture-streams/MediaStream-MediaElement-srcObject.https.html | took 1186ms
23:56:48     INFO - PID 987 | 1537858608883	Marionette	INFO	Stopped listening on port 2828
23:56:49     INFO - PID 987 | --DOMWINDOW == 40 (0x124645e00) [pid = 990] [serial = 12] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/GUM-deny.https.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 39 (0x124837c00) [pid = 990] [serial = 18] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/GUM-impossible-constraint.https.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 38 (0x111f41c00) [pid = 990] [serial = 6] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/GUM-api.https.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 37 (0x123668800) [pid = 990] [serial = 24] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/GUM-optional-constraint.https.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 36 (0x111f3be00) [pid = 990] [serial = 21] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/GUM-invalid-facing-mode.https.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 35 (0x1255bea00) [pid = 990] [serial = 27] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/GUM-trivial-constraint.https.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 34 (0x1255c0400) [pid = 990] [serial = 30] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/GUM-unknownkey-option-param.https.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 33 (0x111f3ac00) [pid = 990] [serial = 15] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/GUM-empty-option-param.https.html]
23:56:49     INFO - PID 987 | --DOCSHELL 0x12558e000 == 12 [pid = 990] [id = {67bd6d27-f017-fe4c-9c6e-d8ccf24eea50}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x12466d000 == 11 [pid = 990] [id = {7cc9ccbe-7e74-1a46-b7ec-badc32dc1d80}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x122471000 == 10 [pid = 990] [id = {0c1e0133-11a0-7e47-8bf3-b98b1488c0cc}]
23:56:49     INFO - PID 987 | --DOMWINDOW == 32 (0x111f3aa00) [pid = 990] [serial = 33] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/MediaDevices-enumerateDevices.https.html]
23:56:49     INFO - PID 987 | --DOCSHELL 0x12545c800 == 9 [pid = 990] [id = {e1d4ead3-b9d2-c24b-b3de-70f5228505a3}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x125464800 == 8 [pid = 990] [id = {299a04c7-fe99-734d-9c3b-202563bf7a9b}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x121dc5000 == 7 [pid = 990] [id = {e08142e0-e8e6-d84e-ae7b-8d0e2166ca9e}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x12246e800 == 6 [pid = 990] [id = {6c9ed5c2-47c8-694b-8e9a-bc0023c69b1c}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x125584000 == 5 [pid = 990] [id = {c6d4da93-bca4-4b42-b769-6b4203453d02}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x12669e800 == 4 [pid = 990] [id = {b9d30a1f-b7f4-0c45-9f9f-836740afa375}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x125598000 == 3 [pid = 990] [id = {337076b5-e940-4f4a-8777-e85bb0fada08}]
23:56:49     INFO - PID 987 | --DOMWINDOW == 31 (0x121df2800) [pid = 990] [serial = 36] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/MediaDevices-getUserMedia.https.html]
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/workspace/build/src/widget/cocoa/nsAppShell.mm, line 763
23:56:49     INFO - PID 987 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp, line 867
23:56:49     INFO - PID 987 | --DOMWINDOW == 5 (0x11b8c1000) [pid = 989] [serial = 5] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 4 (0x1144d5400) [pid = 989] [serial = 2] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!gThread', file /builds/worker/workspace/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
23:56:49     INFO - PID 987 | --DOMWINDOW == 3 (0x10bb3c800) [pid = 989] [serial = 1] [outer = 0x0] [url = moz-extension://a84cc3e5-59c6-2945-b7f8-5bd72069a370/_generated_background_page.html]
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | --DOMWINDOW == 2 (0x11b8dae00) [pid = 989] [serial = 4] [outer = 0x0] [url = moz-extension://9bf354a3-265e-c047-a3e1-e64b0007633e/_generated_background_page.html]
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 989, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | --DOCSHELL 0x1144a5800 == 1 [pid = 989] [id = {25cecaed-1fda-5942-8f53-d3188dd9f741}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x11c039000 == 0 [pid = 989] [id = {bec3545d-ccb8-4c49-9916-aa748f2fc0f7}]
23:56:49     INFO - PID 987 | --DOMWINDOW == 1 (0x11b8c1800) [pid = 989] [serial = 6] [outer = 0x0] [url = moz-extension://9bf354a3-265e-c047-a3e1-e64b0007633e/_generated_background_page.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 0 (0x1144cf400) [pid = 989] [serial = 3] [outer = 0x0] [url = moz-extension://a84cc3e5-59c6-2945-b7f8-5bd72069a370/_generated_background_page.html]
23:56:49     INFO - PID 987 | nsStringStats
23:56:49     INFO - PID 987 |  => mAllocCount:           9824
23:56:49     INFO - PID 987 |  => mReallocCount:            0
23:56:49     INFO - PID 987 |  => mFreeCount:            9824
23:56:49     INFO - PID 987 |  => mShareCount:           6954
23:56:49     INFO - PID 987 |  => mAdoptCount:            552
23:56:49     INFO - PID 987 |  => mAdoptFreeCount:        564
23:56:49     INFO - PID 987 |  => Process ID: 989, Thread ID: 140735208018688
23:56:49     INFO - PID 987 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/workspace/build/src/widget/cocoa/nsAppShell.mm, line 763
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp, line 867
23:56:49     INFO - PID 987 | [Child 991, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/workspace/build/src/widget/cocoa/nsAppShell.mm, line 763
23:56:49     INFO - PID 987 | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
23:56:49     INFO - PID 987 | [Child 991, Main Thread] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp, line 867
23:56:49     INFO - PID 987 | nsStringStats
23:56:49     INFO - PID 987 |  => mAllocCount:           6068
23:56:49     INFO - PID 987 |  => mReallocCount:            0
23:56:49     INFO - PID 987 |  => mFreeCount:            6068
23:56:49     INFO - PID 987 |  => mShareCount:           5697
23:56:49     INFO - PID 987 |  => mAdoptCount:            113
23:56:49     INFO - PID 987 |  => mAdoptFreeCount:        113
23:56:49     INFO - PID 987 |  => Process ID: 991, Thread ID: 140735208018688
23:56:49     INFO - PID 987 | --DOMWINDOW == 30 (0x125540400) [pid = 990] [serial = 20] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 29 (0x12553ec00) [pid = 990] [serial = 19] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 28 (0x1248ef800) [pid = 990] [serial = 17] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 27 (0x1248e9000) [pid = 990] [serial = 16] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 26 (0x12487ac00) [pid = 990] [serial = 14] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 25 (0x124879400) [pid = 990] [serial = 13] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 24 (0x1236dc400) [pid = 990] [serial = 10] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 23 (0x1236d8800) [pid = 990] [serial = 8] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 22 (0x121da9000) [pid = 990] [serial = 7] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 21 (0x121da6c00) [pid = 990] [serial = 4] [outer = 0x0] [url = http://web-platform.test:8000/testharness_runner.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 20 (0x11a9dc800) [pid = 990] [serial = 3] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 19 (0x11a9df400) [pid = 990] [serial = 2] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 18 (0x1248e4c00) [pid = 990] [serial = 40] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 17 (0x1236dc800) [pid = 990] [serial = 38] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 16 (0x121da8c00) [pid = 990] [serial = 37] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 15 (0x123755000) [pid = 990] [serial = 35] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 14 (0x123753000) [pid = 990] [serial = 34] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 13 (0x12663a800) [pid = 990] [serial = 32] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 12 (0x126638800) [pid = 990] [serial = 31] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 11 (0x126632400) [pid = 990] [serial = 29] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 10 (0x12662f400) [pid = 990] [serial = 28] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 9 (0x12554dc00) [pid = 990] [serial = 26] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 8 (0x12554cc00) [pid = 990] [serial = 25] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 7 (0x125546800) [pid = 990] [serial = 23] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | --DOMWINDOW == 6 (0x125544c00) [pid = 990] [serial = 22] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | [Parent 987, Main Thread] WARNING: NS_ENSURE_TRUE(mDB) failed: file /builds/worker/workspace/build/src/netwerk/cache/nsDiskCacheDeviceSQL.cpp, line 1422
23:56:49     INFO - PID 987 | [Parent 987, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /builds/worker/workspace/build/src/widget/cocoa/nsAppShell.mm, line 763
23:56:49     INFO - PID 987 | --DOMWINDOW == 5 (0x111f3c800) [pid = 990] [serial = 1] [outer = 0x0] [url = https://web-platform.test:8443/testharness_runner.html]
23:56:49     INFO - PID 987 | --DOCSHELL 0x1236bd000 == 2 [pid = 990] [id = {78e7fd27-4e9a-5c4f-a81f-1ede7255ef37}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x11a9a8800 == 1 [pid = 990] [id = {1a8670df-ae8c-e644-ac0f-73254b1819d6}]
23:56:49     INFO - PID 987 | --DOCSHELL 0x124667000 == 0 [pid = 990] [id = {6c574b1c-aa0b-ad49-ad86-f76b6b2c1984}]
23:56:49     INFO - PID 987 | --DOMWINDOW == 4 (0x111f41e00) [pid = 990] [serial = 39] [outer = 0x0] [url = https://web-platform.test:8443/mediacapture-streams/MediaStream-MediaElement-srcObject.https.html]
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | --DOMWINDOW == 3 (0x123667e00) [pid = 990] [serial = 9] [outer = 0x0] [url = about:newtab]
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | [Child 990, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:49     INFO - PID 987 | --DOMWINDOW == 2 (0x121daa800) [pid = 990] [serial = 5] [outer = 0x0] [url = https://web-platform.test:8443/testharness_runner.html]
23:56:49     INFO - PID 987 | --DOMWINDOW == 1 (0x1236e0000) [pid = 990] [serial = 11] [outer = 0x0] [url = about:newtab]
23:56:49     INFO - PID 987 | --DOMWINDOW == 0 (0x123750c00) [pid = 990] [serial = 41] [outer = 0x0] [url = about:blank]
23:56:49     INFO - PID 987 | nsStringStats
23:56:49     INFO - PID 987 |  => mAllocCount:          28351
23:56:49     INFO - PID 987 |  => mReallocCount:            0
23:56:49     INFO - PID 987 |  => mFreeCount:           28351
23:56:49     INFO - PID 987 |  => mShareCount:          28465
23:56:49     INFO - PID 987 |  => mAdoptCount:           1172
23:56:49     INFO - PID 987 |  => mAdoptFreeCount:       1228
23:56:49     INFO - PID 987 |  => Process ID: 990, Thread ID: 140735208018688
23:56:50     INFO - PID 987 | [Parent 987, Main Thread] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file /builds/worker/workspace/build/src/xpcom/threads/nsThread.cpp, line 867
23:56:50     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!gThread', file /builds/worker/workspace/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
23:56:50     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!gThread', file /builds/worker/workspace/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
23:56:50     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!gThread', file /builds/worker/workspace/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
23:56:50     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!gThread', file /builds/worker/workspace/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
23:56:50     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!gThread', file /builds/worker/workspace/build/src/xpcom/threads/nsTimerImpl.cpp, line 399
23:56:51     INFO - PID 987 | --DOMWINDOW == 14 (0x1241e3400) [pid = 987] [serial = 9] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | [Parent 987, Main Thread] WARNING: '!mMainThread', file /builds/worker/workspace/build/src/xpcom/threads/nsThreadManager.cpp, line 564
23:56:51     INFO - PID 987 | --DOMWINDOW == 13 (0x116726a00) [pid = 987] [serial = 3] [outer = 0x0] [url = chrome://browser/content/browser.xul]
23:56:51     INFO - PID 987 | --DOCSHELL 0x122d3b000 == 5 [pid = 987] [id = {5a2ad56c-8b24-4d45-a2ab-56b4ffa791fa}]
23:56:51     INFO - PID 987 | --DOCSHELL 0x1196f5000 == 4 [pid = 987] [id = {4a9a89ca-9686-6348-aa62-bd588da8c421}]
23:56:51     INFO - PID 987 | --DOMWINDOW == 12 (0x125613400) [pid = 987] [serial = 14] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | --DOMWINDOW == 11 (0x125612800) [pid = 987] [serial = 13] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | --DOCSHELL 0x126ce8000 == 3 [pid = 987] [id = {5c69504c-7248-b84b-88f3-66845c3ea987}]
23:56:51     INFO - PID 987 | --DOCSHELL 0x121cd0800 == 2 [pid = 987] [id = {cc99a9e9-3136-5d4c-a40f-58b3efc6cfb9}]
23:56:51     INFO - PID 987 | --DOMWINDOW == 10 (0x124723400) [pid = 987] [serial = 11] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | --DOMWINDOW == 9 (0x122d94000) [pid = 987] [serial = 5] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | --DOMWINDOW == 8 (0x1197f9800) [pid = 987] [serial = 2] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | --DOMWINDOW == 7 (0x11a0dc800) [pid = 987] [serial = 1] [outer = 0x0] [url = chrome://browser/content/hiddenWindow.xul]
23:56:51     INFO - PID 987 | --DOMWINDOW == 6 (0x1197f9400) [pid = 987] [serial = 8] [outer = 0x0] [url = chrome://extensions/content/dummy.xul]
23:56:51     INFO - PID 987 | --DOMWINDOW == 5 (0x122fe5c00) [pid = 987] [serial = 6] [outer = 0x0] [url = chrome://extensions/content/dummy.xul]
23:56:51     INFO - PID 987 | --DOMWINDOW == 4 (0x12561a000) [pid = 987] [serial = 15] [outer = 0x0] [url = chrome://extensions/content/dummy.xul]
23:56:51     INFO - PID 987 | --DOMWINDOW == 3 (0x1254e6e00) [pid = 987] [serial = 12] [outer = 0x0] [url = chrome://extensions/content/dummy.xul]
23:56:51     INFO - PID 987 | --DOMWINDOW == 2 (0x123411c00) [pid = 987] [serial = 7] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | --DOMWINDOW == 1 (0x12411c800) [pid = 987] [serial = 10] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | --DOCSHELL 0x122d27800 == 1 [pid = 987] [id = {75053192-5527-a945-bfc9-19ea49715fd8}]
23:56:51     INFO - PID 987 | --DOCSHELL 0x12429b000 == 0 [pid = 987] [id = {9e80ffb6-4539-4543-82a8-e0ad0abbedc5}]
23:56:51     INFO - PID 987 | --DOMWINDOW == 0 (0x11671d400) [pid = 987] [serial = 4] [outer = 0x0] [url = about:blank]
23:56:51     INFO - PID 987 | nsStringStats
23:56:51     INFO - PID 987 |  => mAllocCount:          96973
23:56:51     INFO - PID 987 |  => mReallocCount:            0
23:56:51     INFO - PID 987 |  => mFreeCount:           96973
23:56:51     INFO - PID 987 |  => mShareCount:          97345
23:56:51     INFO - PID 987 |  => mAdoptCount:           3254
23:56:51     INFO - PID 987 |  => mAdoptFreeCount:       3334
23:56:51     INFO - PID 987 |  => Process ID: 987, Thread ID: 140735208018688
23:56:51     INFO - Browser exited with return code 0
23:56:51  WARNING - u'runner_teardown': ()
23:56:51     INFO - Setting up ssl
23:56:51     INFO - certutil | 
23:56:51     INFO - certutil | 
23:56:51     INFO - certutil | 
23:56:51     INFO - Certificate Nickname                                         Trust Attributes
23:56:51     INFO -                                                              SSL,S/MIME,JAR/XPI
23:56:51     INFO - 
23:56:51     INFO - web-platform-tests                                           CT,, 
23:56:51     INFO - 
23:56:51     INFO - Application command: /Users/cltbld/tasks/task_1537852975/build/application/Firefox NightlyDebug.app/Contents/MacOS/firefox --marionette about:blank -foreground -profile /var/folders/wj/pz8jz0rn39q5jh_1g3t5c4lc00000w/T/tmpnQdIxx.mozrunner
23:56:51     INFO - Starting runner
23:56:53     INFO - PID 996 | [996, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/workspace/build/src/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 342
23:56:53     INFO - PID 996 | [996, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /builds/worker/workspace/build/src/extensions/cookie/nsPermissionManager.cpp, line 2932
23:56:53     INFO - PID 996 | ++DOCSHELL 0x11b6f4800 == 1 [pid = 996] [id = {b0ab34bf-f304-9447-97bb-6a006e36edaf}]
23:56:53     INFO - PID 996 | ++DOMWINDOW == 1 (0x11c407600) [pid = 996] [serial = 1] [outer = 0x0]
23:56:53     INFO - PID 996 | ++DOMWINDOW == 2 (0x11b7f9800) [pid = 996] [serial = 2] [outer = 0x11c407600]
23:56:53     INFO - PID 996 | [996, Main Thread] WARNING: 'mIndex >= Count()', file /builds/worker/workspace/build/src/xpcom/ds/nsStringEnumerator.cpp, line 240
23:56:53     INFO - PID 996 | ++DOCSHELL 0x123dcf000 == 2 [pid = 996] [id = {2d1c88f5-8400-5c48-a43d-c88513455e22}]
23:56:53     INFO - PID 996 | ++DOMWINDOW == 3 (0x11c19c800) [pid = 996] [serial = 3] [outer = 0x0]
23:56:53     INFO - PID 996 | ++DOMWINDOW == 4 (0x11c194400) [pid = 996] [serial = 4] [outer = 0x11c19c800]
23:56:53     INFO - PID 996 | ++DOCSHELL 0x124d23800 == 3 [pid = 996] [id = {72e35137-b79a-474a-8b25-26a0833e3051}]
23:56:53     INFO - PID 996 | ++DOMWINDOW == 5 (0x124da9e00) [pid = 996] [serial = 5] [outer = 0x0]
23:56:53     INFO - PID 996 | ++DOCSHELL 0x124d37000 == 4 [pid = 996] [id = {5f1e7914-8c56-1343-a0c7-2b1b92cf6d4b}]
23:56:53     INFO - PID 996 | ++DOMWINDOW == 6 (0x1250e4a00) [pid = 996] [serial = 6] [outer = 0x0]
23:56:53     INFO - PID 996 | ++DOMWINDOW == 7 (0x125512000) [pid = 996] [serial = 7] [outer = 0x1250e4a00]
23:56:53     INFO - PID 996 | ++DOMWINDOW == 8 (0x11b7f9400) [pid = 996] [serial = 8] [outer = 0x1250e4a00]
23:56:54     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Need TabChild to get the nativeWindow from!: file /builds/worker/workspace/build/src/widget/PuppetWidget.cpp, line 1187
23:56:54     INFO - PID 996 | ++DOCSHELL 0x126526800 == 5 [pid = 996] [id = {b699dc8d-2b99-1d4e-aa39-eaabf4e14e15}]
23:56:54     INFO - PID 996 | ++DOMWINDOW == 9 (0x1262e3600) [pid = 996] [serial = 9] [outer = 0x0]
23:56:54     INFO - PID 996 | ++DOMWINDOW == 10 (0x126211800) [pid = 996] [serial = 10] [outer = 0x1262e3600]
23:56:54     INFO - PID 996 | ++DOCSHELL 0x1192a8000 == 1 [pid = 998] [id = {f985868c-e426-5244-a429-488f2bc191b2}]
23:56:54     INFO - PID 996 | ++DOMWINDOW == 11 (0x126821c00) [pid = 996] [serial = 11] [outer = 0x124da9e00]
23:56:54     INFO - PID 996 | ++DOMWINDOW == 1 (0x11093c800) [pid = 998] [serial = 1] [outer = 0x0]
23:56:54     INFO - PID 996 | [Child 998, Main Thread] WARNING: Fallback to BasicLayerManager: file /builds/worker/workspace/build/src/dom/ipc/TabChild.cpp, line 2858
23:56:54     INFO - PID 996 | ++DOMWINDOW == 2 (0x1192d7400) [pid = 998] [serial = 2] [outer = 0x11093c800]
23:56:54     INFO - PID 996 | ++DOMWINDOW == 3 (0x1192d1400) [pid = 998] [serial = 3] [outer = 0x11093c800]
23:56:55     INFO - PID 996 | ++DOCSHELL 0x11b1a7800 == 1 [pid = 999] [id = {621812a8-f61e-a444-8ff2-a9ddd0abd086}]
23:56:55     INFO - PID 996 | ++DOMWINDOW == 1 (0x11273c800) [pid = 999] [serial = 1] [outer = 0x0]
23:56:55     INFO - PID 996 | ++DOMWINDOW == 2 (0x11b1de400) [pid = 999] [serial = 2] [outer = 0x11273c800]
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/worker/workspace/build/src/netwerk/protocol/res/SubstitutingProtocolHandler.cpp, line 342
23:56:55     INFO - PID 996 | ++DOMWINDOW == 3 (0x11b1dd400) [pid = 999] [serial = 3] [outer = 0x11273c800]
23:56:55     INFO - PID 996 | ++DOCSHELL 0x12778a800 == 6 [pid = 996] [id = {36b400a6-54b2-814e-9c22-5c27313c999d}]
23:56:55     INFO - PID 996 | ++DOMWINDOW == 12 (0x1262e4800) [pid = 996] [serial = 12] [outer = 0x0]
23:56:55     INFO - PID 996 | ++DOMWINDOW == 13 (0x127715400) [pid = 996] [serial = 13] [outer = 0x1262e4800]
23:56:55     INFO - PID 996 | ++DOMWINDOW == 14 (0x127716000) [pid = 996] [serial = 14] [outer = 0x1262e4800]
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Content used context-fill-opacity when not in a context element: file /builds/worker/workspace/build/src/layout/svg/nsSVGUtils.cpp, line 1640
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Content used context-fill-opacity when not in a context element: file /builds/worker/workspace/build/src/layout/svg/nsSVGUtils.cpp, line 1640
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Content used context-fill-opacity when not in a context element: file /builds/worker/workspace/build/src/layout/svg/nsSVGUtils.cpp, line 1640
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Content used context-fill-opacity when not in a context element: file /builds/worker/workspace/build/src/layout/svg/nsSVGUtils.cpp, line 1640
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Content used context-fill-opacity when not in a context element: file /builds/worker/workspace/build/src/layout/svg/nsSVGUtils.cpp, line 1640
23:56:55     INFO - PID 996 | ++DOMWINDOW == 15 (0x12771d000) [pid = 996] [serial = 15] [outer = 0x1262e4800]
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x805D0021: file /builds/worker/workspace/build/src/modules/libjar/nsJARChannel.cpp, line 1125
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Need TabChild to get the nativeWindow from!: file /builds/worker/workspace/build/src/widget/PuppetWidget.cpp, line 1187
23:56:55     INFO - PID 996 | ++DOCSHELL 0x120e30800 == 2 [pid = 998] [id = {e2fe324e-c889-3f45-bbef-9f2d5a1b7040}]
23:56:55     INFO - PID 996 | ++DOMWINDOW == 4 (0x1207dae00) [pid = 998] [serial = 4] [outer = 0x0]
23:56:55     INFO - PID 996 | [Child 998, Main Thread] WARNING: Fallback to BasicLayerManager: file /builds/worker/workspace/build/src/dom/ipc/TabChild.cpp, line 2858
23:56:55     INFO - PID 996 | ++DOMWINDOW == 5 (0x1207c3000) [pid = 998] [serial = 5] [outer = 0x1207dae00]
23:56:55     INFO - PID 996 | ++DOMWINDOW == 6 (0x1207c3800) [pid = 998] [serial = 6] [outer = 0x1207dae00]
23:56:55     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/workspace/build/src/parser/html/nsHtml5StreamParser.cpp, line 1024
23:56:56     INFO - PID 996 | [Parent 996, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x12772cb40 (http://mzl.la/1FuID0j).: file /builds/worker/workspace/build/src/storage/mozStoragePrivateHelpers.cpp, line 114
23:56:56     INFO - PID 996 | 1537858616789	Marionette	INFO	Listening on port 2828
23:56:57     INFO - PID 996 | [Child 999, Main Thread] WARNING: site security information will not be persisted: file /builds/worker/workspace/build/src/security/manager/ssl/nsSiteSecurityService.cpp, line 553
23:56:57     INFO - PID 996 | ++DOMWINDOW == 4 (0x1225a6400) [pid = 999] [serial = 4] [outer = 0x11273c800]
(In reply to Andreea Pavel [:apavel] from comment #1)
> This appeared when bug 1490874 was landed. 
> 
> https://treeherder.mozilla.org/#/jobs?repo=mozilla-
> inbound&selectedJob=201356904&searchStr=os,x,10.10,debug,web,platform,tests,
> with,e10s,test-macosx64%2Fdebug-web-platform-tests-e10s-10,w-
> e10s(wpt10)&tochange=b1fc8e9cb6010273e4d73b114d96f1f5271f3ceb&fromchange=3c99
> e9f9a6182a85cecf541be63188a435262ec6
> 
> 
> Christoph can you please provide some input here?

It's quite surprising to me that Bug 1490874 has an influence on this test. The only change we performed within Bug 1490874 is that same-origin policy violations are now logged to the 'Error' pane within the console and not to the general 'Logs' pane.

I ran test MediaStream-MediaElement-srcObject.https.html locally several times and it always passes which causes an UNEXPECTED-PASS and the intermittent on TRY. There are no logs whatsoever about same-origin policy violations.

I think it must be something else causing that intermittent. Maybe someone working on MediaStream Objects can take a look?
Flags: needinfo?(ckerschb)
Paul can you please take a look here?
Flags: needinfo?(padenot)
Why is this supposed to fail in the first place? jib, do you know what we're not implementing correctly?
Flags: needinfo?(padenot) → needinfo?(jib)
Assignee: nobody → jib
Flags: needinfo?(jib)
Priority: P5 → P2
My earlier analysis was flawed. The real regression here is bug 1492627 comment 4, not bug 1490874 comment 28, which landed at the same time (2018-09-25 09:42 +0000).

I've verified that prior to bug 1492627, MediaStream-MediaElement-srcObject.https.html fails with:

  assert_equals: A MediaStream does not have a pre-defined duration. expected Infinity but got NaN

Bug 1492627 updates the assert which seems to make it pass https://hg.mozilla.org/mozilla-central/rev/6de1ba153068#l2.38

I'll update the expectation file and see if it's intermittent.
Blocks: 1492627
A try run https://treeherder.mozilla.org/#/jobs?repo=try&revision=34b2eb39ccbb57e30fbc700f7861c43827166fb2&selectedJob=202706448
reveals another assertion is failing. Will retrigger it a few times to see if it's intermittent:

TEST-UNEXPECTED-FAIL | /mediacapture-streams/MediaStream-MediaElement-srcObject.https.html | Tests that a MediaStream can be assigned to a video element with srcObject - assert_equals: Upon selecting a media stream, the UA sets readyState to HAVE_ENOUGH_DATA expected 4 but got 1

Andreas or Bryce, any idea why this would happen? Is HAVE_ENOUGH_DATA guaranteed after a "timeupdate" event?
Flags: needinfo?(apehrson)
Flags: needinfo?(bvandyk)
Tbc, comment 9 I could observe locally (osx), whereas comment 10 I only see on try (passed fine locally).
(In reply to Jan-Ivar Bruaroey [:jib] (needinfo? me) from comment #10)
> A try run
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=34b2eb39ccbb57e30fbc700f7861c43827166fb2&selectedJob=2
> 02706448
> reveals another assertion is failing. Will retrigger it a few times to see
> if it's intermittent:
> 
> TEST-UNEXPECTED-FAIL |
> /mediacapture-streams/MediaStream-MediaElement-srcObject.https.html | Tests
> that a MediaStream can be assigned to a video element with srcObject -
> assert_equals: Upon selecting a media stream, the UA sets readyState to
> HAVE_ENOUGH_DATA expected 4 but got 1
> 
> Andreas or Bryce, any idea why this would happen? Is HAVE_ENOUGH_DATA
> guaranteed after a "timeupdate" event?

It certainly isn't. As an example of this see [1] in the spec. What is expected when playing a MediaStream is a bit more fuzzy as the spec was mainly written without MediaStreams in mind.

I would argue however that it is fine for a MediaStream to advance currentTime while the one video track in the stream does not see a new frame (this would keep readyState at HAVE_METADATA at best, possibly HAVE_NOTHING if dimensions are not known either).

The only event guaranteeing HAVE_ENOUGH_DATA is "canplaythrough". But probably this could be simplified to "loadeddata" when playing a MediaStream. [2]

See why we cannot advance beyond HAVE_METADATA until we have a frame in the HAVE_CURRENT_DATA definition. [3]
To make it harder to argue that the current position might not have a frame at all, CanvasRenderingContext2D::DrawImage assumes it does. [4]


[1] https://html.spec.whatwg.org/multipage/media.html#media-element-load-algorithm
[2] https://html.spec.whatwg.org/multipage/media.html#event-media-canplaythrough
[3] https://html.spec.whatwg.org/multipage/media.html#dom-media-have_current_data
[4] https://html.spec.whatwg.org/multipage/canvas.html#check-the-usability-of-the-image-argument
Flags: needinfo?(bvandyk)
Flags: needinfo?(apehrson)
So looking at Apple's changes here [1] I see multiple problems. Though some were present prior to the change they are still not by spec.

Let's dissect:
> -         assert_equals(vid.played.end(0), vid.currentTime, "A MediaStream's timeline always consists of a single range");
> +         assert_approx_equals(vid.played.end(0), vid.currentTime, 0.0001, "A MediaStream's timeline always consists of a single range");
It's unclear whether one can compare the end time of the last `played` range to `currentTime` as `played` [2] is based on the "current playback position" whereas `currentTime` is based on the "official playback position". We should file a spec issue for this and probably remove this check from the test. That there's a single range can be tested in other ways.

>           var time = vid.currentTime;
> +         assert_equals(vid.duration, Infinity, " A MediaStream does not have a pre-defined duration. ");
This one seems good.

> -         assert_throws("INVALID_STATE_ERR", function() {
> -            vid.currentTime = 0;
> -         });
> -         assert_equals(vid.currentTime, time, "The UA MUST ignore attempts to set the currentTime attribute");
> +
> +         assert_approx_equals(vid.currentTime, time, 0.0001, "The UA MUST ignore attempts to set the currentTime attribute");
Removing the `currentTime` setter doesn't make sense. This is now literally checking `assert_approx_equals(vid.currentTime, vid.currentTime, "The UA MUST ignore attempts to set the currentTime attribute");` which doesn't make sense.
We should restore the setter and remove the `_approx` part.

> -      assert_equals(vid.startDate, NaN, " A MediaStream does not specify a timeline offset");
`startDate` is now `getStartDate()` which we don't even implement so I don't really have an opinion about this. It does test a part of the spec however so I'm not clear over why it was removed.

> -      assert_equals(vid.duration, Infinity, " A MediaStream does not have a pre-defined duration. ");
> +      assert_equals(vid.duration, vid.readyState == vid.HAVE_NOTHING ? NaN : Infinity, " A MediaStream does not have a pre-defined duration. ");
`readyState` can just not be set to anything other than HAVE_NOTHING at this point (the resource fetch algorithm queues a task that sets the duration and other metadata, [3]) so the conditional should be removed. A conditional like this seems like a great way of concealing an intermittent too, so it should be avoided. They were right in that it should be Nan and not +inf though.


[1] https://github.com/web-platform-tests/wpt/pull/13084/files
[2] https://html.spec.whatwg.org/multipage/media.html#dom-media-played
[3] https://html.spec.whatwg.org/multipage/media.html#concept-media-load-resource
Rank: 19
Component: Audio/Video: MediaStreamGraph → Audio/Video: Playback
See Also: → 1495904
Attachment #9013901 - Attachment description: Bug 1493885 - Update MediaStream-MediaElement-srcObject.https.html.ini to spec, and bring back InvalidStateError test. r?pehrsons → Bug 1493885 - Update MediaStream-MediaElement-srcObject.https.html to spec, and bring back InvalidStateError test. r?pehrsons
Depends on: 1495904
See Also: 1495904
Attachment #9013901 - Attachment description: Bug 1493885 - Update MediaStream-MediaElement-srcObject.https.html to spec, and bring back InvalidStateError test. r?pehrsons → Bug 1493885 - Update MediaStream-MediaElement-srcObject.https.html to spec, and bring back test that currentTime changes must be ignored. r?pehrsons
Pushed by jbruaroey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/690011b57130
Update MediaStream-MediaElement-srcObject.https.html to spec, and bring back test that currentTime changes must be ignored. r=pehrsons
Pushed by jbruaroey@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/690cfe65a8c9
Rewrite MediaStream-MediaElement-srcObject.https.html to use async/await. r=pehrsons
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/13400 for changes under testing/web-platform/tests
https://hg.mozilla.org/mozilla-central/rev/690011b57130
https://hg.mozilla.org/mozilla-central/rev/690cfe65a8c9
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Upstream PR merged
Can't merge web-platform-tests PR due to failing upstream checks:
Github PR https://github.com/web-platform-tests/wpt/pull/13400
* Taskcluster (pull_request) (https://tools.taskcluster.net/task-group-inspector/#/YambgijCQ7SrSm0MTe_2Lg)
You need to log in before you can comment on or make changes to this bug.