websockets/Overview.html 1.11 2684 Bring the event handler attribute st

Bring the event handler attribute stuff in line with reality. Make
onerror='' and .onerror make sense and compatible with legacy content.
(whatwg r2684)

WebSocket
http://people.w3.org/mike/diffs/html5/websockets/Overview.1.11.html#websocket

http://people.w3.org/mike/diffs/html5/websockets/Overview.diff.html
http://dev.w3.org/cvsweb/html5/websockets/Overview.html?r1=1.10&r2=1.11&f=h
http://html5.org/tools/web-apps-tracker?from=2683&to=2684

===================================================================
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:10:47 UTC