blob: 592a9af410325c8ea5b9cbe04b77ecbaa32e1a3c [file] [log] [blame]
EXPECTED (source.readyState == 'closed') OK
EVENT(sourceopen)
RUN(sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock"))
RUN(sourceBuffer.appendBuffer(initSegment))
EVENT(updateend)
RUN(sourceBuffer.appendBuffer(sample))
EVENT(updateend)
RUN(source.duration = 1)
RUN(source.endOfStream())
RUN(video.play())
EVENT(ended)
END OF TEST