[html5] r3361 - [] (0) Rename WebSocket.postMessage() to WebSocket.send().
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jul 6 20:47:32 PDT 2009
Author: ianh
Date: 2009-07-06 20:47:30 -0700 (Mon, 06 Jul 2009)
New Revision: 3361
Modified:
index
source
Log:
[] (0) Rename WebSocket.postMessage() to WebSocket.send().
Modified: index
===================================================================
--- index 2009-07-07 01:40:29 UTC (rev 3360)
+++ index 2009-07-07 03:47:30 UTC (rev 3361)
@@ -72163,6 +72163,7 @@
James Justin Harrell,
James M Snell,
James Perrett,
+ James Robinson,
Jan-Klaas Kollhof,
Jason Kersey,
Jason Lustig,
Modified: source
===================================================================
--- source 2009-07-07 01:40:29 UTC (rev 3360)
+++ source 2009-07-07 03:47:30 UTC (rev 3361)
@@ -69978,7 +69978,7 @@
attribute <span>Function</span> <span title="handler-WebSocket-onopen">onopen</span>;
attribute <span>Function</span> <span title="handler-WebSocket-onmessage">onmessage</span>;
attribute <span>Function</span> <span title="handler-WebSocket-onclose">onclose</span>;
- void <span title="dom-WebSocket-postMessage">postMessage</span>(in DOMString data);
+ void <span title="dom-WebSocket-send">send</span>(in DOMString data);
void <span title="dom-WebSocket-disconnect">disconnect</span>();
};</pre>
@@ -70096,7 +70096,7 @@
steps executed when the constructor is invoked change this
attribute's value.</p>
- <p>The <dfn title="dom-WebSocket-postMessage"><code>postMessage(<var
+ <p>The <dfn title="dom-WebSocket-send"><code>send(<var
title="">data</var>)</code></dfn> method transmits data using the
connection. If the connection is not established (<code
title="dom-WebSocket-readyState">readyState</code> is not <code
@@ -70919,8 +70919,8 @@
<!-- v2: People often request the ability to send binary blobs over
this API; we should also look into allowing name/value pairs,
- arrays, and numbers using postMessage() instead of just strings and
- binary data. -->
+ arrays, and numbers using send() instead of just strings and binary
+ data. -->
<h6>Handling errors in UTF-8</h6>
@@ -85111,6 +85111,7 @@
James Justin Harrell,
James M Snell,
James Perrett,
+ James Robinson,
Jan-Klaas Kollhof,
Jason Kersey,
Jason Lustig,
More information about the Commit-Watchers
mailing list