Closed Bug 1098200 Opened 10 years ago Closed 10 years ago

race conditions in SourceBuffer-abort*.html tests lead to intermittent unexpected InvalidStateError when both webm and mp4 are enabled

Categories

(Core :: Audio/Video, defect)

36 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: karlt, Assigned: karlt)

References

Details

SourceBuffer-abort.html SourceBuffer-abort-readState.html
SourceBuffer-abort-removed.html, and SourceBuffer-abort-updating.html run two subtests concurrently.  If both webm and
mp4 are supported, each test modifies the same video.src.  When the
value of overwritten before the test completes the MediaSource is no longer
open and mediaSource.addSourceBuffer(mime) fails with
JavaScript error: http://web-platform.test:8000/media-source/SourceBuffer-abort-updating.html, line 51: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable
which leads to one subtest TIMEOUT and ERROR for the parent test.

I need to see that this is fixed upstream, but for now we need to disable one subtest in each test to avoid the race conditions.
Status: NEW → RESOLVED
Closed: 10 years ago
Depends on: 1103906
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.