[html5] r1882 - [] (0) Add 'load' and 'error' events to message ports.

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 16 13:02:33 PDT 2008


Author: ianh
Date: 2008-07-16 13:02:32 -0700 (Wed, 16 Jul 2008)
New Revision: 1882

Modified:
   index
   source
Log:
[] (0) Add 'load' and 'error' events to message ports.

Modified: index
===================================================================
--- index	2008-07-15 20:42:31 UTC (rev 1881)
+++ index	2008-07-16 20:02:32 UTC (rev 1882)
@@ -25,7 +25,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 15 July
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 16 July
     2008</h2>
 
    <p>You can take part in this work. <a
@@ -42542,6 +42542,8 @@
 
   // event handler attributes
            attribute <span>EventListener</span> <a href="#onmessage1" title=handler-MessagePort-onmessage>onmessage</a>;
+           attribute <span>EventListener</span> <a href="#onload0" title=handler-MessagePort-onload>onload</a>;
+           attribute <span>EventListener</span> <a href="#onerror1" title=handler-MessagePort-onerror>onerror</a>;
            attribute <span>EventListener</span> <a href="#onunload0" title=handler-MessagePort-onunload>onunload</a>;
 };</pre>
 
@@ -42804,6 +42806,22 @@
      bubbles through the <code><a href="#messageport0">MessagePort</a></code>
      object.
 
+   <dt><dfn id=onload0
+    title=handler-MessagePort-onload><code>onload</code></dfn>
+
+   <dd>
+    <p>Must be invoked whenever a <code title=event-load><a
+     href="#load0">load</a></code> event is targeted at or bubbles through
+     the <code><a href="#messageport0">MessagePort</a></code> object.
+
+   <dt><dfn id=onerror1
+    title=handler-MessagePort-onerror><code>onerror</code></dfn>
+
+   <dd>
+    <p>Must be invoked whenever an <code title=event-error><a
+     href="#error1">error</a></code> event is targeted at or bubbles through
+     the <code><a href="#messageport0">MessagePort</a></code> object.
+
    <dt><dfn id=onunload0
     title=handler-MessagePort-onunload><code>onunload</code></dfn>
 
@@ -42813,8 +42831,10 @@
      href="#messageport0">MessagePort</a></code> object.
   </dl>
 
-  <p class=note>Nothing in this specification causes an <code
-   title=event-unload>unload</code> event to be targetted at a <code><a
+  <p class=note>Nothing in this specification causes any <code
+   title=event-load><a href="#load0">load</a></code>, <code
+   title=event-error><a href="#error1">error</a></code>, or <code
+   title=event-unload>unload</code> events to be targetted at a <code><a
    href="#messageport0">MessagePort</a></code> object. This feature is
    intended for use with Workers. <a href="#refsWORKERS">[WORKERS]</a>
 

Modified: source
===================================================================
--- source	2008-07-15 20:42:31 UTC (rev 1881)
+++ source	2008-07-16 20:02:32 UTC (rev 1882)
@@ -40227,6 +40227,8 @@
 
   // event handler attributes
            attribute <span>EventListener</span> <span title="handler-MessagePort-onmessage">onmessage</span>;
+           attribute <span>EventListener</span> <span title="handler-MessagePort-onload">onload</span>;
+           attribute <span>EventListener</span> <span title="handler-MessagePort-onerror">onerror</span>;
            attribute <span>EventListener</span> <span title="handler-MessagePort-onunload">onunload</span>;
 };</pre>
 
@@ -40470,6 +40472,18 @@
    title="event-MessagePort-message">message</code> event is targeted
    at or bubbles through the <code>MessagePort</code> object.</p></dd>
 
+   <dt><dfn title="handler-MessagePort-onload"><code>onload</code></dfn></dt>
+
+   <dd><p>Must be invoked whenever a <code
+   title="event-load">load</code> event is targeted at or bubbles
+   through the <code>MessagePort</code> object.</p></dd>
+
+   <dt><dfn title="handler-MessagePort-onerror"><code>onerror</code></dfn></dt>
+
+   <dd><p>Must be invoked whenever an <code
+   title="event-error">error</code> event is targeted at or bubbles
+   through the <code>MessagePort</code> object.</p></dd>
+
    <dt><dfn title="handler-MessagePort-onunload"><code>onunload</code></dfn></dt>
 
    <dd><p>Must be invoked whenever an <code
@@ -40478,8 +40492,10 @@
 
   </dl>
 
-  <p class="note">Nothing in this specification causes an <code
-  title="event-unload">unload</code> event to be targetted at a
+  <p class="note">Nothing in this specification causes any <code
+  title="event-load">load</code>, <code
+  title="event-error">error</code>, or <code
+  title="event-unload">unload</code> events to be targetted at a
   <code>MessagePort</code> object. This feature is intended for use
   with Workers. <a href="#refsWORKERS">[WORKERS]</a></p>
 




More information about the Commit-Watchers mailing list