[Bug 12175] <video> the order of the loadedmetadata, loadeddata and suspend event is not defined

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12175

--- Comment #5 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-06-03 00:42:03 UTC ---
Clarification:

In http://lists.w3.org/Archives/Public/public-html/2011Feb/0437.html you say
that "<video preload="metadata">" could result in any of these:

   slow network: loadstart, progress, loadedmetadata, loadeddata, suspend
   unlucky timing: loadstart, progress, loadedmetadata, suspend, loadeddata
   fast network: loadstart, progress, suspend, loadedmetadata, loadeddata

I understand how "slow network" could occur, but I don't understand how the
other two could occur. How could you ever get more data after you've suspended,
assuming you've not resumed? All these events use the same task source, and
'suspend' occurs after the network has been suspended, at which point there
can't be any more data to change the readyState.

I guess one could argue that the CPU might be really slow and thus decoding the
data could take substantially longer than it takes for the UA to give up and
suspend the network even though it doesn't know it has gotten the metadata yet;
is that what you mean?

(Please reopen the bug if you reply to the above, so that I see the reply.
Thanks.)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 3 June 2011 00:42:05 UTC