[Bug 12267] <video> Make video state transitions happen in the same task as firing events

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

--- Comment #31 from Robert O'Callahan (Mozilla) <roc@ocallahan.org> 2011-06-10 23:55:28 UTC ---
That is something we don't handle yet.

The best description of what we want is still comment #0, although it's not a
complete proposal. Do you want one? Normally we just give you an idea and you
run with it :-).

The way to address comment #5 would be to apply paragraph 4 of comment #0 so
that the task that fires loadstart is responsible for setting the networkState
to NETWORK_LOADING first, and the task that fires loadedmetadata sets the
readyState to HAVE_METADATA. This would guarantee that the code in comment #5
always throws an exception.

-- 
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, 10 June 2011 23:55:30 UTC