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

Hi foolip,

Actually part of the test is whether or not networkState != NETWORK_EMPTY when an actual video IS the value of src and load() is called. If src is undefined when load() is called then the emptied event will not fire (it's not supposed to according to http://www.w3.org/TR/html5/embedded-content-0.html#media-element-load-algorithm). 

I've update the test so you can actually confirm this by simply setting v.src="" before running v.load() && t.step().

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

Received on Tuesday, 11 February 2014 05:39:40 UTC