This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html Multipage: http://www.whatwg.org/C#sourcing-in-band-text-tracks Complete: http://www.whatwg.org/c#sourcing-in-band-text-tracks Comment: <track> cancel pending events when loading new src Posted from: 83.218.67.122 by philipj@opera.com User agent: Opera/9.80 (X11; Linux x86_64; U; Edition Next; en) Presto/2.9.205 Version/12.00
Like <video>, <track> should maintain an event queue and cancel any pending events targeted at it when the src attribute is modified. Otherwise, the load/error event of one load could get fired after a second resource begins loading. This could happen with scripts that have only a single <track> element and switches tracks by modifying the src attribute.
Marking as blocker as this detail has rather non-trivial consequences for implementation.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: see diff given below Rationale: Concurred with reporter's comments.
Checked in as WHATWG revision r6732. Check-in comment: Fix a race condition between setting src and firing onload for <track>. http://html5.org/tools/web-apps-tracker?from=6731&to=6732