blob: 78a53ff5718733b2bc87f799fba6c5fd720f7da0 [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