[html5] r6805 - [giow] (0) Allow a WebSocket object with only a message handler to be GC'ed once [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Nov 1 09:09:01 PDT 2011
Author: ianh
Date: 2011-11-01 09:08:59 -0700 (Tue, 01 Nov 2011)
New Revision: 6805
Modified:
complete.html
index
source
Log:
[giow] (0) Allow a WebSocket object with only a message handler to be GC'ed once it gets to CLOSING.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14651
Modified: complete.html
===================================================================
--- complete.html 2011-11-01 15:40:17 UTC (rev 6804)
+++ complete.html 2011-11-01 16:08:59 UTC (rev 6805)
@@ -80979,10 +80979,16 @@
<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) 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
+ 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
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>, 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-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"><a href=#the-websocket-connection-is-established>an established connection</a></i> that has
data queued to be transmitted to the network must not be garbage
Modified: index
===================================================================
--- index 2011-11-01 15:40:17 UTC (rev 6804)
+++ index 2011-11-01 16:08:59 UTC (rev 6805)
@@ -80979,10 +80979,16 @@
<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) 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
+ 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
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>, 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-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"><a href=#the-websocket-connection-is-established>an established connection</a></i> that has
data queued to be transmitted to the network must not be garbage
Modified: source
===================================================================
--- source 2011-11-01 15:40:17 UTC (rev 6804)
+++ source 2011-11-01 16:08:59 UTC (rev 6805)
@@ -91689,15 +91689,23 @@
<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) or <code
- title="dom-WebSocket-CLOSING">CLOSING</code> (2) 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) 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>, 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-error">error</code> or <code
+ title="event-close">close</code> events.</p>
+
<p>A <code>WebSocket</code> object with <i title="the WebSocket
connection is established">an established connection</i> that has
data queued to be transmitted to the network must not be garbage
More information about the Commit-Watchers
mailing list