W3C home > Mailing lists > Public > public-html-commits@w3.org > December 2008

html5/workers Overview.html,1.68,1.69

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 16 Dec 2008 01:34:26 +0000
To: public-html-commits@w3.org
Message-Id: <E1LCOpO-0000UR-3F@lionel-hutz.w3.org>

Update of /sources/public/html5/workers
In directory hutz:/tmp/cvs-serv1860

Modified Files:
	Overview.html 
Log Message:
Drop MessagePort.onclose. (whatwg r76)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/workers/Overview.html,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- Overview.html	16 Dec 2008 00:52:40 -0000	1.68
+++ Overview.html	16 Dec 2008 01:34:24 -0000	1.69
@@ -1278,23 +1278,7 @@
      another port and that has one (but only one) port whose owner is the
      <code><a href="#workerglobalscope">WorkerGlobalScope</a></code> object
      on which the method was invoked (this would include, for instance, the
-     implicit port in used for dedicated workers), run the following
-     substeps:</p>
-
-    <ol>
-     <li>
-      <p>Unentangle the two ports.
-
-     <li>
-      <p><span>Queue a task</span> on the <span>event loop</span> handling
-       events for the other <code>MessagePort</code> (the one whose owner is
-       not the <code><a
-       href="#workerglobalscope">WorkerGlobalScope</a></code> object on which
-       the <code title=dom-WorkerGlobalScope-close><a
-       href="#close">close()</a></code> method was called) to <span>fire a
-       simple event</span> called <code title=event-close>close</code> at
-       that other <code>MessagePort</code> object.
-    </ol>
+     implicit port in used for dedicated workers), unentangle the two ports.
   </ol>
 
   <p>The following are the <span>event handler DOM attributes</span> that
@@ -1686,13 +1670,12 @@
 
   <ol>
    <li>
-    <p><span>Queue a task</span> to <span>fire a simple event</span> called
-     <code title=event-close>close</code> at the worker's <code><a
+    <p>If the worker's <code><a
+     href="#workerglobalscope">WorkerGlobalScope</a></code> object's <a
+     href="#closing" title=dom-WorkerGlobalScope-closing>closing</a> flag is
+     false, <span>queue a task</span> to <span>fire a simple event</span>
+     called <code title=event-close>close</code> at the worker's <code><a
      href="#workerglobalscope">WorkerGlobalScope</a></code> object.
-   </li>
-   <!-- XXX
-   shouldn't add one if closing is already true, assuming close has
-   already been added to the queue (?) -->
 
    <li>
     <p>Set the worker's <code><a
Received on Tuesday, 16 December 2008 01:34:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 16 December 2008 01:34:35 GMT