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

spec/Overview.html 1.2048 2875 Make clear that EventSource objects don'

From: poot <cvsmail@w3.org>
Date: Fri, 27 Feb 2009 09:14:23 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090227001423.AD40B2BBFA@toro.w3.mag.keio.ac.jp>
Make clear that EventSource objects don't reconnect on failure. (whatwg
r2875)

fail the connection
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2048.html#fail-the-connection
reset the connection
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2048.html#reset-the-connection
remote event task source
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2048.html#remote-event-task-source

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2047&r2=1.2048&f=h
http://html5.org/tools/web-apps-tracker?from=2874&to=2875

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2047
retrieving revision 1.2048
diff -u -d -r1.2047 -r1.2048
--- Overview.html	26 Feb 2009 09:19:49 -0000	1.2047
+++ Overview.html	27 Feb 2009 00:10:44 -0000	1.2048
@@ -37273,11 +37273,14 @@
   <code title=event-error><a href=#event-error>error</a></code> at the
   <code><a href=#eventsource>EventSource</a></code> object, and then <a href=#fetch>fetch</a> the
   event source resource again after a delay equal to the reconnection
-  time of the event source.<p>When a user agent is to <dfn id=fail-the-connection>fail the connection</dfn>, the user
+  time of the event source. <strong>Only if the user agent <a href=#reset-the-connection title="reset the connection">resets the connection</a> does the
+  connection get opened anew!</strong><p>When a user agent is to <dfn id=fail-the-connection>fail the connection</dfn>, the user
   agent 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> and <a href=#queue-a-task>queue a
-  task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the
-  <code><a href=#eventsource>EventSource</a></code> object.</p><hr><p>The <a href=#task-source>task source</a> for any <a href=#concept-task title=concept-task>tasks</a> that are <a href=#queue-a-task title="queue a
+  task</a> to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-error><a href=#event-error>error</a></code> at the <code><a href=#eventsource>EventSource</a></code>
+  object. <strong>Once the user agent has <a href=#fail-the-connection title="fail the
+  connection">failed the connection</a>, it does <em>not</em>
+  attempt to reconnect!</strong></p><hr><p>The <a href=#task-source>task source</a> for any <a href=#concept-task title=concept-task>tasks</a> that are <a href=#queue-a-task title="queue a
   task">queued</a> by <code><a href=#eventsource>EventSource</a></code> objects is the
   <dfn id=remote-event-task-source>remote event task source</dfn>.<h4 id=parsing-an-event-stream><span class=secno>7.2.4 </span>Parsing an event stream</h4><p>This event stream format's MIME type is
   <code>text/event-stream</code>.<p>The event stream format is as described by the <code title="">stream</code> production of the following ABNF, the
Received on Friday, 27 February 2009 00:15:03 GMT

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