From 39b1845409d252e2a0ff2372cbe73c4fbec31e6f Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Fri, 27 Feb 2009 00:10:39 +0000 Subject: [PATCH] [e] (0) Make clear that EventSource objects don't reconnect on failure. git-svn-id: http://svn.whatwg.org/webapps@2875 340c8d12-0b0e-0410-8428-c7bf67bfef74 --- index | 9 ++++++--- source | 10 +++++++--- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/index b/index index fcc50a89437..dae7d4eaf03 100644 --- a/index +++ b/index @@ -45846,13 +45846,16 @@ interface EventSource { error at the EventSource object, and then fetch the event source resource again after a delay equal to the reconnection - time of the event source.

+ time of the event source. Only if the user agent resets the connection does the + connection get opened anew!

When a user agent is to fail the connection, the user agent must set the readyState attribute to CLOSED and queue a - task to fire a simple event named error at the - EventSource object.

+ task to fire a simple event named error at the EventSource + object. Once the user agent has failed the connection, it does not + attempt to reconnect!


The task source for any tasks that are queued by EventSource objects is the diff --git a/source b/source index f6edaec5554..429009ba82d 100644 --- a/source +++ b/source @@ -52372,15 +52372,19 @@ interface EventSource { error at the EventSource object, and then fetch the event source resource again after a delay equal to the reconnection - time of the event source.

+ time of the event source. Only if the user agent resets the connection does the + connection get opened anew!

When a user agent is to fail the connection, the user agent must set the readyState attribute to CLOSED and queue a task to fire a simple event named error at the - EventSource object.

+ title="event-error">error at the EventSource + object. Once the user agent has failed the connection, it does not + attempt to reconnect!