Re: [html-tests] Test for abort and emptied events in HTMLMediaElement.load() (#621)

Yes, this is a much cleaner and more concise test than the one I wrote. Nice to have a comparison :)
The only potential problem I see is that you are using a video element to test, but using get getAudioURI() to set src to an audio file ('/media/sound_5'), rather than using getVideoURI to set src to a video file ('/media/movie_300').
In general, I've found that browsers seem to have more trouble implementing working video elements than audio, which is why I wanted to try writing a test for video.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/621#issuecomment-35204458

Received on Sunday, 16 February 2014 17:41:01 UTC