[html5] r6010 - [giow] (0) s/name/label/ since we call this kind of thing a label elsewhere

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 14 17:25:16 PDT 2011


Author: ianh
Date: 2011-04-14 17:25:14 -0700 (Thu, 14 Apr 2011)
New Revision: 6010

Modified:
   complete.html
   index
   source
Log:
[giow] (0) s/name/label/ since we call this kind of thing a label elsewhere

Modified: complete.html
===================================================================
--- complete.html	2011-04-15 00:03:52 UTC (rev 6009)
+++ complete.html	2011-04-15 00:25:14 UTC (rev 6010)
@@ -28624,7 +28624,7 @@
 
   <pre class=idl>interface <dfn id=tracklist>TrackList</dfn> {
   readonly attribute unsigned long <a href=#dom-tracklist-length title=dom-TrackList-length>length</a>;
-  DOMString <a href=#dom-tracklist-getname title=dom-TrackList-getName>getName</a>(in unsigned long index);
+  DOMString <a href=#dom-tracklist-getlabel title=dom-TrackList-getLabel>getLabel</a>(in unsigned long index);
   DOMString <a href=#dom-tracklist-getlanguage title=dom-TrackList-getLanguage>getLanguage</a>(in unsigned long index);
 
            attribute <a href=#function>Function</a> <a href=#handler-tracklist-onchange title=handler-TrackList-onchange>onchange</a>;
@@ -28649,11 +28649,11 @@
 
    </dd>
 
-   <dt><var title="">name</var> = <var title="">tracks</var> . <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName</a></code>( <var title="">index</var> )</dt>
+   <dt><var title="">label</var> = <var title="">tracks</var> . <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel</a></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>
 
@@ -28719,11 +28719,11 @@
   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 id=dom-tracklist-getname title=dom-TrackList-getName><code>getName(<var title="">index</var>)</code></dfn> method must return the name of
+  <p>The <dfn id=dom-tracklist-getlabel 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><a href=#index_size_err>INDEX_SIZE_ERR</a></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 id=dom-tracklist-getlanguage title=dom-TrackList-getLanguage><code>getLanguage(<var title="">index</var>)</code></dfn> method must return the BCP 47
@@ -73058,12 +73058,12 @@
   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><a href=#dom-tracklist-getname>getName()</a></code> methods (on the
+  microphone" or "External USB Webcam"), in which case the <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel()</a></code> methods (on the
   <code><a href=#multipletracklist>MultipleTrackList</a></code> and <code><a href=#exclusivetracklist>ExclusiveTrackList</a></code>
   objects) must use the labels the user agent has assigned as the
-  track names of the source tracks of the <code><a href=#generatedstream>GeneratedStream</a></code>
-  object. Otherwise, the <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName()</a></code> methods must use the
-  empty string as the track names of the source tracks of the
+  track labels of the source tracks of the <code><a href=#generatedstream>GeneratedStream</a></code>
+  object. Otherwise, the <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel()</a></code> methods must use the
+  empty string as the track labels of the source tracks of the
   <code><a href=#generatedstream>GeneratedStream</a></code> object. The <code title=dom-TrackList-getLanguage><a href=#dom-tracklist-getlanguage>getLanguage()</a></code> methods must
   use the empty string as the track language for all the source tracks
   of the <code><a href=#generatedstream>GeneratedStream</a></code> object.</p>

Modified: index
===================================================================
--- index	2011-04-15 00:03:52 UTC (rev 6009)
+++ index	2011-04-15 00:25:14 UTC (rev 6010)
@@ -28636,7 +28636,7 @@
 
   <pre class=idl>interface <dfn id=tracklist>TrackList</dfn> {
   readonly attribute unsigned long <a href=#dom-tracklist-length title=dom-TrackList-length>length</a>;
-  DOMString <a href=#dom-tracklist-getname title=dom-TrackList-getName>getName</a>(in unsigned long index);
+  DOMString <a href=#dom-tracklist-getlabel title=dom-TrackList-getLabel>getLabel</a>(in unsigned long index);
   DOMString <a href=#dom-tracklist-getlanguage title=dom-TrackList-getLanguage>getLanguage</a>(in unsigned long index);
 
            attribute <a href=#function>Function</a> <a href=#handler-tracklist-onchange title=handler-TrackList-onchange>onchange</a>;
@@ -28661,11 +28661,11 @@
 
    </dd>
 
-   <dt><var title="">name</var> = <var title="">tracks</var> . <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName</a></code>( <var title="">index</var> )</dt>
+   <dt><var title="">label</var> = <var title="">tracks</var> . <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel</a></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>
 
@@ -28731,11 +28731,11 @@
   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 id=dom-tracklist-getname title=dom-TrackList-getName><code>getName(<var title="">index</var>)</code></dfn> method must return the name of
+  <p>The <dfn id=dom-tracklist-getlabel 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><a href=#index_size_err>INDEX_SIZE_ERR</a></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 id=dom-tracklist-getlanguage title=dom-TrackList-getLanguage><code>getLanguage(<var title="">index</var>)</code></dfn> method must return the BCP 47
@@ -73096,12 +73096,12 @@
   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><a href=#dom-tracklist-getname>getName()</a></code> methods (on the
+  microphone" or "External USB Webcam"), in which case the <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel()</a></code> methods (on the
   <code><a href=#multipletracklist>MultipleTrackList</a></code> and <code><a href=#exclusivetracklist>ExclusiveTrackList</a></code>
   objects) must use the labels the user agent has assigned as the
-  track names of the source tracks of the <code><a href=#generatedstream>GeneratedStream</a></code>
-  object. Otherwise, the <code title=dom-TrackList-getName><a href=#dom-tracklist-getname>getName()</a></code> methods must use the
-  empty string as the track names of the source tracks of the
+  track labels of the source tracks of the <code><a href=#generatedstream>GeneratedStream</a></code>
+  object. Otherwise, the <code title=dom-TrackList-getLabel><a href=#dom-tracklist-getlabel>getLabel()</a></code> methods must use the
+  empty string as the track labels of the source tracks of the
   <code><a href=#generatedstream>GeneratedStream</a></code> object. The <code title=dom-TrackList-getLanguage><a href=#dom-tracklist-getlanguage>getLanguage()</a></code> methods must
   use the empty string as the track language for all the source tracks
   of the <code><a href=#generatedstream>GeneratedStream</a></code> object.</p>

Modified: source
===================================================================
--- source	2011-04-15 00:03:52 UTC (rev 6009)
+++ source	2011-04-15 00:25:14 UTC (rev 6010)
@@ -31198,7 +31198,7 @@
 
   <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>;
@@ -31225,11 +31225,11 @@
 
    </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>
 
@@ -31297,12 +31297,12 @@
   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
@@ -83447,13 +83447,13 @@
 
   <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




More information about the Commit-Watchers mailing list