[html5] r5951 - [giow] (0) Use 'message' instead of 'text' for the event name for consistency wi [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Mar 14 15:21:02 PDT 2011


Author: ianh
Date: 2011-03-14 15:21:01 -0700 (Mon, 14 Mar 2011)
New Revision: 5951

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Use 'message' instead of 'text' for the event name for consistency with other parts of the platform.

Modified: complete.html
===================================================================
--- complete.html	2011-03-14 19:23:45 UTC (rev 5950)
+++ complete.html	2011-03-14 22:21:01 UTC (rev 5951)
@@ -71716,7 +71716,7 @@
 
   // <span class=XXX>connection quality information</span>
 
-           attribute <a href=#function>Function</a> <a href=#handler-peerconnection-ontext title=handler-PeerConnection-ontext>ontext</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-peerconnection-onmessage title=handler-PeerConnection-onmessage>onmessage</a>;
            attribute <a href=#function>Function</a> <a href=#handler-peerconnection-onaddstream title=handler-PeerConnection-onaddstream>onaddstream</a>;
            attribute <a href=#function>Function</a> <a href=#handler-peerconnection-onremovestream title=handler-PeerConnection-onremovestream>onremovestream</a>;
 };
@@ -71810,7 +71810,7 @@
     every message will be received.</p>
 
     <p>When a message sent in this manner from the other peer is
-    received, a <code title=event-PeerConnection-text>text</code>
+    received, a <code title=event-PeerConnection-message>message</code>
     event is dispatched at the <code><a href=#peerconnection>PeerConnection</a></code> object.</p>
 
    </dd>
@@ -72202,7 +72202,7 @@
   interface:</p>
 
   <table><thead><tr><th><a href=#event-handlers title="event handlers">Event handler</a> <th><a href=#event-handler-event-type>Event handler event type</a>
-   <tbody><tr><td><dfn id=handler-peerconnection-ontext title=handler-PeerConnection-ontext><code>ontext</code></dfn> <td> <code title=event-stream-text>text</code>
+   <tbody><tr><td><dfn id=handler-peerconnection-onmessage title=handler-PeerConnection-onmessage><code>onmessage</code></dfn> <td> <code title=event-stream-message>message</code>
     <tr><td><dfn id=handler-peerconnection-onaddstream title=handler-PeerConnection-onaddstream><code>onaddstream</code></dfn> <td> <code title=event-stream-addstream>addstream</code>
     <tr><td><dfn id=handler-peerconnection-onremovestream title=handler-PeerConnection-onremovestream><code>onremovestream</code></dfn> <td> <code title=event-stream-removestream>removestream</code>
   </table><hr><p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> listed in this section is the
@@ -72390,7 +72390,7 @@
    handling</a>.</li>
 
    <li><p>Create an event that uses the <code><a href=#messageevent>MessageEvent</a></code>
-   interface, with the name <code title=event-text>text</code>,
+   interface, with the name <code title=event-message><a href=#event-message>message</a></code>,
    which does not bubble, is not cancelable, has no default action,
    and has a <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute
    whose value is <var title="">message</var>, and <a href=#queue-a-task>queue a

Modified: index
===================================================================
--- index	2011-03-14 19:23:45 UTC (rev 5950)
+++ index	2011-03-14 22:21:01 UTC (rev 5951)
@@ -71725,7 +71725,7 @@
 
   // <span class=XXX>connection quality information</span>
 
-           attribute <a href=#function>Function</a> <a href=#handler-peerconnection-ontext title=handler-PeerConnection-ontext>ontext</a>;
+           attribute <a href=#function>Function</a> <a href=#handler-peerconnection-onmessage title=handler-PeerConnection-onmessage>onmessage</a>;
            attribute <a href=#function>Function</a> <a href=#handler-peerconnection-onaddstream title=handler-PeerConnection-onaddstream>onaddstream</a>;
            attribute <a href=#function>Function</a> <a href=#handler-peerconnection-onremovestream title=handler-PeerConnection-onremovestream>onremovestream</a>;
 };
@@ -71819,7 +71819,7 @@
     every message will be received.</p>
 
     <p>When a message sent in this manner from the other peer is
