Skip to content

Commit

Permalink
[giow] (1) Updating the WebSocket garbage collection rules.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@5243 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 6, 2010
1 parent c380510 commit f9fb567
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
10 changes: 2 additions & 8 deletions complete.html
Expand Up @@ -72685,16 +72685,10 @@ <h5 id=garbage-collection-1><span class=secno>10.3.3.2 </span>Garbage collection
<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
Expand Down
13 changes: 3 additions & 10 deletions source
Expand Up @@ -81784,22 +81784,15 @@ socket.onopen = function () {

<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
Expand Down

0 comments on commit f9fb567

Please sign in to comment.