W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2009

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

From: poot <cvsmail@w3.org>
Date: Mon, 27 Apr 2009 07:11:21 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090426221121.B9AFB2BCAE@toro.w3.mag.keio.ac.jp>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:04 GMT