discovery-api/Overview.src.html
changeset 448 865b6f93faac
parent 447 5e36d90b8960
child 449 41aeb68f3f12
--- a/discovery-api/Overview.src.html	Thu Aug 29 11:01:15 2013 +0200
+++ b/discovery-api/Overview.src.html	Fri Aug 30 11:56:42 2013 +0200
@@ -716,10 +716,9 @@
 
   // event handler attributes
            attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
-     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onserviceavailable">onserviceavailable</a>;
+     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onservicefound">onservicefound</a>;
            attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
-     class="externalDFN">EventHandler</a>     <a href=
-     "#dom-networkservices-onserviceunavailable">onserviceunavailable</a>;
+     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onservicelost">onservicelost</a>;
 
 };
 
@@ -849,20 +848,20 @@
           <tbody>
             <tr>
               <td>
-                <dfn id="dom-networkservices-onserviceavailable"
-                    title="dom-NetworkServices-onserviceavailable"><code>onserviceavailable</code></dfn>
+                <dfn id="dom-networkservices-onservicefound"
+                    title="dom-NetworkServices-onservicefound"><code>onservicefound</code></dfn>
               </td>
               <td>
-                <a href="#event-serviceavailable"><code>serviceavailable</code></a>
+                <a href="#event-servicefound"><code>servicefound</code></a>
               </td>
             </tr>
             <tr>
               <td>
-                <dfn id="dom-networkservices-onserviceunavailable"
-                    title="dom-NetworkServices-onserviceunavailable"><code>onserviceunavailable</code></dfn>
+                <dfn id="dom-networkservices-onservicelost"
+                    title="dom-NetworkServices-onservicelost"><code>onservicelost</code></dfn>
               </td>
               <td>
-                <a href="#event-serviceunavailable"><code>serviceunavailable</code></a>
+                <a href="#event-servicelost"><code>servicelost</code></a>
               </td>
             </tr>
           </tbody>
@@ -890,9 +889,9 @@
 
   // event handler attributes
            attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
-     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onserviceonline">onserviceonline</a>;
+     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onavailable">onavailable</a>;
            attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
-     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onserviceoffline">onserviceoffline</a>;
+     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onunavailable">onunavailable</a>;
 
            attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
      class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onnotify">onnotify</a>;
@@ -1037,20 +1036,20 @@
             </tr>
             <tr>
               <td>
-                <dfn id="dom-networkservice-onserviceonline"
-                    title="dom-NetworkService-onserviceonline"><code>onserviceonline</code></dfn>
+                <dfn id="dom-networkservice-onavailable"
+                    title="dom-NetworkService-onavailable"><code>onavailable</code></dfn>
               </td>
               <td>
-                <a href="#event-serviceonline"><code>serviceonline</code></a>
+                <a href="#event-available"><code>available</code></a>
               </td>
             </tr>
             <tr>
               <td>
-                <dfn id="dom-networkservice-onserviceoffline"
-                    title="dom-NetworkService-onserviceoffline"><code>onserviceoffline</code></dfn>
+                <dfn id="dom-networkservice-onunavailable"
+                    title="dom-NetworkService-onunavailable"><code>onunavailable</code></dfn>
               </td>
               <td>
-                <a href="#event-serviceoffline"><code>serviceoffline</code></a>
+                <a href="#event-unavailable"><code>unavailable</code></a>
               </td>
             </tr>
           </tbody>
@@ -1132,7 +1131,7 @@
                 "#dom-networkservice-online"><code>online</code></a> attribute to <code>true</code> and then <a href=
                 "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
                       class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
-                      "#event-serviceonline"><code>serviceonline</code></a> that uses the <a href=
+                      "#event-available"><code>available</code></a> that uses the <a href=
                       "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
                       class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable,
                       and has no default action, at the current <var>active service</var> object.
@@ -1158,7 +1157,7 @@
             "#dom-networkservices-servicesavailable"><code>servicesAvailable</code></a> attribute by <code>1</code> and
             then <a href="http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
                   class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
-                  "#event-serviceavailable"><code>serviceavailable</code></a> that uses the <a href=
+                  "#event-servicefound"><code>servicefound</code></a> that uses the <a href=
                   "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
                   class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable, and
                   has no default action, at the current <var>service manager</var> object.
@@ -1196,7 +1195,7 @@
                       online</code></a> attribute to <code>false</code> and then <a href=
                       "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
                           class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
-                          "#event-serviceoffline"><code>serviceoffline</code></a> that uses the <a href=
+                          "#event-unavailable"><code>unavailable</code></a> that uses the <a href=
                           "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
                           class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not
                           cancellable, and has no default action, at the current <var>active service</var>.
@@ -1222,7 +1221,7 @@
                 and then <a href=
                 "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
                       class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
-                      "#event-serviceunavailable"><code>serviceunavailable</code></a> that uses the <a href=
+                      "#event-servicelost"><code>servicelost</code></a> that uses the <a href=
                       "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
                       class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable,
                       and has no default action, at the current <var>service manager</var> object.
@@ -1730,7 +1729,7 @@
         <tbody>
           <tr>
             <td>
-              <dfn id="event-serviceavailable"><code>serviceavailable</code></dfn>
+              <dfn id="event-servicefound"><code>servicefound</code></dfn>
             </td>
             <td>
               <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
@@ -1743,7 +1742,7 @@
           </tr>
           <tr>
             <td>
-              <dfn id="event-serviceunavailable"><code>serviceunavailable</code></dfn>
+              <dfn id="event-servicelost"><code>servicelost</code></dfn>
             </td>
             <td>
               <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
@@ -1756,7 +1755,7 @@
           </tr>
           <tr>
             <td>
-              <dfn id="event-serviceonline"><code>serviceonline</code></dfn>
+              <dfn id="event-available"><code>available</code></dfn>
             </td>
             <td>
               <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
@@ -1768,7 +1767,7 @@
           </tr>
           <tr>
             <td>
-              <dfn id="event-serviceoffline"><code>serviceoffline</code></dfn>
+              <dfn id="event-unavailable"><code>unavailable</code></dfn>
             </td>
             <td>
               <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
@@ -1933,7 +1932,7 @@
 
 // Listen for service disconnect messages
 
-   services[0].addEventListener('serviceoffline', function ( e ) {
+   services[0].addEventListener('unavailable', function ( e ) {
        debug.innerHTML += "&lt;br&gt;" + services[0].name + " disconnected.";
        startBtn.disabled = false;
    }, false);