blob: 7c8dcdb7d8971616193958a3c504ab6e4c9d1eaf [file] [log] [blame]
Test that the media element is in correct state after load fails.
EXPECTED (video.error == 'null') OK
EVENT(error)
EXPECTED (video.error != 'null') OK
EXPECTED (video.error.code == '4') OK
EXPECTED (video.networkState == '3') OK
EXPECTED (isNaN(video.duration) == 'true') OK
EXPECTED (video.currentTime == '0') OK
EXPECTED (video.buffered.length == '0') OK
EXPECTED (video.seekable.length == '0') OK
EXPECTED (video.buffered.length == '0') OK
END OF TEST