Closed Bug 1705232 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 28491 - MSE-in-Workers: Add tests of detach concurrent with appendBuffer

Categories

(Core :: Audio/Video: Playback, task, P4)

task

Tracking

()

RESOLVED FIXED
90 Branch
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

Component: web-platform-tests → Audio/Video: Playback
Product: Testing → Core
PR 28491 applied with additional changes from upstream: 2c323f96ff452dfe3669fec690be90fa828d28e6

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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b867af74c9fc [wpt PR 28491] - MSE-in-Workers: Add tests of detach concurrent with appendBuffer, a=testonly https://hg.mozilla.org/integration/autoland/rev/77e5772ab85d [wpt PR 28491] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.