Clean up event dispatch, with a particular emphasis on whether events get canceled or not. (whatwg r2992)

Clean up event dispatch, with a particular emphasis on whether events
get canceled or not. (whatwg r2992)

When the Web Socket connection is closed, the readyState attribute's value must be changed to CLOSED (2), and the user agent must queue a task to fire a simple event called close at the WebSocket object.
http://people.w3.org/mike/diffs/html5/websockets/Overview.1.72.html#closeWebSocket
5 Feedback from the protocol
http://people.w3.org/mike/diffs/html5/websockets/Overview.1.72.html#feedback-from-the-protocol

http://people.w3.org/mike/diffs/html5/websockets/Overview.diff.html
http://dev.w3.org/cvsweb/html5/websockets/Overview.html?r1=1.71&r2=1.72&f=h
http://html5.org/tools/web-apps-tracker?from=2991&to=2992

===================================================================
RCS file: /sources/public/html5/websockets/Overview.html,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- Overview.html 26 Apr 2009 19:42:20 -0000 1.71
+++ Overview.html 26 Apr 2009 22:10:56 -0000 1.72
@@ -419,7 +419,7 @@
    </li>
 
   </ol><hr><p>When <i>a Web Socket message has been received</i> with text <var title="">data</var>, the user agent must create an event that uses
-  the <code>MessageEvent</code> interface, with the event name <code title="event-message">message</code>, which does not bubble, is
+  the <code>MessageEvent</code> interface, with the event name <code title="event-message">message</code>, which does not bubble, is not
   cancelable, has no default action, and whose <code title="dom-MessageEvent-data">data</code> attribute is set to <var title="">data</var>, and <span>queue a task</span> to dispatch it at
   the <code><a href="#websocket">WebSocket</a></code> object.<hr><p id="closeWebSocket">When the <i>Web Socket connection is
   closed</i>, the <code title="dom-WebSocket-readyState"><a href="#dom-websocket-readystate">readyState</a></code> attribute's value

Received on Sunday, 26 April 2009 22:11:59 UTC