- From: poot <cvsmail@w3.org>
- Date: Fri, 05 Aug 2011 19:44:14 -0400
- To: public-html-diffs@w3.org
SSE; hixie: Move the Web to a world where things that implement EventTarget just inherit from it. I, for one, now welcome our new EventTarget overlords. (whatwg r6378) http://dev.w3.org/cvsweb/html5/eventsource/Overview.html?r1=1.187&r2=1.188&f=h http://html5.org/tools/web-apps-tracker?from=6377&to=6378 =================================================================== RCS file: /sources/public/html5/eventsource/Overview.html,v retrieving revision 1.187 retrieving revision 1.188 diff -u -d -r1.187 -r1.188 --- Overview.html 4 Aug 2011 21:54:09 -0000 1.187 +++ Overview.html 5 Aug 2011 23:44:05 -0000 1.188 @@ -213,7 +213,7 @@ <h1>Server-Sent Events</h1> - <h2 class="no-num no-toc" id="editor-s-draft-4-august-2011">Editor's Draft 4 August 2011</h2> + <h2 class="no-num no-toc" id="editor-s-draft-5-august-2011">Editor's Draft 5 August 2011</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/eventsource/">http://www.w3.org/TR/eventsource/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -321,7 +321,7 @@ </dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications Working Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 4 August 2011 Editor's Draft. + This specification is the 5 August 2011 Editor's Draft. </p><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 any patent disclosures</a> made in connection with the deliverables @@ -424,7 +424,7 @@ specifications. <a href="#refsDOMCORE">[DOMCORE]</a><p>An IDL attribute is said to be <em>getting</em> when its value is being retrieved (e.g. by author script), and is said to be <em>setting</em> when a new value is assigned to it.<h2 id="the-eventsource-interface"><span class="secno">4 </span>The <code><a href="#eventsource">EventSource</a></code> interface</h2><pre class="idl">[<a href="#dom-eventsource" title="dom-EventSource">Constructor</a>(in DOMString url)] -interface <dfn id="eventsource">EventSource</dfn> { +interface <dfn id="eventsource">EventSource</dfn> : <span>EventTarget</span> { readonly attribute DOMString <a href="#dom-eventsource-url" title="dom-EventSource-url">url</a>; // ready state @@ -438,8 +438,7 @@ attribute <span>Function</span>? <a href="#handler-eventsource-onmessage" title="handler-EventSource-onmessage">onmessage</a>; attribute <span>Function</span>? <a href="#handler-eventsource-onerror" title="handler-EventSource-onerror">onerror</a>; void <a href="#dom-eventsource-close" title="dom-EventSource-close">close</a>(); -}; -<a href="#eventsource">EventSource</a> implements <span>EventTarget</span>;</pre><p>The <dfn id="dom-eventsource" title="dom-EventSource"><code>EventSource(<var title="">url</var>)</code></dfn> constructor takes one argument, +};</pre><p>The <dfn id="dom-eventsource" title="dom-EventSource"><code>EventSource(<var title="">url</var>)</code></dfn> constructor takes one argument, <var title="">url</var>, which specifies the <span>URL</span> to which to connect. When the <code>EventSource()</code> constructor is invoked, the UA must run these steps:<ol><li><p><span title="resolve a url">Resolve</span> the
Received on Friday, 5 August 2011 23:44:16 UTC