[wpt-sync] Sync PR 28491 - MSE-in-Workers: Add tests of detach concurrent with appendBuffer
Categories
(Core :: Audio/Video: Playback, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28491 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28491
Details from upstream follow.
b'Matt Wolenetz <wolenetz@chromium.org>' wrote:
MSE-in-Workers: Add tests of detach concurrent with appendBuffer
To help find faults like those fixed in crbug 1195441, this change adds
a web test that is like the existing
mediasource-worker-play-terminate-worker case, though instead it
detaches the MediaSource from the element at various times before,
during and after the worker is buffering in small pieces. Further
refinement of the MediaSource readyState for the scenario where a
concurrent "closing has begun" causes exception on attempt to use the
closing MediaSource will be necessary to refine this new test further to
not ignore so many exceptions in the worker thread; TODOs are included
for that in the new test.BUG=1195441,878133
TEST=mediasource-worker-detach-element.html, confirmed locally in a
release build with DCHECKS enabled to reliably catch the issue in bug
1195441 (with that bug's fix locally reverted for this check).Change-Id: I3e041d7b06db96d3d976593f20181d073fad1da1
Reviewed-on: https://chromium-review.googlesource.com/2823974
WPT-Export-Revision: 87c3b917f2900486fd6c5fab0eff67ad6a5865d2
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 1 subtests
Status Summary
Firefox
OK : 4
PASS: 1
FAIL: 47
Chrome
OK : 4
PASS: 51
Safari
OK : 4
PASS: 1
FAIL: 47
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/media-source/dedicated-worker/mediasource-worker-detach-element.html
Test element detachment from worker MediaSource after at least 0 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 1 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 2 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 3 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 4 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 0 main thread setTimeouts, starting counting after receiving Started Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 1 main thread setTimeouts, starting counting after receiving Started Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 2 main thread setTimeouts, starting counting after receiving Started Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 3 main thread setTimeouts, starting counting after receiving Started Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 4 main thread setTimeouts, starting counting after receiving Started Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 0 main thread setTimeouts, starting counting after receiving Finished Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 1 main thread setTimeouts, starting counting after receiving Finished Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 2 main thread setTimeouts, starting counting after receiving Finished Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 3 main thread setTimeouts, starting counting after receiving Finished Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
Test element detachment from worker MediaSource after at least 4 main thread setTimeouts, starting counting after receiving Finished Buffering message from worker: FAIL (Chrome: PASS, Safari: FAIL)
/media-source/dedicated-worker/mediasource-worker-objecturl.html
Test main context revocation of DedicatedWorker MediaSource object URL: FAIL (Chrome: PASS, Safari: FAIL)
/media-source/dedicated-worker/mediasource-worker-play-terminate-worker.html
Test worker MediaSource termination after at least 0 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 1 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 2 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 3 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 4 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 5 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 6 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 7 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 8 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 9 main thread setTimeouts, starting counting before setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 0 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 1 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 2 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 3 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 4 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 5 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 6 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 7 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 8 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 9 main thread setTimeouts, starting counting after setting src: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 0 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 1 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 2 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 3 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 4 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 5 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 6 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 7 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 8 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
Test worker MediaSource termination after at least 9 main thread setTimeouts, starting counting after first ended event: FAIL (Chrome: PASS, Safari: FAIL)
/media-source/dedicated-worker/mediasource-worker-play.html
Test worker MediaSource construction, attachment, buffering and basic playback: FAIL (Chrome: PASS, Safari: FAIL)
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b867af74c9fc
https://hg.mozilla.org/mozilla-central/rev/77e5772ab85d
Description
•