- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 22 Jul 2010 20:18:48 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/websockets
In directory hutz:/tmp/cvs-serv29755
Modified Files:
Overview.html
Log Message:
Make WebSocket's garbage collection behaviour wait for queued data. (whatwg r5189)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/websockets/Overview.html,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -d -r1.185 -r1.186
--- Overview.html 22 Jul 2010 20:02:38 -0000 1.185
+++ Overview.html 22 Jul 2010 20:18:45 -0000 1.186
@@ -644,7 +644,10 @@
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 not be garbage collected
- if there are any event listeners registered for <code title="event-close">close</code> events.<p>If a <code><a href="#websocket">WebSocket</a></code> object is garbage collected while its
+ if there are any event listeners registered for <code title="event-close">close</code> events.<p>A <code><a href="#websocket">WebSocket</a></code> object with <span title="WebSocket
+ connection is established">an established connection</span> that has
+ data queued to be transmitted to the network must not be garbage
+ collected.<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>.<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="refsDOMCORE">[DOMCORE]</dt>
<dd><cite><a href="http://www.w3.org/TR/DOM-Level-3-Core/">Document
Received on Thursday, 22 July 2010 20:18:49 UTC