[MSE] Implement Append Error algorithm.
[WebKit-https.git] / LayoutTests / media / media-source / media-source-multiple-initialization-segments-expected.txt
1
2 RUN(video.src = URL.createObjectURL(source))
3 EVENT(sourceopen)
4 RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock"))
5 RUN(sourceBuffer.appendBuffer(initSegment))
6 EVENT(updateend)
7 Test that a replacement initialization segment containing a track with the same codec but a different trackID succeeds.
8 RUN(sourceBuffer.appendBuffer(initSegment))
9 EVENT(updateend)
10 Test that a replacement initialization segment containing a track with a different codec but the same trackID fails.
11 RUN(sourceBuffer.appendBuffer(initSegment))
12 EVENT(error)
13 EVENT(updateend)
14 EVENT(sourceended)
15 END OF TEST
16