websocket; hixie: Make WebSocket's garbage collection behaviour wait for queued data. (whatwg r5189)

websocket; hixie: Make WebSocket's garbage collection behaviour wait for
queued data. (whatwg r5189)

http://dev.w3.org/cvsweb/html5/websockets/Overview.html?r1=1.185&r2=1.186&f=h
http://html5.org/tools/web-apps-tracker?from=5188&to=5189

===================================================================
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:19:22 UTC