Clean up the UPnP Update Service Monitor
authorRich Tibbett <richt@opera.com>
Wed, 22 Aug 2012 16:50:21 +0200
changeset 195 76074ec7e535
parent 194 ad608906c611
child 196 d7463ce3e901
Clean up the UPnP Update Service Monitor
discovery-api/Overview.src.html
--- a/discovery-api/Overview.src.html	Wed Aug 22 16:39:44 2012 +0200
+++ b/discovery-api/Overview.src.html	Wed Aug 22 16:50:21 2012 +0200
@@ -836,7 +836,7 @@
       </dl>
 
       <p>
-        The <dfn id="dom-networkservice-config"><code>online</code></dfn> attribute indicates whether the service is reporting itself as being
+        The <dfn id="dom-networkservice-online"><code>online</code></dfn> attribute indicates whether the service is reporting itself as being
         either <var>online</var>, and therefore accessible on the local network, in which case this attribute will return <code>true</code> or, <var>offline</var>, and therefore not accessible on the local network, either temporarily or permanently, in which case this attribute will return <code>false</code>. This attribute MUST default to <code>true</code>.
       </p>
 
@@ -884,7 +884,7 @@
           </tr>
           <tr>
             <td>
-              <dfn id="dom-networkservice-offserviceoffline" title="dom-NetworkService-onserviceoffline">
+              <dfn id="dom-networkservice-onserviceoffline" title="dom-NetworkService-onserviceoffline">
                 <code>onserviceoffline</code>
               </dfn>
             </td>
@@ -1111,13 +1111,20 @@
                      <a href="#networkservice"><code>NetworkService</code></a> object.
                   </li>
                   <li>
-                     If the <var>announcement type</var> equals <code>ssdp:alive</code> then Increment the <a href="#dom-networkservices-servicesavailable"><code>servicesAvailable</code></a> attribute of the <a href="#networkservices"><code>NetworkServices</code></a>
+                     If the <var>announcement type</var> equals <code>ssdp:alive</code> then increment the <a href="#dom-networkservices-servicesavailable"><code>servicesAvailable</code></a> attribute of the <a href="#networkservices"><code>NetworkServices</code></a>
                      object 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 <code>serviceavailable</code> that uses the <code>Event</code> interface, which does not bubble, is not cancellable, and has no default action, at the current
+                      <a href="#networkservice"><code>NetworkServices</code></a> object. Otherwise, decrement the <a href="#dom-networkservices-servicesavailable"><code>servicesAvailable</code></a> attribute of the <a href="#networkservices"><code>NetworkServices</code></a>
+                     object 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 <code>serviceunavailable</code> that uses the <code>Event</code> interface, which does not bubble, is not cancellable, and has no default action, at the current
+                       <a href="#networkservice"><code>NetworkServices</code></a> object.
+                  </li>
+                  <li>
+                     If the <var>announcement type</var> equals <code>ssdp:alive</code> 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 <code>serviceonline</code> that uses the <code>Event</code> interface, which does not bubble, is not cancellable, and has no default action, at the current
-                      <a href="#networkservice"><code>NetworkService</code></a> object. Otherwise, decrement the <a href="#dom-networkservices-servicesavailable"><code>servicesAvailable</code></a> attribute of the <a href="#networkservices"><code>NetworkServices</code></a>
-                     object 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>
+                      <a href="#networkservice"><code>NetworkService</code></a> object. Otherwise, <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 <code>serviceoffline</code> that uses the <code>Event</code> interface, which does not bubble, is not cancellable, and has no default action, at the current
-                       <a href="#networkservice"><code>NetworkService</code></a> object..
+                       <a href="#networkservice"><code>NetworkService</code></a> object.
                   </li>
                </ol>
             </li>