device; hixie: Change .URL attributes to .url for all new interfaces. Blame Jonas. (whatwg r5065)

device; hixie: Change .URL attributes to .url for all new interfaces.
Blame Jonas. (whatwg r5065)

http://dev.w3.org/cvsweb/html5/html-device/Overview.html?r1=1.37&r2=1.38&f=h
http://html5.org/tools/web-apps-tracker?from=5064&to=5065

===================================================================
RCS file: /sources/public/html5/html-device/Overview.html,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- Overview.html 14 Apr 2010 20:00:39 -0000 1.37
+++ Overview.html 26 Apr 2010 23:19:54 -0000 1.38
@@ -285,7 +285,7 @@
    <h1>HTML Device</h1>
    <h2 class="no-num no-toc" id="an-addition-to-html">An addition to HTML</h2>
 
-   <h2 class="no-num no-toc" id="editor-s-draft-14-april-2010">Editor's Draft 14 April 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-26-april-2010">Editor's Draft 26 April 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html-device/">http://www.w3.org/TR/html-device/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -364,7 +364,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 14 April 2010 Editor's Draft.
+  This specification is the 26 April 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a
   larger specification</a> being produced by the <a href="http://www.whatwg.org/">WHATWG</a>.
   <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST -->
@@ -448,15 +448,15 @@
 &lt;video autoplay&gt;&lt;/video&gt;
 &lt;script&gt;
  function update(stream) {
-   document.getElementsByTagName('video')[0].src = stream.URL;
+   document.getElementsByTagName('video')[0].src = stream.url;
  }
 &lt;/script&gt;</pre>
 
   </div><h3 id="stream-api"><span class="secno">2.1 </span>Stream API</h3><p>The <code><a href="#stream">Stream</a></code> interface is used to represent
   streams.<pre class="idl">interface <dfn id="stream">Stream</dfn> {
-  readonly attribute DOMString <a href="#dom-stream-url" title="dom-stream-URL">URL</a>;
+  readonly attribute DOMString <a href="#dom-stream-url" title="dom-stream-url">url</a>;
   <a href="#streamrecorder">StreamRecorder</a> <a href="#dom-stream-record" title="dom-stream-record">record</a>();
-};</pre><p>The <dfn id="dom-stream-url" title="dom-stream-URL"><code>URL</code></dfn> attribute
+};</pre><p>The <dfn id="dom-stream-url" title="dom-stream-url"><code>url</code></dfn> attribute
   must return a <span title="fileURN">File URN</span> representing the
   stream. <a href="#refsFILEAPI">[FILEAPI]</a><p>For audio and video streams, the stream must be in a format
   supported by the user agent for use in <code>audio</code> and
@@ -546,7 +546,7 @@
     // receive video
     // (videoElement is some &lt;video&gt; element)
     if (local.remoteStreams.length &gt; 0)
-      videoElement.src = local.remoteStreams[0].URL;
+      videoElement.src = local.remoteStreams[0].url;
   };
 };</pre>

Received on Monday, 26 April 2010 23:20:52 UTC