W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2009

html5/websockets Overview.html,1.10,1.11

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 21 Jan 2009 09:09:33 +0000
To: public-html-commits@w3.org
Message-Id: <E1LPZ5Z-0003w6-VY@lionel-hutz.w3.org>

Update of /sources/public/html5/websockets
In directory hutz:/tmp/cvs-serv15116

Modified Files:
	Overview.html 
Log Message:
Bring the event handler attribute stuff in line with reality. Make onerror='' and .onerror make sense and compatible with legacy content. (whatwg r2684)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/websockets/Overview.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Overview.html	21 Jan 2009 00:15:12 -0000	1.10
+++ Overview.html	21 Jan 2009 09:09:31 -0000	1.11
@@ -168,9 +168,9 @@
   readonly attribute long <a href=#dom-websocket-readystate title=dom-WebSocket-readyState>readyState</a>;
 
   // networking
-           attribute EventListener <a href=#handler-websocket-onopen title=handler-WebSocket-onopen>onopen</a>;
-           attribute EventListener <a href=#handler-websocket-onmessage title=handler-WebSocket-onmessage>onmessage</a>;
-           attribute EventListener <a href=#handler-websocket-onclosed title=handler-WebSocket-onclosed>onclosed</a>;
+           attribute <span>Function</span> <a href=#handler-websocket-onopen title=handler-WebSocket-onopen>onopen</a>;
+           attribute <span>Function</span> <a href=#handler-websocket-onmessage title=handler-WebSocket-onmessage>onmessage</a>;
+           attribute <span>Function</span> <a href=#handler-websocket-onclosed title=handler-WebSocket-onclosed>onclosed</a>;
   void <a href=#dom-websocket-postmessage title=dom-WebSocket-postMessage>postMessage</a>(in DOMString data);
   void <a href=#dom-websocket-disconnect title=dom-WebSocket-disconnect>disconnect</a>();
 };</pre><p><code><a href=#websocket>WebSocket</a></code> objects must also implement the
Received on Wednesday, 21 January 2009 09:09:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 January 2009 09:09:42 GMT