Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) Define 'completed loading' in terms of the fetching algorithm.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8190

git-svn-id: http://svn.whatwg.org/webapps@4379 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 25, 2009
1 parent 60d853b commit 0ab6d78
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions complete.html
Expand Up @@ -64630,12 +64630,13 @@ <h4 id=processing-model-4><span class=secno>10.2.3 </span>Processing model</h4>
the stream, the user agent must <a href=#announce-the-connection>announce the
connection</a>.</p>

<p>If such a resource (with the correct <a href=#mime-type>MIME type</a>)
completes loading (i.e. either the entire HTTP response body is
received, or the connection is closed somehow, whether by the server
or by a network error), the user agent must <a href=#reestablish-the-connection>reestablish the
connection</a>. This doesn't apply for the error cases that are
listed below.</p>
<p>The <a href=#concept-task title=concept-task>task</a> that the
<a href=#networking-task-source>networking task source</a> places on the <a href=#task-queue>task
queue</a> once the <a href=#fetch title=fetch>fetching algorithm</a>
for such a resource (with the correct <a href=#mime-type>MIME type</a>) has
completed must <a href=#reestablish-the-connection>reestablish the connection</a>. This applies
whether the connection is closed gracefully or unexpectedly. It
doesn't apply for the error conditions listed below.</p>

<p>HTTP 200 OK responses that have a <a href=#content-type>Content-Type</a> other
than <code><a href=#text/event-stream>text/event-stream</a></code> (or some other supported type)
Expand Down
13 changes: 7 additions & 6 deletions source
Expand Up @@ -73692,12 +73692,13 @@ interface <dfn>EventSource</dfn> {
the stream, the user agent must <span>announce the
connection</span>.</p>

<p>If such a resource (with the correct <span>MIME type</span>)
completes loading (i.e. either the entire HTTP response body is
received, or the connection is closed somehow, whether by the server
or by a network error), the user agent must <span>reestablish the
connection</span>. This doesn't apply for the error cases that are
listed below.</p>
<p>The <span title="concept-task">task</span> that the
<span>networking task source</span> places on the <span>task
queue</span> once the <span title="fetch">fetching algorithm</span>
for such a resource (with the correct <span>MIME type</span>) has
completed must <span>reestablish the connection</span>. This applies
whether the connection is closed gracefully or unexpectedly. It
doesn't apply for the error conditions listed below.</p>

<p>HTTP 200 OK responses that have a <span>Content-Type</span> other
than <code>text/event-stream</code> (or some other supported type)
Expand Down

0 comments on commit 0ab6d78

Please sign in to comment.