This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 16602 - <track> Please swap steps 2 and 3 of addCue()
Summary: <track> Please swap steps 2 and 3 of addCue()
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-02 12:56 UTC by contributor
Modified: 2012-07-18 18:42 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-04-02 12:56:05 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#dom-texttrack-addcue
Complete: http://www.whatwg.org/c#dom-texttrack-addcue

Comment:
Please swap steps 2 and 3. I was hunting through the spec to find a case where
step 2 would have an effect and step 3 would throw. It appears it can never
happen. It would be clearer to have all steps that throw up front and steps
with side effects afterwards.

Posted from: 88.131.66.80 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.2; U; en) Presto/2.10.229 Version/11.62
Comment 1 contributor 2012-04-25 20:39:51 UTC
Checked in as WHATWG revision r7070.
Check-in comment: clarify that this step has no side-effect if the cue is lost
http://html5.org/tools/web-apps-tracker?from=7069&to=7070