- From: poot <cvsmail@w3.org>
- Date: Tue, 14 Dec 2010 11:13:45 +0900 (JST)
- To: public-html-diffs@w3.org
websocket; hixie: Revamp the way the boilerplate stuff is done so that Tab can help me out doing publications. (whatwg r5719) http://dev.w3.org/cvsweb/html5/websockets/Overview.html?r1=1.198&r2=1.199&f=h http://html5.org/tools/web-apps-tracker?from=5718&to=5719 =================================================================== RCS file: /sources/public/html5/websockets/Overview.html,v retrieving revision 1.198 retrieving revision 1.199 diff -u -d -r1.198 -r1.199 --- Overview.html 1 Nov 2010 23:02:11 -0000 1.198 +++ Overview.html 14 Dec 2010 02:07:41 -0000 1.199 @@ -1,4 +1,7 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"><!-- when publishing, change bits marked ZZZ --><html lang="en-US-x-Hixie"><title>The WebSocket API</title><style type="text/css"> +<!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"> pre { margin-left: 2em; white-space: pre-wrap; } h2 { margin: 3em 0 1em 0; } h3 { margin: 2.5em 0 1em 0; } @@ -188,10 +191,46 @@ fieldset > :last-child { margin-bottom: 0; } fieldset p { margin: 0.5em 0; } - </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><div class="head"> + </style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css"><script type="text/javascript"> + function getCookie(name) { + var params = location.search.substr(1).split("&"); + for (var index = 0; index < params.length; index++) { + if (params[index] == name) + return "1"; + var data = params[index].split("="); + if (data[0] == name) + return unescape(data[1]); + } + var cookies = document.cookie.split("; "); + for (var index = 0; index < cookies.length; index++) { + var data = cookies[index].split("="); + if (data[0] == name) + return unescape(data[1]); + } + return null; + } + function load(script) { + var e = document.createElement('script'); + e.setAttribute('src', 'http://www.whatwg.org/specs/web-apps/current-work/' + script + '?' + encodeURIComponent(location) + '&' + encodeURIComponent(document.referrer)); + document.body.appendChild(e); + } + function init() { + if (location.search == '?slow-browser') + return; + var configUI = document.createElement('div'); + configUI.id = 'configUI'; + document.body.appendChild(configUI); + load('dfn.js'); // doesn't support split-out specs, but, oh well. + if (getCookie('profile') == '1') + document.getElementsByTagName('h2')[0].textContent += '; load: ' + (new Date() - loadTimer) + 'ms'; + fixBrokenLink(); + } + </script><body onload="init()"><div class="head" id="head"> <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" id="editor-s-draft-1-november-2010">Editor's Draft 1 November 2010</h2> + <!--<h2 class="no-num no-toc">(subtitle)</h2>--> + <h2 class="no-num no-toc" id="editor-s-draft-14-december-2010">Editor's Draft 14 December 2010</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> @@ -201,7 +240,7 @@ <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> <!-- :ZZZ --> - <dt>Editors:</dt> + <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide @@ -228,42 +267,64 @@ 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, please send - them to <a href="mailto:public-webapps@w3.org">public-webapps@w3.org</a> - (<a href="mailto:public-webapps-request@w3.org?subject=subscribe">subscribe</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 + 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"> + <fieldset><legend>Feedback Comments</legend> + <input name="id" type="hidden" value="top"><input name="component" type="hidden" value="WebSocket API (editor: Ian Hickson)"><input name="response" type="hidden" value="html"><p><label for="feedbackBox">Please enter your feedback, carefully + indicating the title of the section for which you are submitting + feedback, quoting the text that's wrong today if appropriate. If + you're suggesting a new feature, it's really important to say + <em>what</em> the problem you're trying to solve is. That's more + important than the solution, in fact.</label></p> + <p><textarea cols="79" id="feedbackBox" name="text" rows="10"></textarea></p> + <p class="note">Please don't use section numbers as these tend to + change rapidly and make your feedback harder to understand.</p> + <script type="text/javascript"> + function checkFeedbackForm(form) { + if (form.elements.text.value.match(/ [^ ]+ [^ ]+ [^ ]+ [^ ]+ /)) { + form.action = "http://www.whatwg.org/specs/web-apps/current-work/file-bug.cgi"; + return true; + } else { + alert('Please include significantly more detail about exactly what problem you are trying to solve.'); + return false; + } + } + </script><p> + <input onclick="return checkFeedbackForm(form)" type="submit" value="Submit feedback"><small>(Note: Your IP address will be publicly recorded for spam prevention purposes.)</small> + </p> + </fieldset></form><p>You can also e-mail feedback to <a href="mailto:public-webapps@w3.org">public-webapps@w3.org</a> (<a href="mailto:public-webapps-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-webapps/">archives</a>), - - <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING SENTENCE TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> - <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>), - <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING SENTENCE TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> - - or <a href="mailto:hybi@ietf.org">hybi@ietf.org</a> (<a href="https://www.ietf.org/mailman/listinfo/hybi">subscribe</a>, - <a href="http://www.ietf.org/mail-archive/web/hybi/current/maillist.html">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 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.</p><!-- version history or list of changes (required) --><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/Overview.html">the W3C CVS - server</a>. Change tracking for this document is available at the - following location:<ul><li>CVS log: <a href="http://dev.w3.org/cvsweb/html5/websockets/Overview.html">http://dev.w3.org/cvsweb/html5/websockets/Overview.html</a></li> - </ul><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is automatically generated from the - corresponding section in the HTML5 specification's source document, - as hosted in the <a href="http://svn.whatwg.org/webapps/">WHATWG - Subversion repository</a>. Detailed change history for all of HTML5, - including the parts that form this specification, can be found at - the following locations:</p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING LIST TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><ul><li>Twitter messages (non-editorial changes only): <a href="http://twitter.com/WHATWG">http://twitter.com/WHATWG</a></li> - <li>Interactive Web interface: <a href="http://html5.org/tools/web-apps-tracker">http://html5.org/tools/web-apps-tracker</a></li> - <li>Commit-Watchers mailing list: <a href="http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org">http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org</a></li> - <li>Subversion interface: <a href="http://svn.whatwg.org/webapps/">http://svn.whatwg.org/webapps/</a></li> - </ul><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING LIST TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- status of document, group responsible (required) --><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications + mailing lists and take part in the discussions.<div id="multipage-common"> + </div><!-- version history or list of changes (required) --><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 + Subversion repository</a>. The <a href="http://www.whatwg.org/specs/web-apps/current-work/complete.html">latest + editor's working copy</a> (which may contain unfinished text in the + process of being prepared) contains the latest draft text of this + specification (amongst others). For more details, please see the <a href="http://wiki.whatwg.org/wiki/FAQ#What_are_the_various_versions_of_the_spec.3F">WHATWG + FAQ</a>.<p>Notifications of changes to this specification are sent along + with notifications of changes to related specifications using the + following mechanisms:<dl><dt>E-mail notifications of changes</dt> + <dd>Commit-Watchers mailing list (complete source diffs): <a href="http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org">http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org</a></dd> + <dt>Browsable version-control record of all changes:</dt> + <dd>CVSWeb interface with side-by-side diffs: <a href="http://dev.w3.org/cvsweb/html5/">http://dev.w3.org/cvsweb/html5/</a></dd> + <dd>Annotated summary with unified diffs: <a href="http://html5.org/tools/web-apps-tracker">http://html5.org/tools/web-apps-tracker</a></dd> + <dd>Raw Subversion interface: <code>svn checkout http://svn.whatwg.org/webapps/</code></dd> + </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 1 November 2010 Editor's Draft. + This specification is the 14 December 2010 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> @@ -274,6 +335,13 @@ 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 + 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>.<h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--begin-toc--> <ol class="toc"> @@ -287,7 +355,8 @@ <ol> <li><a href="#event-definitions"><span class="secno">5.1 </span>Event definitions</a></li> <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></ol> + <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 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 @@ -691,4 +760,5 @@ <dd><cite><a href="http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol">The WebSocket protocol</a></cite>, I. Fette. IETF.</dd> - </dl> + </dl><h2 class="no-num" id="acknowledgements">Acknowledgements</h2><p>For a full list of acknowledgements, please see the HTML + specification. <a href="#refsHTML">[HTML]</a>
Received on Tuesday, 14 December 2010 02:14:19 UTC