Re: [html-tests] Test media element load algorithm sequence (#571)

Sorry, I assumed that emptied was already covered by one of the tests in html/semantics/embedded-content-0/media-elements/loading-the-media-resource/ but that has mostly resource selection tests so far.

If you can move the test and write it more in the style of the others, I will review it. Note that you don't need an actual video to get the media element into networkState != NETWORK_EMPTY, it's enough to just invoke the resource selection algorithm (e.g. by calling load()) to get it to NETWORK_NO_SOURCE, at which point you can call load() again and check for the emptied event.

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

Received on Monday, 27 January 2014 07:05:13 UTC