discovery-api/Overview.src.html
changeset 195 76074ec7e535
parent 194 ad608906c611
child 197 383c29793d6b
     1.1 --- a/discovery-api/Overview.src.html	Wed Aug 22 16:39:44 2012 +0200
     1.2 +++ b/discovery-api/Overview.src.html	Wed Aug 22 16:50:21 2012 +0200
     1.3 @@ -836,7 +836,7 @@
     1.4        </dl>
     1.5  
     1.6        <p>
     1.7 -        The <dfn id="dom-networkservice-config"><code>online</code></dfn> attribute indicates whether the service is reporting itself as being
     1.8 +        The <dfn id="dom-networkservice-online"><code>online</code></dfn> attribute indicates whether the service is reporting itself as being
     1.9          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>.
    1.10        </p>
    1.11  
    1.12 @@ -884,7 +884,7 @@
    1.13            </tr>
    1.14            <tr>
    1.15              <td>
    1.16 -              <dfn id="dom-networkservice-offserviceoffline" title="dom-NetworkService-onserviceoffline">
    1.17 +              <dfn id="dom-networkservice-onserviceoffline" title="dom-NetworkService-onserviceoffline">
    1.18                  <code>onserviceoffline</code>
    1.19                </dfn>
    1.20              </td>
    1.21 @@ -1111,13 +1111,20 @@
    1.22                       <a href="#networkservice"><code>NetworkService</code></a> object.
    1.23                    </li>
    1.24                    <li>
    1.25 -                     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>
    1.26 +                     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>
    1.27                       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>
    1.28 +                      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
    1.29 +                      <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>
    1.30 +                     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>
    1.31 +                       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
    1.32 +                       <a href="#networkservice"><code>NetworkServices</code></a> object.
    1.33 +                  </li>
    1.34 +                  <li>
    1.35 +                     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>
    1.36                        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
    1.37 -                      <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>
    1.38 -                     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>
    1.39 +                      <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>
    1.40                         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
    1.41 -                       <a href="#networkservice"><code>NetworkService</code></a> object..
    1.42 +                       <a href="#networkservice"><code>NetworkService</code></a> object.
    1.43                    </li>
    1.44                 </ol>
    1.45              </li>