blob: 6c471fa06b3efba7b8c910e4530cdef477a524de [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 == '4') 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