[html5] r2116 - [] (0) Change 'unload' to 'close' for MessagePorts.

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 26 03:36:27 PDT 2008


Author: ianh
Date: 2008-08-26 03:36:25 -0700 (Tue, 26 Aug 2008)
New Revision: 2116

Modified:
   index
   source
Log:
[] (0) Change 'unload' to 'close' for MessagePorts.

Modified: index
===================================================================
--- index	2008-08-26 08:19:38 UTC (rev 2115)
+++ index	2008-08-26 10:36:25 UTC (rev 2116)
@@ -17006,7 +17006,7 @@
     <p class=note>Such cases are to be kept to an absolute minimum. If there
      is even the slightest possibility of the author having the ability to
      provide real alternative text, then it would not be acceptable to omit
-     the code title="attr-img-alt">alt attribute.</p>
+     the <code title=attr-img-alt><a href="#alt0">alt</a></code> attribute.</p>
 
     <div class=example>
      <p>A photo on a photo-sharing site, if the site received the image with
@@ -44867,7 +44867,7 @@
 
   // event handler attributes
            attribute <span>EventListener</span> <a href="#onmessage1" title=handler-MessagePort-onmessage>onmessage</a>;
-           attribute <span>EventListener</span> <a href="#onunload0" title=handler-MessagePort-onunload>onunload</a>;
+           attribute <span>EventListener</span> <a href="#onclose" title=handler-MessagePort-onclose>onclose</a>;
 };</pre>
 
   <p>Objects implementing the <code><a
@@ -45146,13 +45146,12 @@
 
    <li>
     <p><a href="#queue">Queue a task</a> to <a href="#firing2">fire a simple
-     event</a> called <code title=event-unload>unload</code> at the port on
+     event</a> called <code title=event-close>close</code> at the port on
      which the method was called.
 
    <li>
     <p><a href="#queue">Queue a task</a> to <a href="#firing2">fire a simple
-     event</a> called <code title=event-unload>unload</code> at the other
-     port.
+     event</a> called <code title=event-close>close</code> at the other port.
   </ol>
 
   <p>The <a href="#task-source">task source</a> for the two <a href="#tasks"
@@ -45185,12 +45184,12 @@
      <code title=dom-MessagePort-start><a href="#start6">start()</a></code>
      method had been called.</p>
 
-   <dt><dfn id=onunload0
-    title=handler-MessagePort-onunload><code>onunload</code></dfn>
+   <dt><dfn id=onclose
+    title=handler-MessagePort-onclose><code>onclose</code></dfn>
 
    <dd>
-    <p>Must be invoked whenever an <code title=event-unload>unload</code>
-     event is targeted at or bubbles through the <code><a
+    <p>Must be invoked whenever an <code title=event-close>close</code> event
+     is targeted at or bubbles through the <code><a
      href="#messageport0">MessagePort</a></code> object.
   </dl>
 
@@ -45229,7 +45228,7 @@
 
    <li>
     <p><a href="#queue">Queue a task</a> to <a href="#firing2">fire a simple
-     event</a> called <code title=event-unload>unload</code> at <var
+     event</a> called <code title=event-close>close</code> at <var
      title="">surviving port</var>. The <a href="#task-source">task
      source</a> for this <a href="#tasks" title=concept-task>task</a> is the
      <a href="#posted">posted message task source</a>.

Modified: source
===================================================================
--- source	2008-08-26 08:19:38 UTC (rev 2115)
+++ source	2008-08-26 10:36:25 UTC (rev 2116)
@@ -14561,7 +14561,7 @@
     <p class="note">Such cases are to be kept to an absolute
     minimum. If there is even the slightest possibility of the author
     having the ability to provide real alternative text, then it would
-    not be acceptable to omit the code title="attr-img-alt">alt</code>
+    not be acceptable to omit the <code title="attr-img-alt">alt</code>
     attribute.</p>
 
     <div class="example">
@@ -42314,7 +42314,7 @@
 
   // event handler attributes
            attribute <span>EventListener</span> <span title="handler-MessagePort-onmessage">onmessage</span>;
-           attribute <span>EventListener</span> <span title="handler-MessagePort-onunload">onunload</span>;
+           attribute <span>EventListener</span> <span title="handler-MessagePort-onclose">onclose</span>;
 };</pre>
 
   <p>Objects implementing the <code>MessagePort</code> interface must
@@ -42575,11 +42575,11 @@
    <li><p>Unentangle the two ports.</p></li>
 
    <li><p><span>Queue a task</span> to <span>fire a simple
-   event</span> called <code title="event-unload">unload</code> at the
+   event</span> called <code title="event-close">close</code> at the
    port on which the method was called.</p></li>
 
    <li><p><span>Queue a task</span> to <span>fire a simple
-   event</span> called <code title="event-unload">unload</code> at the
+   event</span> called <code title="event-close">close</code> at the
    other port.</p></li>
 
   </ol>
@@ -42615,10 +42615,10 @@
 
    </dd>
 
-   <dt><dfn title="handler-MessagePort-onunload"><code>onunload</code></dfn></dt>
+   <dt><dfn title="handler-MessagePort-onclose"><code>onclose</code></dfn></dt>
 
    <dd><p>Must be invoked whenever an <code
-   title="event-unload">unload</code> event is targeted at or bubbles
+   title="event-close">close</code> event is targeted at or bubbles
    through the <code>MessagePort</code> object.</p></dd>
 
   </dl>
@@ -42652,7 +42652,7 @@
    <li><p>Unentangle the two ports.</p></li>
 
    <li><p><span>Queue a task</span> to <span>fire a simple
-   event</span> called <code title="event-unload">unload</code> at
+   event</span> called <code title="event-close">close</code> at
    <var title="">surviving port</var>.  The <span>task source</span>
    for this <span title="concept-task">task</span> is the <span>posted
    message task source</span>.</p></li>




More information about the Commit-Watchers mailing list