[html5] r5243 - [giow] (1) Updating the WebSocket garbage collection rules.

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 5 18:04:08 PDT 2010


Author: ianh
Date: 2010-08-05 18:04:07 -0700 (Thu, 05 Aug 2010)
New Revision: 5243

Modified:
   complete.html
   source
Log:
[giow] (1) Updating the WebSocket garbage collection rules.

Modified: complete.html
===================================================================
--- complete.html	2010-08-06 01:01:43 UTC (rev 5242)
+++ complete.html	2010-08-06 01:04:07 UTC (rev 5243)
@@ -72685,16 +72685,10 @@
   <code title=event-open>open</code> events, <code title=event-message><a href=#event-message>message</a></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 <a href=#event-loop>event loop</a> started executing a <a href=#concept-task title=concept-task>task</a> must not be garbage collected if
+  was set to <code title=dom-WebSocket-OPEN><a href=#dom-websocket-open>OPEN</a></code> (1) or <code title=dom-WebSocket-CLOSING><a href=#dom-websocket-closing>CLOSING</a></code> (2) as of the last time
+  the <a href=#event-loop>event loop</a> started executing a <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-message><a href=#event-message>message</a></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-CLOSING><a href=#dom-websocket-closing>CLOSING</a></code> (2) as
-  of the last time the <a href=#event-loop>event loop</a> started executing a
-  <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

Modified: source
===================================================================
--- source	2010-08-06 01:01:43 UTC (rev 5242)
+++ source	2010-08-06 01:04:07 UTC (rev 5243)
@@ -81784,22 +81784,15 @@
 
   <p>A <code>WebSocket</code> object whose <code
   title="dom-WebSocket-readyState">readyState</code> attribute's value
-  was set to <code title="dom-WebSocket-OPEN">OPEN</code> (1) as of
-  the last time the <span>event loop</span> started executing a <span
+  was set to <code title="dom-WebSocket-OPEN">OPEN</code> (1) or <code
+  title="dom-WebSocket-CLOSING">CLOSING</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-message">message</code> events, <code
   title="event-error">error</code> events, or <code
   title="event-close">close</code> events.</p>
 
-  <p>A <code>WebSocket</code> object whose <code
-  title="dom-WebSocket-readyState">readyState</code> attribute's value
-  was set to <code title="dom-WebSocket-CLOSING">CLOSING</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>
-
   <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




More information about the Commit-Watchers mailing list