blob: 3beee915bb45ad0a09f37de2b4a8f8a3c12f9bde [file] [log] [blame]
RUN(video.src = URL.createObjectURL(source))
EVENT(sourceopen)
RUN(source.duration = loader.duration())
RUN(sourceBuffer = source.addSourceBuffer(loader.type()))
RUN(sourceBuffer.appendBuffer(loader.initSegment()))
EVENT(update)
RUN(sourceBuffer.appendBuffer(loader.mediaSegment(0)))
EVENT(update)
RUN(video.play())
EXPECTED ((currentTime != initialCurrentTime && oldCurrentTime == currentTime) == 'true') OK
EXPECTED (internals.elementIsBlockingDisplaySleep(video) == 'false') OK
END OF TEST