device; hixie: minor changes to ConnectionPeer to reflect some feedback on requirements (whatwg r5408)

device; hixie: minor changes to ConnectionPeer to reflect some feedback
on requirements (whatwg r5408)

http://dev.w3.org/cvsweb/html5/html-device/Overview.html?r1=1.55&r2=1.56&f=h
http://html5.org/tools/web-apps-tracker?from=5407&to=5408

===================================================================
RCS file: /sources/public/html5/html-device/Overview.html,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- Overview.html 18 Aug 2010 01:32:30 -0000 1.55
+++ Overview.html 1 Sep 2010 21:49:54 -0000 1.56
@@ -310,7 +310,7 @@
    <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
    <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-18-august-2010">Editor's Draft 18 August 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-1-september-2010">Editor's Draft 1 September 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>
@@ -397,7 +397,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 18 August 2010 Editor's Draft.
+  This specification is the 1 September 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 -->
@@ -509,7 +509,7 @@
   location in due course; it is here currently to keep it near the
   <code><a href="#devices">device</a></code> element to allow reviewers to look at it.<pre class="idl">[Constructor(in DOMString serverConfiguration)]
 interface <dfn id="connectionpeer">ConnectionPeer</dfn> {
-  void sendText(in DOMString text);
+  void sendText(in DOMString text, in optional boolean unimportant); // if second arg is true, then use unreliable low-latency transport (UDP-like), otherwise guarantee delivery (TCP-like)
   attribute <span>Function</span> ontext; // receiving
 
   void sendBitmap(in HTMLImageElement image);
@@ -524,8 +524,8 @@
   readonly attribute Stream[] remoteStreams;
   attribute <span>Function</span> onstream; // receiving
 
-  void <span title="dom-ConnectionPeer-getLocalConfiguration">getLocalConfiguration</span>(in <a href="#connectionpeerconfigurationcallback">ConnectionPeerConfigurationCallback</a> callback); // maybe this should be in the constructor
-  void <span title="dom-ConnectionPeer-addRemoteConfiguration">addRemoteConfiguration</span>(in DOMString configuration);
+  void <span title="dom-ConnectionPeer-getLocalConfiguration">getLocalConfiguration</span>(in <a href="#connectionpeerconfigurationcallback">ConnectionPeerConfigurationCallback</a> callback); // maybe this should be in the constructor, or be an event
+  void <span title="dom-ConnectionPeer-addRemoteConfiguration">addRemoteConfiguration</span>(in DOMString configuration, in optional DOMString remoteOrigin); // remote origin is assumed to be same-origin if not specified. If specified, has to match remote origin (checked in handshake). Should support leading "*." to mean "any subdomain of".
   void close(); // disconnects and stops listening
 
   attribute <span>Function</span> onconnect;

Received on Wednesday, 1 September 2010 21:50:40 UTC