W3C home > Mailing lists > Public > public-html-diffs@w3.org > October 2008

spec/Overview.html 1.1530 2357 Define MessagePort such that they won't

From: poot <cvsmail@w3.org>
Date: Tue, 21 Oct 2008 04:22:52 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081020192252.7DBD42BBFC@toro.w3.mag.keio.ac.jp>

Define MessagePort such that they won't be garbage collected while a
message is outstanding. (credit: ap) (whatwg r2357)

8 The HTML syntax
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1530.html#syntax
7.5.3.2 Ports and garbage collection
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1530.html#ports-and-garbage-collection

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1529&r2=1.1530&f=h
http://html5.org/tools/web-apps-tracker?from=2356&to=2357

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1529
retrieving revision 1.1530
diff -u -d -r1.1529 -r1.1530
--- Overview.html	20 Oct 2008 15:13:19 -0000	1.1529
+++ Overview.html	20 Oct 2008 19:19:00 -0000	1.1530
@@ -34565,7 +34565,11 @@
    reachable from live code, despite having a strong reference to each
    other.</p>
 
-  </div><h2 id=syntax><span class=secno>8 </span>The HTML syntax</h2><h3 id=writing-html-documents><span class=secno>8.1 </span>Writing HTML documents</h3><p><em>This section only applies to documents, authoring tools, and
+  </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.<h2 id=syntax><span class=secno>8 </span>The HTML syntax</h2><h3 id=writing-html-documents><span class=secno>8.1 </span>Writing HTML documents</h3><p><em>This section only applies to documents, authoring tools, and
   markup generators. In particular, it does not apply to conformance
   checkers; conformance checkers must use the requirements given in
   the next section ("parsing HTML documents").</em><p>Documents must consist of the following parts, in the given
Received on Monday, 20 October 2008 19:23:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:56 GMT