[html5] r5189 - [giow] (1) Make WebSocket's garbage collection behaviour wait for queued data.

whatwg at whatwg.org whatwg at whatwg.org
Thu Jul 22 13:18:43 PDT 2010


Author: ianh
Date: 2010-07-22 13:18:42 -0700 (Thu, 22 Jul 2010)
New Revision: 5189

Modified:
   complete.html
   source
Log:
[giow] (1) Make WebSocket's garbage collection behaviour wait for queued data.

Modified: complete.html
===================================================================
--- complete.html	2010-07-22 20:12:45 UTC (rev 5188)
+++ complete.html	2010-07-22 20:18:42 UTC (rev 5189)
@@ -72194,6 +72194,11 @@
   <a href=#concept-task title=concept-task>task</a> must not be garbage collected
   if there are any event listeners registered for <code title=event-close>close</code> events.</p>
 
+  <p>A <code><a href=#websocket>WebSocket</a></code> object with <a href=#websocket-connection-is-established title="WebSocket
+  connection is established">an established connection</a> that has
+  data queued to be transmitted to the network must not be garbage
+  collected.</p>
+
   <p>If a <code><a href=#websocket>WebSocket</a></code> object is garbage collected while its
   connection is still open, the user agent must <a href=#close-the-websocket-connection>close the
   WebSocket connection</a>.</p>

Modified: source
===================================================================
--- source	2010-07-22 20:12:45 UTC (rev 5188)
+++ source	2010-07-22 20:18:42 UTC (rev 5189)
@@ -81248,6 +81248,11 @@
   if there are any event listeners registered for <code
   title="event-close">close</code> events.</p>
 
+  <p>A <code>WebSocket</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>
+
   <p>If a <code>WebSocket</code> object is garbage collected while its
   connection is still open, the user agent must <span>close the
   WebSocket connection</span>.</p>




More information about the Commit-Watchers mailing list