Fix [DAP-ISSUE-134]: Rename NetworkServices and NetworkService events
authorRich Tibbett <richt@opera.com>
Fri, 30 Aug 2013 11:56:42 +0200
changeset 448865b6f93faac
parent 447 5e36d90b8960
child 449 41aeb68f3f12
Fix [DAP-ISSUE-134]: Rename NetworkServices and NetworkService events
discovery-api/Overview.html
discovery-api/Overview.src.html
     1.1 --- a/discovery-api/Overview.html	Thu Aug 29 11:01:15 2013 +0200
     1.2 +++ b/discovery-api/Overview.html	Fri Aug 30 11:56:42 2013 +0200
     1.3 @@ -223,10 +223,10 @@
     1.4        </h1>
     1.5        <h2 property="dcterms:issued"
     1.6            datatype="xsd:dateTime"
     1.7 -          content="2013-08-29T06:58:44.000Z"
     1.8 -          id="w3c-editor-s-draft-29-august-2013">
     1.9 +          content="2013-08-30T07:54:42.000Z"
    1.10 +          id="w3c-editor-s-draft-30-august-2013">
    1.11          <abbr title="World Wide Web Consortium">W3C</abbr> Editor's Draft <time class="dt-published"
    1.12 -            datetime="2013-08-29">29 August 2013</time>
    1.13 +            datetime="2013-08-30">30 August 2013</time>
    1.14        </h2>
    1.15        <dl>
    1.16          <dt>
    1.17 @@ -294,55 +294,6 @@
    1.18          within the current network.
    1.19        </p>
    1.20      </section>
    1.21 -    <section id="sotd"
    1.22 -             class="introductory"
    1.23 -             typeof="bibo:Chapter"
    1.24 -             resource="#sotd"
    1.25 -             rel="bibo:chapter">
    1.26 -      <h2 aria-level="1"
    1.27 -          role="heading"
    1.28 -          id="h2_sotd">
    1.29 -        Status of This Document
    1.30 -      </h2>
    1.31 -      <p>
    1.32 -        <em>This section describes the status of this document at the time of its publication. Other documents may
    1.33 -        supersede this document. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and
    1.34 -        the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/"><abbr title=
    1.35 -        "World Wide Web Consortium">W3C</abbr> technical reports index</a> at http://www.w3.org/TR/.</em>
    1.36 -      </p>
    1.37 -      <p>
    1.38 -        This document represents the early consensus of the group on the scope and features of the proposed
    1.39 -        <abbr title="Application Programming Interface">API</abbr>.
    1.40 -      </p>
    1.41 -      <p>
    1.42 -        This document was published by the <a href="http://www.w3.org/2009/dap/">Device APIs Working Group</a> as an
    1.43 -        Editor's Draft. If you wish to make comments regarding this document, please send them to <a href=
    1.44 -        "mailto:public-device-apis@w3.org">public-device-apis@w3.org</a> (<a href=
    1.45 -        "mailto:public-device-apis-request@w3.org?subject=subscribe">subscribe</a>, <a href=
    1.46 -        "http://lists.w3.org/Archives/Public/public-device-apis/">archives</a>). All comments are welcome.
    1.47 -      </p>
    1.48 -      <p>
    1.49 -        Publication as an Editor's Draft does not imply endorsement by the <abbr title=
    1.50 -        "World Wide Web Consortium">W3C</abbr> Membership. This is a draft document and may be updated, replaced or
    1.51 -        obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in
    1.52 -        progress.
    1.53 -      </p>
    1.54 -      <p>
    1.55 -        This document was produced by a group operating under the <a id="sotd_patent"
    1.56 -           about=""
    1.57 -           rel="w3p:patentRules"
    1.58 -           href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <abbr title=
    1.59 -           "World Wide Web Consortium">W3C</abbr> Patent Policy</a>. <abbr title="World Wide Web Consortium">W3C</abbr>
    1.60 -           maintains a <a href="http://www.w3.org/2004/01/pp-impl/43696/status"
    1.61 -           rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the
    1.62 -           group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge
    1.63 -           of a patent which the individual believes contains <a href=
    1.64 -           "http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose
    1.65 -           the information in accordance with <a href=
    1.66 -           "http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the <abbr title=
    1.67 -           "World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
    1.68 -      </p>
    1.69 -    </section>
    1.70      <section id="toc">
    1.71        <h2 class="introductory"
    1.72            aria-level="1"
    1.73 @@ -1259,10 +1210,9 @@
    1.74  
    1.75    // event handler attributes
    1.76             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    1.77 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onserviceavailable">onserviceavailable</a>;
    1.78 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onservicefound">onservicefound</a>;
    1.79             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    1.80 -     class="externalDFN">EventHandler</a>     <a href=
    1.81 -     "#dom-networkservices-onserviceunavailable">onserviceunavailable</a>;
    1.82 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onservicelost">onservicelost</a>;
    1.83  
    1.84  };
    1.85  
    1.86 @@ -1422,20 +1372,20 @@
    1.87            <tbody>
    1.88              <tr>
    1.89                <td>
    1.90 -                <dfn id="dom-networkservices-onserviceavailable"
    1.91 -                    title="dom-NetworkServices-onserviceavailable"><code>onserviceavailable</code></dfn>
    1.92 +                <dfn id="dom-networkservices-onservicefound"
    1.93 +                    title="dom-NetworkServices-onservicefound"><code>onservicefound</code></dfn>
    1.94                </td>
    1.95                <td>
    1.96 -                <a href="#event-serviceavailable"><code>serviceavailable</code></a>
    1.97 +                <a href="#event-servicefound"><code>servicefound</code></a>
    1.98                </td>
    1.99              </tr>
   1.100              <tr>
   1.101                <td>
   1.102 -                <dfn id="dom-networkservices-onserviceunavailable"
   1.103 -                    title="dom-NetworkServices-onserviceunavailable"><code>onserviceunavailable</code></dfn>
   1.104 +                <dfn id="dom-networkservices-onservicelost"
   1.105 +                    title="dom-NetworkServices-onservicelost"><code>onservicelost</code></dfn>
   1.106                </td>
   1.107                <td>
   1.108 -                <a href="#event-serviceunavailable"><code>serviceunavailable</code></a>
   1.109 +                <a href="#event-servicelost"><code>servicelost</code></a>
   1.110                </td>
   1.111              </tr>
   1.112            </tbody>
   1.113 @@ -1466,9 +1416,9 @@
   1.114  
   1.115    // event handler attributes
   1.116             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
   1.117 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onserviceonline">onserviceonline</a>;
   1.118 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onavailable">onavailable</a>;
   1.119             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
   1.120 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onserviceoffline">onserviceoffline</a>;
   1.121 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onunavailable">onunavailable</a>;
   1.122  
   1.123             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
   1.124       class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onnotify">onnotify</a>;
   1.125 @@ -1628,20 +1578,20 @@
   1.126              </tr>
   1.127              <tr>
   1.128                <td>
   1.129 -                <dfn id="dom-networkservice-onserviceonline"
   1.130 -                    title="dom-NetworkService-onserviceonline"><code>onserviceonline</code></dfn>
   1.131 +                <dfn id="dom-networkservice-onavailable"
   1.132 +                    title="dom-NetworkService-onavailable"><code>onavailable</code></dfn>
   1.133                </td>
   1.134                <td>
   1.135 -                <a href="#event-serviceonline"><code>serviceonline</code></a>
   1.136 +                <a href="#event-available"><code>available</code></a>
   1.137                </td>
   1.138              </tr>
   1.139              <tr>
   1.140                <td>
   1.141 -                <dfn id="dom-networkservice-onserviceoffline"
   1.142 -                    title="dom-NetworkService-onserviceoffline"><code>onserviceoffline</code></dfn>
   1.143 +                <dfn id="dom-networkservice-onunavailable"
   1.144 +                    title="dom-NetworkService-onunavailable"><code>onunavailable</code></dfn>
   1.145                </td>
   1.146                <td>
   1.147 -                <a href="#event-serviceoffline"><code>serviceoffline</code></a>
   1.148 +                <a href="#event-unavailable"><code>unavailable</code></a>
   1.149                </td>
   1.150              </tr>
   1.151            </tbody>
   1.152 @@ -1751,7 +1701,7 @@
   1.153                  "#dom-networkservice-online"><code>online</code></a> attribute to <code>true</code> and then <a href=
   1.154                  "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
   1.155                        class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
   1.156 -                      "#event-serviceonline"><code>serviceonline</code></a> that uses the <a href=
   1.157 +                      "#event-available"><code>available</code></a> that uses the <a href=
   1.158                        "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.159                        class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable,
   1.160                        and has no default action, at the current <var>active service</var> object.
   1.161 @@ -1777,7 +1727,7 @@
   1.162              "#dom-networkservices-servicesavailable"><code>servicesAvailable</code></a> attribute by <code>1</code> and
   1.163              then <a href="http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
   1.164                    class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
   1.165 -                  "#event-serviceavailable"><code>serviceavailable</code></a> that uses the <a href=
   1.166 +                  "#event-servicefound"><code>servicefound</code></a> that uses the <a href=
   1.167                    "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.168                    class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable, and
   1.169                    has no default action, at the current <var>service manager</var> object.
   1.170 @@ -1817,7 +1767,7 @@
   1.171                        online</code></a> attribute to <code>false</code> and then <a href=
   1.172                        "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
   1.173                            class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
   1.174 -                          "#event-serviceoffline"><code>serviceoffline</code></a> that uses the <a href=
   1.175 +                          "#event-unavailable"><code>unavailable</code></a> that uses the <a href=
   1.176                            "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.177                            class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not
   1.178                            cancellable, and has no default action, at the current <var>active service</var>.
   1.179 @@ -1843,7 +1793,7 @@
   1.180                  and then <a href=
   1.181                  "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
   1.182                        class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
   1.183 -                      "#event-serviceunavailable"><code>serviceunavailable</code></a> that uses the <a href=
   1.184 +                      "#event-servicelost"><code>servicelost</code></a> that uses the <a href=
   1.185                        "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.186                        class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable,
   1.187                        and has no default action, at the current <var>service manager</var> object.
   1.188 @@ -2552,7 +2502,7 @@
   1.189          <tbody>
   1.190            <tr>
   1.191              <td>
   1.192 -              <dfn id="event-serviceavailable"><code>serviceavailable</code></dfn>
   1.193 +              <dfn id="event-servicefound"><code>servicefound</code></dfn>
   1.194              </td>
   1.195              <td>
   1.196                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.197 @@ -2566,7 +2516,7 @@
   1.198            </tr>
   1.199            <tr>
   1.200              <td>
   1.201 -              <dfn id="event-serviceunavailable"><code>serviceunavailable</code></dfn>
   1.202 +              <dfn id="event-servicelost"><code>servicelost</code></dfn>
   1.203              </td>
   1.204              <td>
   1.205                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.206 @@ -2580,7 +2530,7 @@
   1.207            </tr>
   1.208            <tr>
   1.209              <td>
   1.210 -              <dfn id="event-serviceonline"><code>serviceonline</code></dfn>
   1.211 +              <dfn id="event-available"><code>available</code></dfn>
   1.212              </td>
   1.213              <td>
   1.214                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.215 @@ -2593,7 +2543,7 @@
   1.216            </tr>
   1.217            <tr>
   1.218              <td>
   1.219 -              <dfn id="event-serviceoffline"><code>serviceoffline</code></dfn>
   1.220 +              <dfn id="event-unavailable"><code>unavailable</code></dfn>
   1.221              </td>
   1.222              <td>
   1.223                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.224 @@ -2817,7 +2767,7 @@
   1.225  </span><span class="com">// Listen for service disconnect messages</span><span class="pln">
   1.226  
   1.227     services</span><span class="pun">[</span><span class="lit">0</span><span class="pun">].</span><span class=
   1.228 -"pln">addEventListener</span><span class="pun">(</span><span class="str">'serviceoffline'</span><span class=
   1.229 +"pln">addEventListener</span><span class="pun">(</span><span class="str">'unavailable'</span><span class=
   1.230  "pun">,</span><span class="pln"> </span><span class="kwd">function</span><span class="pln"> </span><span class=
   1.231  "pun">(</span><span class="pln"> e </span><span class="pun">)</span><span class="pln"> </span><span class=
   1.232  "pun">{</span><span class="pln">
     2.1 --- a/discovery-api/Overview.src.html	Thu Aug 29 11:01:15 2013 +0200
     2.2 +++ b/discovery-api/Overview.src.html	Fri Aug 30 11:56:42 2013 +0200
     2.3 @@ -716,10 +716,9 @@
     2.4  
     2.5    // event handler attributes
     2.6             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
     2.7 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onserviceavailable">onserviceavailable</a>;
     2.8 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onservicefound">onservicefound</a>;
     2.9             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    2.10 -     class="externalDFN">EventHandler</a>     <a href=
    2.11 -     "#dom-networkservices-onserviceunavailable">onserviceunavailable</a>;
    2.12 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onservicelost">onservicelost</a>;
    2.13  
    2.14  };
    2.15  
    2.16 @@ -849,20 +848,20 @@
    2.17            <tbody>
    2.18              <tr>
    2.19                <td>
    2.20 -                <dfn id="dom-networkservices-onserviceavailable"
    2.21 -                    title="dom-NetworkServices-onserviceavailable"><code>onserviceavailable</code></dfn>
    2.22 +                <dfn id="dom-networkservices-onservicefound"
    2.23 +                    title="dom-NetworkServices-onservicefound"><code>onservicefound</code></dfn>
    2.24                </td>
    2.25                <td>
    2.26 -                <a href="#event-serviceavailable"><code>serviceavailable</code></a>
    2.27 +                <a href="#event-servicefound"><code>servicefound</code></a>
    2.28                </td>
    2.29              </tr>
    2.30              <tr>
    2.31                <td>
    2.32 -                <dfn id="dom-networkservices-onserviceunavailable"
    2.33 -                    title="dom-NetworkServices-onserviceunavailable"><code>onserviceunavailable</code></dfn>
    2.34 +                <dfn id="dom-networkservices-onservicelost"
    2.35 +                    title="dom-NetworkServices-onservicelost"><code>onservicelost</code></dfn>
    2.36                </td>
    2.37                <td>
    2.38 -                <a href="#event-serviceunavailable"><code>serviceunavailable</code></a>
    2.39 +                <a href="#event-servicelost"><code>servicelost</code></a>
    2.40                </td>
    2.41              </tr>
    2.42            </tbody>
    2.43 @@ -890,9 +889,9 @@
    2.44  
    2.45    // event handler attributes
    2.46             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    2.47 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onserviceonline">onserviceonline</a>;
    2.48 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onavailable">onavailable</a>;
    2.49             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    2.50 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onserviceoffline">onserviceoffline</a>;
    2.51 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onunavailable">onunavailable</a>;
    2.52  
    2.53             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    2.54       class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onnotify">onnotify</a>;
    2.55 @@ -1037,20 +1036,20 @@
    2.56              </tr>
    2.57              <tr>
    2.58                <td>
    2.59 -                <dfn id="dom-networkservice-onserviceonline"
    2.60 -                    title="dom-NetworkService-onserviceonline"><code>onserviceonline</code></dfn>
    2.61 +                <dfn id="dom-networkservice-onavailable"
    2.62 +                    title="dom-NetworkService-onavailable"><code>onavailable</code></dfn>
    2.63                </td>
    2.64                <td>
    2.65 -                <a href="#event-serviceonline"><code>serviceonline</code></a>
    2.66 +                <a href="#event-available"><code>available</code></a>
    2.67                </td>
    2.68              </tr>
    2.69              <tr>
    2.70                <td>
    2.71 -                <dfn id="dom-networkservice-onserviceoffline"
    2.72 -                    title="dom-NetworkService-onserviceoffline"><code>onserviceoffline</code></dfn>
    2.73 +                <dfn id="dom-networkservice-onunavailable"
    2.74 +                    title="dom-NetworkService-onunavailable"><code>onunavailable</code></dfn>
    2.75                </td>
    2.76                <td>
    2.77 -                <a href="#event-serviceoffline"><code>serviceoffline</code></a>
    2.78 +                <a href="#event-unavailable"><code>unavailable</code></a>
    2.79                </td>
    2.80              </tr>
    2.81            </tbody>
    2.82 @@ -1132,7 +1131,7 @@
    2.83                  "#dom-networkservice-online"><code>online</code></a> attribute to <code>true</code> and then <a href=
    2.84                  "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
    2.85                        class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
    2.86 -                      "#event-serviceonline"><code>serviceonline</code></a> that uses the <a href=
    2.87 +                      "#event-available"><code>available</code></a> that uses the <a href=
    2.88                        "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
    2.89                        class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable,
    2.90                        and has no default action, at the current <var>active service</var> object.
    2.91 @@ -1158,7 +1157,7 @@
    2.92              "#dom-networkservices-servicesavailable"><code>servicesAvailable</code></a> attribute by <code>1</code> and
    2.93              then <a href="http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
    2.94                    class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
    2.95 -                  "#event-serviceavailable"><code>serviceavailable</code></a> that uses the <a href=
    2.96 +                  "#event-servicefound"><code>servicefound</code></a> that uses the <a href=
    2.97                    "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
    2.98                    class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable, and
    2.99                    has no default action, at the current <var>service manager</var> object.
   2.100 @@ -1196,7 +1195,7 @@
   2.101                        online</code></a> attribute to <code>false</code> and then <a href=
   2.102                        "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
   2.103                            class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
   2.104 -                          "#event-serviceoffline"><code>serviceoffline</code></a> that uses the <a href=
   2.105 +                          "#event-unavailable"><code>unavailable</code></a> that uses the <a href=
   2.106                            "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   2.107                            class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not
   2.108                            cancellable, and has no default action, at the current <var>active service</var>.
   2.109 @@ -1222,7 +1221,7 @@
   2.110                  and then <a href=
   2.111                  "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
   2.112                        class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
   2.113 -                      "#event-serviceunavailable"><code>serviceunavailable</code></a> that uses the <a href=
   2.114 +                      "#event-servicelost"><code>servicelost</code></a> that uses the <a href=
   2.115                        "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   2.116                        class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable,
   2.117                        and has no default action, at the current <var>service manager</var> object.
   2.118 @@ -1730,7 +1729,7 @@
   2.119          <tbody>
   2.120            <tr>
   2.121              <td>
   2.122 -              <dfn id="event-serviceavailable"><code>serviceavailable</code></dfn>
   2.123 +              <dfn id="event-servicefound"><code>servicefound</code></dfn>
   2.124              </td>
   2.125              <td>
   2.126                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   2.127 @@ -1743,7 +1742,7 @@
   2.128            </tr>
   2.129            <tr>
   2.130              <td>
   2.131 -              <dfn id="event-serviceunavailable"><code>serviceunavailable</code></dfn>
   2.132 +              <dfn id="event-servicelost"><code>servicelost</code></dfn>
   2.133              </td>
   2.134              <td>
   2.135                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   2.136 @@ -1756,7 +1755,7 @@
   2.137            </tr>
   2.138            <tr>
   2.139              <td>
   2.140 -              <dfn id="event-serviceonline"><code>serviceonline</code></dfn>
   2.141 +              <dfn id="event-available"><code>available</code></dfn>
   2.142              </td>
   2.143              <td>
   2.144                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   2.145 @@ -1768,7 +1767,7 @@
   2.146            </tr>
   2.147            <tr>
   2.148              <td>
   2.149 -              <dfn id="event-serviceoffline"><code>serviceoffline</code></dfn>
   2.150 +              <dfn id="event-unavailable"><code>unavailable</code></dfn>
   2.151              </td>
   2.152              <td>
   2.153                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   2.154 @@ -1933,7 +1932,7 @@
   2.155  
   2.156  // Listen for service disconnect messages
   2.157  
   2.158 -   services[0].addEventListener('serviceoffline', function ( e ) {
   2.159 +   services[0].addEventListener('unavailable', function ( e ) {
   2.160         debug.innerHTML += "&lt;br&gt;" + services[0].name + " disconnected.";
   2.161         startBtn.disabled = false;
   2.162     }, false);