[html5] r5408 - [] (0) minor changes to ConnectionPeer to reflect some feedback on requirements

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 1 14:49:51 PDT 2010


Author: ianh
Date: 2010-09-01 14:49:50 -0700 (Wed, 01 Sep 2010)
New Revision: 5408

Modified:
   complete.html
   index
   source
Log:
[] (0) minor changes to ConnectionPeer to reflect some feedback on requirements

Modified: complete.html
===================================================================
--- complete.html	2010-08-31 01:59:49 UTC (rev 5407)
+++ complete.html	2010-09-01 21:49:50 UTC (rev 5408)
@@ -209,7 +209,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 31 August 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 1 September 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -50849,7 +50849,7 @@
 
   <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 <a href=#function>Function</a> ontext; // receiving
 
   void sendBitmap(in HTMLImageElement image);
@@ -50864,8 +50864,8 @@
   readonly attribute Stream[] remoteStreams;
   attribute <a href=#function>Function</a> 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 <a href=#function>Function</a> onconnect;

Modified: index
===================================================================
--- index	2010-08-31 01:59:49 UTC (rev 5407)
+++ index	2010-09-01 21:49:50 UTC (rev 5408)
@@ -213,7 +213,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 31 August 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 1 September 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -50774,7 +50774,7 @@
 
   <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 <a href=#function>Function</a> ontext; // receiving
 
   void sendBitmap(in HTMLImageElement image);
@@ -50789,8 +50789,8 @@
   readonly attribute Stream[] remoteStreams;
   attribute <a href=#function>Function</a> 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 <a href=#function>Function</a> onconnect;

Modified: source
===================================================================
--- source	2010-08-31 01:59:49 UTC (rev 5407)
+++ source	2010-09-01 21:49:50 UTC (rev 5408)
@@ -56837,7 +56837,7 @@
 
   <pre class="idl">[Constructor(in DOMString serverConfiguration)]
 interface <dfn>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);
@@ -56852,8 +56852,8 @@
   readonly attribute Stream[] remoteStreams;
   attribute <span>Function</span> onstream; // receiving
 
-  void <span title="dom-ConnectionPeer-getLocalConfiguration">getLocalConfiguration</span>(in <span>ConnectionPeerConfigurationCallback</span> 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 <span>ConnectionPeerConfigurationCallback</span> 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;




More information about the Commit-Watchers mailing list