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 16135 - <track> "When an object is returned, the same object must be returned each time." - allow it to be either cached or GCed, just like with e.g. getElementsByTagName
Summary: <track> "When an object is returned, the same object must be returned each ti...
Status: RESOLVED WONTFIX
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-02-27 13:54 UTC by contributor
Modified: 2012-07-18 18:42 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-02-27 13:54:47 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#dom-texttrack-cues
Complete: http://www.whatwg.org/c#dom-texttrack-cues

Comment:
<track> "When an object is returned, the same object must be returned each
time." - allow it to be either cached or GCed, just like with e.g.
getElementsByTagName

Posted from: 85.227.157.105 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.61
Comment 1 Ian 'Hixie' Hickson 2012-04-25 18:59:25 UTC
Why? The getElementsByTagName() thing is only because there's a potentially infinite number of them, so it's impractical to remember them all.
Comment 2 Simon Pieters 2012-04-25 19:25:18 UTC
Same reason, really.
Comment 3 Ian 'Hixie' Hickson 2012-06-27 21:24:15 UTC
There's only one possible object from each <track> element's "cues" attribute. Same with "activeCues". So comment 2 makes no sense IMHO.