hixie: Rename disconnect() to close() for consistency with the event names. (whatwg r3365)

hixie: Rename disconnect() to close() for consistency with the event
names. (whatwg r3365)

http://dev.w3.org/cvsweb/html5/websockets/Overview.html?r1=1.84&r2=1.85&f=h
http://html5.org/tools/web-apps-tracker?from=3364&to=3365

===================================================================
RCS file: /sources/public/html5/websockets/Overview.html,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- Overview.html 7 Jul 2009 04:12:08 -0000 1.84
+++ Overview.html 7 Jul 2009 04:26:28 -0000 1.85
@@ -336,7 +336,7 @@
            attribute <span>Function</span> <a href="#handler-websocket-onmessage" title="handler-WebSocket-onmessage">onmessage</a>;
            attribute <span>Function</span> <a href="#handler-websocket-onclose" title="handler-WebSocket-onclose">onclose</a>;
   void <a href="#dom-websocket-send" title="dom-WebSocket-send">send</a>(in DOMString data);
-  void <a href="#dom-websocket-disconnect" title="dom-WebSocket-disconnect">disconnect</a>();
+  void <a href="#dom-websocket-close" title="dom-WebSocket-close">close</a>();
 };</pre><p><code><a href="#websocket">WebSocket</a></code> objects must also implement the
   <code>EventTarget</code> interface. <a href="#references">[DOM3EVENTS]</a>
 
@@ -430,7 +430,7 @@
   closed, however.) If the <var title="">data</var> argument has any
   unpaired surrogates, then it must raise <code>SYNTAX_ERR</code>. If
   the connection <em>is</em> established, and the string has no
-  unpaired surrogates, then the user agent must <span>send <var title="">data</var> using the Web Socket</span>.<p>The <dfn id="dom-websocket-disconnect" title="dom-WebSocket-disconnect"><code>disconnect()</code></dfn>
+  unpaired surrogates, then the user agent must <span>send <var title="">data</var> using the Web Socket</span>.<p>The <dfn id="dom-websocket-close" 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 title="event-close">close</code> event to be fired and

Received on Tuesday, 7 July 2009 04:27:21 UTC