-    received, a <code title=event-PeerConnection-text>text</code>
+    received, a <code title=event-PeerConnection-message>message</code>
     event is dispatched at the <code><a href=#peerconnection>PeerConnection</a></code> object.</p>
 
    </dd>
@@ -72211,7 +72211,7 @@
   interface:</p>
 
   <table><thead><tr><th><a href=#event-handlers title="event handlers">Event handler</a> <th><a href=#event-handler-event-type>Event handler event type</a>
-   <tbody><tr><td><dfn id=handler-peerconnection-ontext title=handler-PeerConnection-ontext><code>ontext</code></dfn> <td> <code title=event-stream-text>text</code>
+   <tbody><tr><td><dfn id=handler-peerconnection-onmessage title=handler-PeerConnection-onmessage><code>onmessage</code></dfn> <td> <code title=event-stream-message>message</code>
     <tr><td><dfn id=handler-peerconnection-onaddstream title=handler-PeerConnection-onaddstream><code>onaddstream</code></dfn> <td> <code title=event-stream-addstream>addstream</code>
     <tr><td><dfn id=handler-peerconnection-onremovestream title=handler-PeerConnection-onremovestream><code>onremovestream</code></dfn> <td> <code title=event-stream-removestream>removestream</code>
   </table><hr><p>The <a href=#task-source>task source</a> for the <a href=#concept-task title=concept-task>tasks</a> listed in this section is the
@@ -72399,7 +72399,7 @@
    handling</a>.</li>
 
    <li><p>Create an event that uses the <code><a href=#messageevent>MessageEvent</a></code>
-   interface, with the name <code title=event-text>text</code>,
+   interface, with the name <code title=event-message><a href=#event-message>message</a></code>,
    which does not bubble, is not cancelable, has no default action,
    and has a <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code> attribute
    whose value is <var title="">message</var>, and <a href=#queue-a-task>queue a

Modified: source
===================================================================
--- source	2011-03-14 19:23:45 UTC (rev 5950)
+++ source	2011-03-14 22:21:01 UTC (rev 5951)
@@ -81815,7 +81815,7 @@
 
   // <span class="XXX">connection quality information</span>
 
-           attribute <span>Function</span> <span title="handler-PeerConnection-ontext">ontext</span>;
+           attribute <span>Function</span> <span title="handler-PeerConnection-onmessage">onmessage</span>;
            attribute <span>Function</span> <span title="handler-PeerConnection-onaddstream">onaddstream</span>;
            attribute <span>Function</span> <span title="handler-PeerConnection-onremovestream">onremovestream</span>;
 };
@@ -81922,7 +81922,7 @@
     every message will be received.</p>
 
     <p>When a message sent in this manner from the other peer is
-    received, a <code title="event-PeerConnection-text">text</code>
+    received, a <code title="event-PeerConnection-message">message</code>
     event is dispatched at the <code>PeerConnection</code> object.</p>
 
    </dd>
@@ -82407,7 +82407,7 @@
    <thead>
     <tr><th><span title="event handlers">Event handler</span> <th><span>Event handler event type</span>
    <tbody>
-    <tr><td><dfn title="handler-PeerConnection-ontext"><code>ontext</code></dfn> <td> <code title="event-stream-text">text</code>
+    <tr><td><dfn title="handler-PeerConnection-onmessage"><code>onmessage</code></dfn> <td> <code title="event-stream-message">message</code>
     <tr><td><dfn title="handler-PeerConnection-onaddstream"><code>onaddstream</code></dfn> <td> <code title="event-stream-addstream">addstream</code>
     <tr><td><dfn title="handler-PeerConnection-onremovestream"><code>onremovestream</code></dfn> <td> <code title="event-stream-removestream">removestream</code>
   </table>
@@ -82622,7 +82622,7 @@
    handling</span>.</p></li>
 
    <li><p>Create an event that uses the <code>MessageEvent</code>
-   interface, with the name <code title="event-text">text</code>,
+   interface, with the name <code title="event-message">message</code>,
    which does not bubble, is not cancelable, has no default action,
    and has a <code title="dom-MessageEvent-data">data</code> attribute
    whose value is <var title="">message</var>, and <span>queue a




More information about the Commit-Watchers mailing list