blob: 0a2906e0942467cba044ab28e8309451e108c159 [file] [log] [blame]
Start playing a video with preloading enabled, do a seek near the end and check multiple buffered timeranges have been created.
EVENT(playing)
EXPECTED (video.buffered.length == '1') OK
RUN(video.currentTime = video.duration - 0.5)
EVENT(ended)
EXPECTED (video.buffered.length == '2') OK
END OF TEST