blob: 2a4e3a3ed9e99d6c287cbc5d30b5872ff8e988ad [file] [log] [blame]
RUN(video.src = URL.createObjectURL(source))
EVENT(sourceopen)
RUN(source.duration = loader.duration())
RUN(sourceBuffer = source.addSourceBuffer(loader.type()))
RUN(sourceBuffer2 = source.addSourceBuffer(loader.type()))
Append an invalid media segment; should not crash.
RUN(sourceBuffer.appendBuffer(loader.concatenateMediaSegments([loader.initSegment(), new ArrayBuffer(512)])))
EVENT(error)
END OF TEST