[html5] r3365 - [] (0) Rename disconnect() to close() for consistency with the event names.
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jul 6 21:26:22 PDT 2009
Author: ianh
Date: 2009-07-06 21:26:21 -0700 (Mon, 06 Jul 2009)
New Revision: 3365
Modified:
source
Log:
[] (0) Rename disconnect() to close() for consistency with the event names.
Modified: source
===================================================================
--- source 2009-07-07 04:12:05 UTC (rev 3364)
+++ source 2009-07-07 04:26:21 UTC (rev 3365)
@@ -69316,7 +69316,7 @@
attribute <span>Function</span> <span title="handler-EventSource-onopen">onopen</span>;
attribute <span>Function</span> <span title="handler-EventSource-onmessage">onmessage</span>;
attribute <span>Function</span> <span title="handler-EventSource-onerror">onerror</span>;
- void <span title="dom-EventSource-disconnect">disconnect</span>();
+ void <span title="dom-EventSource-close">close</span>();
};</pre>
<p><code>EventSource</code> objects must also implement the
@@ -69389,7 +69389,7 @@
<dd>The connection is not open, and the user agent is not trying to
reconnect. Either there was a fatal error or the <code
- title="dom-EventSource-disconnect">disconnect()</code> method was
+ title="dom-EventSource-close">close()</code> method was
invoked.</dd>
</dl>
@@ -69401,7 +69401,7 @@
changes.</p>
<p>The <dfn
- title="dom-EventSource-disconnect"><code>disconnect()</code></dfn>
+ title="dom-EventSource-close"><code>close()</code></dfn>
method must close the connection, if any, and must set the <code
title="dom-EventSource-readyState">readyState</code> attribute to
<code title="dom-EventSource-CLOSED">CLOSED</code>. If the
@@ -69979,7 +69979,7 @@
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-send">send</span>(in DOMString data);
- void <span title="dom-WebSocket-disconnect">disconnect</span>();
+ void <span title="dom-WebSocket-close">close</span>();
};</pre>
<p><code>WebSocket</code> objects must also implement the
@@ -70121,7 +70121,7 @@
title="">data</var> using the Web Socket</span>.</p>
<p>The <dfn
- title="dom-WebSocket-disconnect"><code>disconnect()</code></dfn>
+ title="dom-WebSocket-close"><code>close()</code></dfn>
method must <span>close the Web Socket connection</span> or
connection attempt, if any. If the connection is already closed, it
must do nothing. Closing the connection causes a <code
More information about the Commit-Watchers
mailing list