To avoid confusion, use different words for workers closing and for ports being disabled. (whatwg r3185)

To avoid confusion, use different words for workers closing and for
ports being disabled. (whatwg r3185)

Diffs for this change per section: 
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2339.html#dom-messageport-close
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2339.html#messageport
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2339.html#clone-a-port
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2339.html#port-message-queue
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2339.html#handler-messageport-onmessage
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2339.html#dom-messageport-postmessage
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2339.html#dom-messageport-start
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2339.html#create-a-new-messageport-object

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2338&r2=1.2339&f=h
http://html5.org/tools/web-apps-tracker?from=3184&to=3185

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2338
retrieving revision 1.2339
diff -u -d -r1.2338 -r1.2339
--- Overview.html 3 Jun 2009 09:41:21 -0000 1.2338
+++ Overview.html 3 Jun 2009 19:27:59 -0000 1.2339
@@ -52162,7 +52162,10 @@
   another (a symmetric relationship). Each <code><a href="#messageport">MessagePort</a></code>
   object also has a <a href="#task-source">task source</a> called the <dfn id="port-message-queue">port
   message queue</dfn>, initial empty. A <a href="#port-message-queue">port message
-  queue</a> can be open or closed, and is initially closed.</p>
+  queue</a> can be enabled or disabled, and is initially
+  disabled. Once enabled, a port can never be disabled again (though
+  messages in the queue can get moved to another queue or removed
+  altogether, which has much the same effect).</p>
 
   <p>When the user agent is to <dfn id="create-a-new-messageport-object">create a new
   <code>MessagePort</code> object</dfn> owned by a <a href="#script-s-global-object">script's
@@ -52210,7 +52213,7 @@
    of <var title="">original port</var> to the <a href="#port-message-queue">port message
    queue</a> of <var title="">new port</var>, if any, leaving the
    <var title="">new port</var>'s <a href="#port-message-queue">port message queue</a> in
-   its initial closed state.</li>
+   its initial disabled state.</li>
 
    <li><p><a href="#entangle">Entangle</a> the <var title="">remote port</var>
    and <var title="">new port</var> objects. The <var title="">original port</var> object will be disentangled by this
@@ -52356,10 +52359,10 @@
 
   </ol>
 --><hr><p>The <dfn id="dom-messageport-start" title="dom-MessagePort-start"><code>start()</code></dfn>
-  method must open its port's <a href="#port-message-queue">port message queue</a>, if it
-  is not already open.</p>
+  method must enable its port's <a href="#port-message-queue">port message queue</a>, if it
+  is not already enabled.</p>
 
-  <p>When a port's <a href="#port-message-queue">port message queue</a> is open, the
+  <p>When a port's <a href="#port-message-queue">port message queue</a> is enabled, the
   <a href="#event-loop">event loop</a> must use it as one of its <a href="#task-source" title="task
   source">task sources</a>.</p>
 
@@ -52381,7 +52384,7 @@
   <table><thead><tr><th><a href="#event-handler-attributes-0" title="event handler attributes">event handler attribute</a> <th><a href="#event-handler-event-type">Event handler event type</a>
    <tbody><tr><td><dfn id="handler-messageport-onmessage" title="handler-MessagePort-onmessage"><code>onmessage</code></dfn> <td> <code title="event-message"><a href="#event-message">message</a></code>
   </table><p>The first time a <code><a href="#messageport">MessagePort</a></code> object's <code title="handler-MessagePort-onmessage"><a href="#handler-messageport-onmessage">onmessage</a></code> DOM attribute
-  is set, the port's <a href="#port-message-queue">port message queue</a> must be opened,
+  is set, the port's <a href="#port-message-queue">port message queue</a> must be enabled,
   as if the <code title="dom-MessagePort-start"><a href="#dom-messageport-start">start()</a></code> method
   had been called.</p>

Received on Wednesday, 3 June 2009 19:30:16 UTC