W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2010

[Bug 10421] Setting media element's src and autoplay attribute may expose a race

From: <bugzilla@jessica.w3.org>
Date: Tue, 07 Sep 2010 09:52:59 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OsurL-0004CK-Kl@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10421





--- Comment #1 from Simon Pieters <simonp@opera.com>  2010-09-07 09:52:58 ---
I think you might not have implemented the spec correctly.

[[
If a src attribute of a media element is set or changed, the user agent must
invoke the media element's media element load algorithm.
]]

The media element load algorithm invokes the resource selection algorithm,
which changes networkState to NETWORK_NO_SOURCE and then awaits a stable state,
which will let the script continue to run before the resource selection
algorithm continues (and thus before the resource retrieval is initiated and
readyState is changed).

-- 
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, 7 September 2010 09:53:01 UTC

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