- From: CVS User ihickson <cvsmail@w3.org>
- Date: Fri, 28 Feb 2014 00:39:51 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/websockets
In directory roscoe:/tmp/cvs-serv6545
Modified Files:
Overview.html
Log Message:
Clarify that close() doesn't drop earlier sent() images. (whatwg r8516)
--- /sources/public/html5/websockets/Overview.html 2014/02/25 03:53:21 1.311
+++ /sources/public/html5/websockets/Overview.html 2014/02/28 00:39:51 1.312
@@ -216,7 +216,7 @@
<h1>The WebSocket API</h1>
- <h2 class="no-num no-toc" id="editor-s-draft-25-february-2014">Editor's Draft 25 February 2014</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-28-february-2014">Editor's Draft 28 February 2014</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>
@@ -350,7 +350,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 25 February 2014 Editor's Draft.
+ This specification is the 28 February 2014 Editor's Draft.
</p>
@@ -747,7 +747,12 @@
</dl></li>
- </ol><hr><p>The <dfn id="dom-websocket-bufferedamount" title="dom-WebSocket-bufferedAmount"><code>bufferedAmount</code></dfn> attribute must
+ </ol><p class="note">The <code title="dom-WebSocket-close"><a href="#dom-websocket-close">close()</a></code> method does not discard
+ previously sent messages before starting the WebSocket closing handshake — even if, in
+ practice, the user agent is still busy sending those messages, the handshake will only start after
+ the messages are sent.</p>
+
+ <hr><p>The <dfn id="dom-websocket-bufferedamount" title="dom-WebSocket-bufferedAmount"><code>bufferedAmount</code></dfn> attribute must
return the number of bytes of application data (UTF-8 text and binary data) that have been queued
using <code title="dom-WebSocket-send"><a href="#dom-websocket-send">send()</a></code> but that, as of the last time the <span>event
loop</span> reached step 1, had not yet been
Received on Friday, 28 February 2014 00:39:54 UTC