blob: ab97ff5d088a984209d2e2256c671613732cf8b7 [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.currentTime = video.buffered.end(0) - 0.1)
RUN(video.play())
EVENT(stalled)
EXPECTED (internals.elementIsBlockingDisplaySleep(video) == 'false') OK
END OF TEST