discovery-api/Overview.src.html
changeset 203 1c5a2f31a18d
parent 192 3ecf12df315d
child 204 58fadbd65d13
     1.1 --- a/discovery-api/Overview.src.html	Sat Aug 25 00:52:13 2012 +0300
     1.2 +++ b/discovery-api/Overview.src.html	Mon Aug 27 09:51:00 2012 +0300
     1.3 @@ -493,7 +493,7 @@
     1.4                 <dfn id="dom-navigatornetworkserviceerror-permission_denied" title="dom-navigatornetworkserviceerror-permission_denied"><code>PERMISSION_DENIED_ERR</code></dfn> (numeric value 1)
     1.5              </dt>
     1.6              <dd>
     1.7 -               The user denied the page permission to access any services.
     1.8 +               The user or user agent denied the page permission to access any services.
     1.9              </dd>
    1.10              <dt>
    1.11                 <dfn id="dom-navigatornetworkserviceerror-unknown_type_prefix" title="dom-navigatornetworkserviceerror-unknown_type_prefix"><code>UNKNOWN_TYPE_PREFIX_ERR</code></dfn> (numeric value 2)
    1.12 @@ -795,7 +795,7 @@
    1.13        </dl>
    1.14  
    1.15            <p>
    1.16 -            The <dfn id="dom-networkservice-id"><code>id</code></dfn> attribute is a unique identifier for the service. Two services provided at different times or on different objects MUST have the same <a href="#dom-networkservice-id"><code>id</code></a> value.
    1.17 +            The <dfn id="dom-networkservice-id"><code>id</code></dfn> attribute is a unique identifier for the service. The same service provided at different times or on different objects MUST have the same <a href="#dom-networkservice-id"><code>id</code></a> value.
    1.18           </p>
    1.19  
    1.20           <p>
    1.21 @@ -836,7 +836,7 @@
    1.22        </dl>
    1.23  
    1.24        <p>
    1.25 -        The <dfn id="dom-networkservice-config"><code>online</code></dfn> attribute indicates whether the service is reporting itself as being
    1.26 +        The <dfn id="dom-networkservice-online"><code>online</code></dfn> attribute indicates whether the service is reporting itself as being
    1.27          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.28        </p>
    1.29  
    1.30 @@ -884,7 +884,7 @@
    1.31            </tr>
    1.32            <tr>
    1.33              <td>
    1.34 -              <dfn id="dom-networkservice-offserviceoffline" title="dom-NetworkService-onserviceoffline">
    1.35 +              <dfn id="dom-networkservice-onserviceoffline" title="dom-NetworkService-onserviceoffline">
    1.36                  <code>onserviceoffline</code>
    1.37                </dfn>
    1.38              </td>
    1.39 @@ -1111,13 +1111,20 @@
    1.40                       <a href="#networkservice"><code>NetworkService</code></a> object.
    1.41                    </li>
    1.42                    <li>
    1.43 -                     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.44 +                     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.45                       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.46 +                      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.47 +                      <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.48 +                     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.49 +                       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.50 +                       <a href="#networkservice"><code>NetworkServices</code></a> object.
    1.51 +                  </li>
    1.52 +                  <li>
    1.53 +                     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.54                        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.55 -                      <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.56 -                     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.57 +                      <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.58                         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.59 -                       <a href="#networkservice"><code>NetworkService</code></a> object..
    1.60 +                       <a href="#networkservice"><code>NetworkService</code></a> object.
    1.61                    </li>
    1.62                 </ol>
    1.63              </li>