[Bug 12556] Define how currentTime is updated in terms of tasks

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

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-04-26 09:03:59 UTC ---
This is a companion bug to http://www.w3.org/Bugs/Public/show_bug.cgi?id=12267

Exactly when currentTime is updates isn't very well defined. There are
basically two options:

* Let it reflect reality, which could make it be out of sync with what could be
deduced from readyState and buffered. currentTime may change while a script is
executing.

* Define how it is updated in terms of tasks, so that it is always consistent
with the other HTMLMediaElement state and is never changed while a script is
executing, except perhaps when a script seeks.

As evident from the title of this bug, I would advocate the second.

It would be very interesting to hear from the Firefox developers, since it
appears they have already done something along these lines.

-- 
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 Tuesday, 26 April 2011 09:04:01 UTC