HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
6010[Gecko] [Internet Explorer] [Opera] [Webkit] s/name/label/ since we call this kind of thing a label elsewhere2011-04-15 00:25
@@ -31191,21 +31191,21 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
   the video conferencing stuff -->
 
   <p>The <code>MultipleTrackList</code> and
   <code>ExclusiveTrackList</code> interfaces, used by the attributes
   defined in the previous section, are substantially similar. Their
   common features are defined in the <code>TrackList</code> interface,
   from which they both inherit.</p>
 
   <pre class="idl">interface <dfn>TrackList</dfn> {
   readonly attribute unsigned long <span title="dom-TrackList-length">length</span>;
-  DOMString <span title="dom-TrackList-getName">getName</span>(in unsigned long index);
+  DOMString <span title="dom-TrackList-getLabel">getLabel</span>(in unsigned long index);
   DOMString <span title="dom-TrackList-getLanguage">getLanguage</span>(in unsigned long index);
 
            attribute <span>Function</span> <span title="handler-TrackList-onchange">onchange</span>;
 };
 
 interface <dfn>MultipleTrackList</dfn> : <span>TrackList</span> {
   boolean <span title="dom-TrackList-isEnabled">isEnabled</span>(in unsigned long index);
   void <span title="dom-TrackList-enable">enable</span>(in unsigned long index);
   void <span title="dom-TrackList-disable">disable</span>(in unsigned long index);
 };
@@ -31218,25 +31218,25 @@ interface <dfn>ExclusiveTrackList</dfn> : <span>TrackList</span> {
   <dl class="domintro">
 
    <dt><var title="">tracks</var> . <code title="dom-TrackList-length">length</code></dt>
 
    <dd>
 
     <p>Returns the number of tracks in the list.</p>
 
    </dd>
 
-   <dt><var title="">name</var> = <var title="">tracks</var> . <code title="dom-TrackList-getName">getName</code>( <var title="">index</var> )</dt>
+   <dt><var title="">label</var> = <var title="">tracks</var> . <code title="dom-TrackList-getLabel">getLabel</code>( <var title="">index</var> )</dt>
 
    <dd>
 
-    <p>Returns the name of the given track, if known, or the empty string otherwise.</p>
+    <p>Returns the label of the given track, if known, or the empty string otherwise.</p>
 
    </dd>
 
    <dt><var title="">language</var> = <var title="">tracks</var> . <code title="dom-TrackList-getLanguage">getLanguage</code>( <var title="">index</var> )</dt>
 
    <dd>
 
     <p>Returns the language of the given track, if known, or the empty string otherwise.</p>
 
    </dd>
@@ -31290,26 +31290,26 @@ interface <dfn>ExclusiveTrackList</dfn> : <span>TrackList</span> {
   <code>TrackList</code> object at the time of getting.</p>
 
   <p>Tracks in a <code>TrackList</code> object must be consistently
   ordered. If the <span>media resource</span> is in a format that
   defines an order, then that order must be used; otherwise, the order
   must be the relative order in which the tracks are declared in the
   <span>media resource</span>. Each track in a <code>TrackList</code>
   thus has an index; the first has the index 0, and each subsequent
   track is numbered one higher than the previous one.</p>
 
-  <p>The <dfn title="dom-TrackList-getName"><code>getName(<var
-  title="">index</var>)</code></dfn> method must return the name of
+  <p>The <dfn title="dom-TrackList-getLabel"><code>getLabel(<var
+  title="">index</var>)</code></dfn> method must return the label of
   the track with index <var title="">index</var>, if there is one and
-  it has a name. If there is no such track, then the method must
+  it has a label. If there is no such track, then the method must
   instead throw an <code>INDEX_SIZE_ERR</code> exception. If there is
-  a track with index <var title="">index</var>, but it has no name,
+  a track with index <var title="">index</var>, but it has no label,
   then the method must return the empty string.</p>
 
   <p>The <dfn title="dom-TrackList-getLanguage"><code>getLanguage(<var
   title="">index</var>)</code></dfn> method must return the BCP 47
   language tag of the language of the track with index <var
   title="">index</var>, if there is one and it has a language. If
   there is no such track, then the method must instead throw an
   <code>INDEX_SIZE_ERR</code> exception. If there is a track with
   index <var title="">index</var>, but it has no language, or the user
   agent is not able to express that language as a BCP 47 language tag
@@ -83440,27 +83440,27 @@ interface <dfn>GeneratedStream</dfn> : <span>Stream</span> {
   title="dom-stream-videoTracks"><code>videoTracks</code></dfn>
   attribute of a <code>GeneratedStream</code> object must return a
   <span>live</span> <code>ExclusiveTrackList</code> object
   representing the video sources available to the
   <code>GeneratedStream</code>. The same object must be returned each
   time. The <code>GeneratedStream</code>'s output video track must be
   the selected video source, if any.</p>
 
   <p>User agents may label audio and video sources (e.g. "Internal
   microphone" or "External USB Webcam"), in which case the <code
-  title="dom-TrackList-getName">getName()</code> methods (on the
+  title="dom-TrackList-getLabel">getLabel()</code> methods (on the
   <code>MultipleTrackList</code> and <code>ExclusiveTrackList</code>
   objects) must use the labels the user agent has assigned as the
-  track names of the source tracks of the <code>GeneratedStream</code>
+  track labels of the source tracks of the <code>GeneratedStream</code>
   object. Otherwise, the <code
-  title="dom-TrackList-getName">getName()</code> methods must use the
-  empty string as the track names of the source tracks of the
+  title="dom-TrackList-getLabel">getLabel()</code> methods must use the
+  empty string as the track labels of the source tracks of the
   <code>GeneratedStream</code> object. The <code
   title="dom-TrackList-getLanguage">getLanguage()</code> methods must
   use the empty string as the track language for all the source tracks
   of the <code>GeneratedStream</code> object.</p>
 
   </div>
 
   <hr>
 
   <p>The following are the <span>event handlers</span> (and their

|