W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

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

From: <bugzilla@jessica.w3.org>
Date: Fri, 15 Jul 2011 00:07:55 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QhVwh-0005FT-Vy@jessica.w3.org>

--- Comment #34 from Robert O'Callahan (Mozilla) <roc@ocallahan.org> 2011-07-15 00:07:55 UTC ---
(In reply to comment #32)
> What I need to know is what specific problems we're trying to fix. It's not at
> all clear to me.

The problem that when an event fires, there are no guarantees about what state
the element is actually in, so if Web authors assume that e.g. an event handler
for "loadedmetadata" means the readyState is HAVE_METADATA, they will usually
be right but sometimes be wrong. We should be able to make it so they're always
right or always wrong.

> Should we be pinning "new Date()" as well?

We can't for compatibility reasons (script timing etc), and anyway it's much
less of an issue since authors don't have expectations that Date() will have a
specific value when it's called in a specific context.

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, 15 July 2011 00:08:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:55 UTC