Only set online to true if it was previously false in Step 3.1.1 of the rule for 'adding an available service'.
authorRich Tibbett <richt@opera.com>
Fri, 08 Feb 2013 15:57:16 +0100
changeset 392 38bf34c08d76
parent 391 8621c3c1faf5
child 393 75bcab1fd231
Only set online to true if it was previously false in Step 3.1.1 of the rule for 'adding an available service'.
discovery-api/Overview.html
discovery-api/Overview.src.html
--- a/discovery-api/Overview.html	Fri Feb 08 15:49:52 2013 +0100
+++ b/discovery-api/Overview.html	Fri Feb 08 15:57:16 2013 +0100
@@ -1584,7 +1584,8 @@
             <li>For each <var>active service</var> in <var>service manager</var> run the following steps:
               <ol class="rule">
                 <li>If the <var>network service record</var>'s <code>id</code> property equals the <var>active
-                service</var>'s <code>id</code> attribute then set <var>active service</var>'s <a href=
+                service</var>'s <code>id</code> attribute and <var>active service</var>'s <code>online</code> attribute
+                is currently set to <code>false</code> then set <var>active service</var>'s <a href=
                 "#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=
--- a/discovery-api/Overview.src.html	Fri Feb 08 15:49:52 2013 +0100
+++ b/discovery-api/Overview.src.html	Fri Feb 08 15:57:16 2013 +0100
@@ -1061,7 +1061,8 @@
             <li>For each <var>active service</var> in <var>service manager</var> run the following steps:
               <ol class="rule">
                 <li>If the <var>network service record</var>'s <code>id</code> property equals the <var>active
-                service</var>'s <code>id</code> attribute then set <var>active service</var>'s <a href=
+                service</var>'s <code>id</code> attribute and <var>active service</var>'s <code>online</code> attribute
+                is currently set to <code>false</code> then set <var>active service</var>'s <a href=
                 "#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=