- From: poot <cvsmail@w3.org>
- Date: Wed, 13 Apr 2011 18:14:22 -0400
- To: public-html-diffs@w3.org
websocket; hixie: pipeline update (whatwg r6003) http://dev.w3.org/cvsweb/html5/websockets/Overview.html?r1=1.204&r2=1.205&f=h http://html5.org/tools/web-apps-tracker?from=6002&to=6003 =================================================================== RCS file: /sources/public/html5/websockets/Overview.html,v retrieving revision 1.204 retrieving revision 1.205 diff -u -d -r1.204 -r1.205 --- Overview.html 12 Apr 2011 00:10:34 -0000 1.204 +++ Overview.html 13 Apr 2011 22:10:00 -0000 1.205 @@ -1,7 +1,4 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><!-- when publishing, change bits marked ZZZ - ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. - ZZZ: Set YEAR, SHORTDAY (month/day), and LONGDAY accordingly. They are used by the INSERT FOO bits below. - --><html lang="en-US-x-Hixie"><title>The WebSocket API</title><style type="text/css"> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><html lang="en-US-x-Hixie"><title>The WebSocket API</title><style type="text/css"> pre { margin-left: 2em; white-space: pre-wrap; } h2 { margin: 3em 0 1em 0; } h3 { margin: 2.5em 0 1em 0; } @@ -229,13 +226,12 @@ <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>The WebSocket API</h1> - <!--<h2 class="no-num no-toc">(subtitle)</h2>--> - <h2 class="no-num no-toc" id="editor-s-draft-12-april-2011">Editor's Draft 12 April 2011</h2> + + <h2 class="no-num no-toc" id="editor-s-draft-13-april-2011">Editor's Draft 13 April 2011</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/websockets/">http://www.w3.org/TR/websockets/</a></dd> <dt>Latest Editor's Draft:</dt> <dd><a class="latest-link" href="http://dev.w3.org/html5/websockets/">http://dev.w3.org/html5/websockets/</a></dd> -<!-- ZZZ: add the new version after it has shipped--> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2009/WD-websockets-20090423/">http://www.w3.org/TR/2009/WD-websockets-20090423/</a> <dd><a href="http://www.w3.org/TR/2009/WD-websockets-20091029/">http://www.w3.org/TR/2009/WD-websockets-20091029/</a></dd> @@ -262,12 +258,12 @@ </div><hr class="top"><h2 class="no-num no-toc" id="abstract">Abstract</h2><p>This specification defines an API that enables Web pages to use the WebSocket protocol for two-way communication with a remote - host.<h2 class="no-num no-toc" id="status-of-this-document">Status of This document</h2><!-- intro boilerplate (required) --><p><em>This section describes the status of this document at the + host.<h2 class="no-num no-toc" id="status-of-this-document">Status of This document</h2><p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the most recently formally published revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> - at http://www.w3.org/TR/.</em></p><!-- where to send feedback (required) --><p>If you wish to make comments regarding this document in a manner + at http://www.w3.org/TR/.</em></p><p>If you wish to make comments regarding this document in a manner that is tracked by the W3C, please submit them via using <a href="http://www.w3.org/Bugs/Public/enter_bug.cgi?product=HTML%20WG">our public bug database</a>. If you do not have an account then you can enter feedback using this form:<form action="http://www.whatwg.org/specs/web-apps/current-work/file-spam.cgi" method="post"> @@ -305,14 +301,14 @@ <a href="http://lists.w3.org/Archives/Public/public-webapps/">archives</a>), or <a href="mailto:whatwg@whatwg.org">whatwg@whatwg.org</a> (<a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">subscribe</a>, <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/">archives</a>). - All feedback is welcome.</p><!-- stability (required) --><p>Implementors should be aware that this specification is not + All feedback is welcome.</p><p>Implementors should be aware that this specification is not stable. <strong>Implementors who are not taking part in the discussions are likely to find the specification changing out from under them in incompatible ways.</strong> Vendors interested in implementing this specification before it eventually reaches the Candidate Recommendation stage should join the aforementioned mailing lists and take part in the discussions.<div id="multipage-common"> - </div><!-- version history or list of changes (required) --><p>The latest + </div><p>The latest stable version of the editor's draft of this specification is always available on <a href="http://dev.w3.org/html5/websockets/">the W3C CVS server</a> and in the <a href="http://svn.whatwg.org/webapps/">WHATWG @@ -331,18 +327,18 @@ </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 12 April 2011 Editor's Draft. + This specification is the 13 April 2011 Editor's Draft. <p>This specification is being developed in conjunction with an Internet Draft for a wire protocol, the WebSocket Protocol, available from the following location:<ul><li>WebSocket Protocol Internet-Draft: <a href="http://www.whatwg.org/specs/web-socket-protocol/">http://www.whatwg.org/specs/web-socket-protocol/</a></li> - </ul><!-- 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 + </ul><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 of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section - 6 of the W3C Patent Policy</a>.</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 + 6 of the W3C Patent Policy</a>.</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 of the group; that page also includes instructions for disclosing a @@ -350,7 +346,6 @@ individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.<h2 class="no-num no-toc" id="contents">Table of Contents</h2> -<!--begin-toc--> <ol class="toc"> <li><a href="#network-intro"><span class="secno">1 </span>Introduction</a></li> <li><a href="#conformance-requirements"><span class="secno">2 </span>Conformance requirements</a> @@ -364,15 +359,14 @@ <li><a href="#garbage-collection"><span class="secno">5.2 </span>Garbage collection</a></ol></li> <li><a class="no-num" href="#references">References</a></li> <li><a class="no-num" href="#acknowledgements">Acknowledgements</a></ol> -<!--end-toc--><hr><h2 id="network-intro"><span class="secno">1 </span>Introduction</h2><p><i>This section is non-normative.</i><p>To enable Web applications to maintain bidirectional +<hr><h2 id="network-intro"><span class="secno">1 </span>Introduction</h2><p><i>This section is non-normative.</i><p>To enable Web applications to maintain bidirectional communications with server-side processes, this specification introduces the <code><a href="#websocket">WebSocket</a></code> interface.<p class="note">This interface does not allow for raw access to the underlying network. For example, this interface could not be used to implement an IRC client without proxying messages through a custom server.<h2 id="conformance-requirements"><span class="secno">2 </span>Conformance requirements</h2><p>All diagrams, examples, and notes in this specification are non-normative, as are all sections explicitly marked non-normative. - Everything else in this specification is normative.<p>The key words "MUST", "MUST NOT", "REQUIRED", <!--"SHALL", "SHALL - NOT",--> "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and + Everything else in this specification is normative.<p>The key words "MUST", "MUST NOT", "REQUIRED", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in the normative parts of this document are to be interpreted as described in RFC2119. For readability, these words do not appear in all uppercase letters in this specification. <a href="#refsRFC2119">[RFC2119]</a><p>Requirements phrased in the imperative as part of algorithms @@ -470,12 +464,12 @@ <code>SECURITY_ERR</code> exception. (User agents typically block access to well-known ports like SMTP.)</p> - <!-- e.g. http://www.mozilla.org/projects/netlib/PortBanning.html --> + <p>Access to ports 80 and 443 should not be blocked, including the unlikely cases when <var title="">secure</var> is false but <var title="">port</var> is 443 or <var title="">secure</var> is true but <var title="">port</var> is 80.</p> - <!-- paragraph requested by zcorpan --> + </li> @@ -674,18 +668,6 @@ agent must <span>queue a task</span> to first change the <code title="dom-WebSocket-readyState"><a href="#dom-websocket-readystate">readyState</a></code> attribute's value to <code title="dom-WebSocket-OPEN"><a href="#dom-websocket-open">OPEN</a></code> (1); <span>apply the cookies</span> -<!-- -Once we have the cookies back: - - <li><p>Act as if <span title="receives a - set-cookie-string">receiving a set-cookie-string</span> for - <span>the document's address</span>, - consisting of the value of the element's <code - title="attr-meta-content">content</code> attribute encoded as - UTF-8. <a href="#refsCOOKIES">[COOKIES]</a> <a - href="#refsRFC3629">[RFC3629]</a></p></li> - ---> that were collected in the <var title="">list of cookies</var> when the <span title="WebSocket connection is established">connection was established</span>; change the <code title="dom-WebSocket-protocol"><a href="#dom-websocket-protocol">protocol</a></code> attribute's value to @@ -748,27 +730,15 @@ data queued to be transmitted to the network must not be garbage collected. <a href="#refsWSP">[WSP]</a><p>If a <code><a href="#websocket">WebSocket</a></code> object is garbage collected while its connection is still open, the user agent must <span>close the - WebSocket connection</span>. <a href="#refsWSP">[WSP]</a><h2 class="no-num" id="references">References</h2><!--REFS--><p>All references are normative unless marked "Non-normative".</p><!-- Dates are only included for standards older than the Web, because the newer ones keep changing. --><dl><dt id="refsCOOKIES">[COOKIES]</dt> - <!-- - <dd><cite><a href="http://tools.ietf.org/html/rfc2109">HTTP State - Management Mechanism</a></cite>, D. Kristol, L. Montulli. IETF.</dd> - <dd><cite><a href="http://tools.ietf.org/html/rfc2965">HTTP State Management - Mechanism</a></cite>, D. Kristol, L. Montulli. IETF.</dd> - --> - <dd><cite><a href="http://tools.ietf.org/html/draft-ietf-httpstate-cookie">HTTP State + WebSocket connection</span>. <a href="#refsWSP">[WSP]</a><h2 class="no-num" id="references">References</h2><p>All references are normative unless marked "Non-normative".</p><dl><dt id="refsCOOKIES">[COOKIES]</dt> + <dd><cite><a href="http://tools.ietf.org/html/draft-ietf-httpstate-cookie">HTTP State Management Mechanism</a></cite>, A. Barth. IETF.</dd> <dt id="refsDOMCORE">[DOMCORE]</dt> <dd><cite><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html">Web DOM Core</a></cite>, A. van Kesteren. W3C.</dd> <dt id="refsDOMEVENTS">[DOMEVENTS]</dt> - <!-- - <dd><cite><a - href="http://www.w3.org/TR/DOM-Level-3-Events/">Document Object - Model (DOM) Level 3 Events Specification</a></cite>, - B. Höhrmann, P. Le Hegaret, T. Pixley. W3C.</dd> - --> - <dd><cite><a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html">Document + <dd><cite><a href="http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html">Document Object Model (DOM) Level 3 Events Specification</a></cite>, D. Schepers. W3C.</dd> @@ -785,11 +755,7 @@ transformation format of ISO 10646</a></cite>, F. Yergeau. IETF.</dd> <dt id="refsWEBIDL">[WEBIDL]</dt> - <!-- - <dd><cite><a href="http://www.w3.org/TR/WebIDL/">Web - IDL</a></cite>, C. McCormack. W3C.</dd> - --> - <dd><cite><a href="http://dev.w3.org/2006/webapi/WebIDL/">Web + <dd><cite><a href="http://dev.w3.org/2006/webapi/WebIDL/">Web IDL</a></cite>, C. McCormack. W3C.</dd> <dt id="refsWSP">[WSP]</dt>
Received on Wednesday, 13 April 2011 22:14:29 UTC