[html5] r2358 - [gwr] (2) MessagePorts shouldn't be GCed even when their queue is closed if they [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Oct 21 03:24:56 PDT 2008
Author: ianh
Date: 2008-10-21 03:24:55 -0700 (Tue, 21 Oct 2008)
New Revision: 2358
Modified:
index
source
Log:
[gwr] (2) MessagePorts shouldn't be GCed even when their queue is closed if they have events targetted at them. (credit: ap)
Modified: index
===================================================================
--- index 2008-10-20 19:18:55 UTC (rev 2357)
+++ index 2008-10-21 10:24:55 UTC (rev 2358)
@@ -16,7 +16,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML 5</h1>
- <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 20 October 2008</h2>
+ <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 21 October 2008</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<dl><dt>Multiple-page version:</dt>
@@ -43152,10 +43152,14 @@
</div>
<p>Furthermore, a <code><a href=#messageport>MessagePort</a></code> object must not be
- garbage collected while its <a href=#port-message-queue>port message queue</a> is open
- and there exists an event either in that queue or in the
- <a href=#posted-message-task-source>posted message task source</a> that is to be dispatched on
- that <code><a href=#messageport>MessagePort</a></code> object.</p>
+ garbage collected while there exists a message in a <a href=#task-queue>task
+ queue</a> that is to be dispatched on that
+ <code><a href=#messageport>MessagePort</a></code> object, or while the
+ <code><a href=#messageport>MessagePort</a></code> object's <a href=#port-message-queue>port message queue</a> is
+ open and there exists a <code title=event-message><a href=#event-message>message</a></code>
+ event in that queue.</p>
+ <!-- we might not need to explicitly say the first part of DOM
+ Events is fixed to say that events on a task queue prevent GC -->
Modified: source
===================================================================
--- source 2008-10-20 19:18:55 UTC (rev 2357)
+++ source 2008-10-21 10:24:55 UTC (rev 2358)
@@ -49200,10 +49200,14 @@
</div>
<p>Furthermore, a <code>MessagePort</code> object must not be
- garbage collected while its <span>port message queue</span> is open
- and there exists an event either in that queue or in the
- <span>posted message task source</span> that is to be dispatched on
- that <code>MessagePort</code> object.</p>
+ garbage collected while there exists a message in a <span>task
+ queue</span> that is to be dispatched on that
+ <code>MessagePort</code> object, or while the
+ <code>MessagePort</code> object's <span>port message queue</span> is
+ open and there exists a <code title="event-message">message</code>
+ event in that queue.</p>
+ <!-- we might not need to explicitly say the first part of DOM
+ Events is fixed to say that events on a task queue prevent GC -->
More information about the Commit-Watchers
mailing list