blob: 49b34d4c06da96c7614f903f1cf7b440b017e7a0 [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(concatArrayBuffers(loader.initSegment(), new ArrayBuffer(512))))
EVENT(error)
END OF TEST