- From: CVS User ihickson <cvsmail@w3.org>
- Date: Tue, 25 Feb 2014 03:53:21 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/websockets
In directory roscoe:/tmp/cvs-serv20090
Modified Files:
Overview.html
Log Message:
Lay the groundwork for interruptible microtasks, mutation-observer style. (whatwg r8510)
--- /sources/public/html5/websockets/Overview.html 2014/02/03 23:17:21 1.310
+++ /sources/public/html5/websockets/Overview.html 2014/02/25 03:53:21 1.311
@@ -216,7 +216,7 @@
<h1>The WebSocket API</h1>
- <h2 class="no-num no-toc" id="editor-s-draft-3-february-2014">Editor's Draft 3 February 2014</h2>
+ <h2 class="no-num no-toc" id="editor-s-draft-25-february-2014">Editor's Draft 25 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 3 February 2014 Editor's Draft.
+ This specification is the 25 February 2014 Editor's Draft.
</p>
@@ -750,7 +750,7 @@
</ol><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> started executing a <span title="concept-task">task</span>, had not yet been
+ loop</span> reached step 1, had not yet been
transmitted to the network. (This thus includes any text sent during the execution of the current
task, regardless of whether the user agent is able to transmit text asynchronously with script
execution.) This does not include framing overhead incurred by the protocol, or buffering done by
@@ -1133,20 +1133,23 @@
<h2 id="garbage-collection"><span class="secno">9 </span>Garbage collection</h2>
+
<p>A <code><a href="#websocket">WebSocket</a></code> object whose <code title="dom-WebSocket-readyState"><a href="#dom-websocket-readystate">readyState</a></code>
attribute's value was set to <code title="dom-WebSocket-CONNECTING"><a href="#dom-websocket-connecting">CONNECTING</a></code> (0) as of
- the last time the <span>event loop</span> started executing a <span title="concept-task">task</span> must not be garbage collected if there are any event listeners
+ the last time the <span>event loop</span> started reached step 1 must not be garbage collected if there are any event listeners
registered for <code title="event-open">open</code> events, <code title="event-message">message</code> events, <code title="event-error">error</code> events, or
<code title="event-close">close</code> events.</p>
+
<p>A <code><a href="#websocket">WebSocket</a></code> object whose <code title="dom-WebSocket-readyState"><a href="#dom-websocket-readystate">readyState</a></code>
attribute's value was set to <code title="dom-WebSocket-OPEN"><a href="#dom-websocket-open">OPEN</a></code> (1) as of the last time
- the <span>event loop</span> started executing a <span title="concept-task">task</span> must not be
+ the <span>event loop</span> reached step 1 must not be
garbage collected if there are any event listeners registered for <code title="event-message">message</code> events, <code title="event-error">error</code>, or <code title="event-close">close</code> events.</p>
+
<p>A <code><a href="#websocket">WebSocket</a></code> object whose <code title="dom-WebSocket-readyState"><a href="#dom-websocket-readystate">readyState</a></code>
attribute's value was set to <code title="dom-WebSocket-CLOSING"><a href="#dom-websocket-closing">CLOSING</a></code> (2) as of the last
- time the <span>event loop</span> started executing a <span title="concept-task">task</span> must
+ time the <span>event loop</span> reached step 1 must
not be garbage collected if there are any event listeners registered for <code title="event-error">error</code> or <code title="event-close">close</code> events.</p>
<p>A <code><a href="#websocket">WebSocket</a></code> object with <i title="the WebSocket connection is established">an
Received on Tuesday, 25 February 2014 03:53:22 UTC