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 | |