haikuwebkit/LayoutTests/media/video-currentsrc-cleared-ex...

13 lines
239 B
Plaintext

Check that 'currentsrc' is cleared when there is no media resource.
EVENT(canplaythrough)
EXPECTED (video.currentSrc.indexOf("content/test") > '-1') OK
RUN(video.src = "")
EVENT(error)
EXPECTED (video.currentSrc == '') OK
END OF TEST