- From: poot <cvsmail@w3.org>
- Date: Thu, 2 Apr 2009 13:06:31 +0900 (JST)
- To: public-html-diffs@w3.org
Tighten up the definitions of event handler attributes. (bug 6490) (whatwg r2939) http://www.w3.org/Bugs/Public/show_bug.cgi?id=6490 onmessage http://people.w3.org/mike/diffs/html5/eventsource/Overview.1.13.html#handler-eventsource-onmessage Status of this document http://people.w3.org/mike/diffs/html5/eventsource/Overview.1.13.html#status-of-this-document reconnection time http://people.w3.org/mike/diffs/html5/eventsource/Overview.1.13.html#concept-event-stream-reconnection-time onopen http://people.w3.org/mike/diffs/html5/eventsource/Overview.1.13.html#handler-eventsource-onopen onerror http://people.w3.org/mike/diffs/html5/eventsource/Overview.1.13.html#handler-eventsource-onerror disconnect() http://people.w3.org/mike/diffs/html5/eventsource/Overview.1.13.html#dom-eventsource-disconnect Editor's Draft 31 March 2009 http://people.w3.org/mike/diffs/html5/eventsource/Overview.1.13.html#editor-s-draft-date-zzz-9-june-2008 http://people.w3.org/mike/diffs/html5/eventsource/Overview.diff.html http://dev.w3.org/cvsweb/html5/eventsource/Overview.html?r1=1.12&r2=1.13&f=h http://html5.org/tools/web-apps-tracker?from=2938&to=2939 =================================================================== RCS file: /sources/public/html5/eventsource/Overview.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- Overview.html 27 Mar 2009 01:09:23 -0000 1.12 +++ Overview.html 31 Mar 2009 23:44:41 -0000 1.13 @@ -145,7 +145,7 @@ </style><link href=http://www.w3.org/StyleSheets/TR/%57%33%43-ED rel=stylesheet type=text/css><!-- ZZZ ED vs WD --><div class=head> <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p> <h1>Server-Sent Events</h1> - <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->27 March 2009</h2> + <h2 class="no-num no-toc" id=editor-s-draft-date-zzz-9-june-2008><!-- "W3C Working Draft" --> Editor's Draft <!--ZZZ-->31 March 2009</h2> <dl><!-- ZZZ: update the month/day <dt>This Version:</dt> <dd><a href="http://www.w3.org/TR/2009/WD-eventsource-20090101/">http://www.w3.org/TR/2009/WD-eventsource-20090101/</a></dd> @@ -203,7 +203,7 @@ Working Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. <!--ZZZ:--> - This specification is the 27 March 2009 <!--ZZZ "Working Draft"-->Editor's Draft. + This specification is the 31 March 2009 <!--ZZZ "Working Draft"-->Editor's Draft. <!--:ZZZ--> </p><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href=http://www.w3.org/Consortium/Patent-Policy-20040205/>5 February 2004 W3C Patent Policy</a>. W3C maintains a <a href=http://www.w3.org/2004/01/pp-impl/42538/status rel=disclosure>public list of @@ -337,24 +337,13 @@ changes.<p>The <dfn id=dom-eventsource-disconnect title=dom-EventSource-disconnect><code>disconnect()</code></dfn> method must close the connection, if any, and must set the <code title=dom-EventSource-readyState><a href=#dom-eventsource-readystate>readyState</a></code> attribute to <code title=dom-EventSource-CLOSED><a href=#dom-eventsource-closed>CLOSED</a></code>. If the - connection is already closed, the method must do nothing.<p>The following are the <span>event handler attributes</span> that - must be supported, as DOM attributes, by all objects implementing - the <code><a href=#eventsource>EventSource</a></code> interface:<dl><dt><dfn id=handler-eventsource-onopen title=handler-EventSource-onopen><code>onopen</code></dfn></dt> - - <dd><p>Must be invoked whenever an <code title=event-open>open</code> event is targeted at or - bubbles through the <code><a href=#eventsource>EventSource</a></code> object.</dd> - - <dt><dfn id=handler-eventsource-onmessage title=handler-EventSource-onmessage><code>onmessage</code></dfn></dt> - - <dd><p>Must be invoked whenever a <code title=event-message>message</code> event is targeted at or - bubbles through the <code><a href=#eventsource>EventSource</a></code> object.</dd> - - <dt><dfn id=handler-eventsource-onerror title=handler-EventSource-onerror><code>onerror</code></dfn></dt> - - <dd><p>Must be invoked whenever an <code title=event-error>error</code> event is targeted at or - bubbles through the <code><a href=#eventsource>EventSource</a></code> object.</dd> - - </dl><hr><p>In addition to the above, each <code><a href=#eventsource>EventSource</a></code> object + connection is already closed, the method must do nothing.<p>The following are the <span>event handler attributes</span> (and their corresponding <span title="event handler event type">event handler event types</span>) + that must be supported, as DOM attributes, by all objects + implementing the <code><a href=#eventsource>EventSource</a></code> interface:<table><thead><tr><th><span title="event handler attributes">event handler attribute</span> <th><span>Event handler event type</span> + <tbody><tr><td><dfn id=handler-eventsource-onopen title=handler-EventSource-onopen><code>onopen</code></dfn> <td> <code title=event-open>open</code> + <tr><td><dfn id=handler-eventsource-onmessage title=handler-EventSource-onmessage><code>onmessage</code></dfn> <td> <code title=event-message>message</code> + <tr><td><dfn id=handler-eventsource-onerror title=handler-EventSource-onerror><code>onerror</code></dfn> <td> <code title=event-error>error</code> + </table><hr><p>In addition to the above, each <code><a href=#eventsource>EventSource</a></code> object has the following associated with it:<ul><li>A <dfn id=concept-event-stream-reconnection-time title=concept-event-stream-reconnection-time>reconnection time</dfn>, in milliseconds. This must initially be a user-agent-defined value, probably in the region of a few
Received on Thursday, 2 April 2009 04:07:08 UTC