dap commit: Only set online to true if it was previously false in Step 3.1.1 of the rule for 'adding an available service'.

changeset:   392:38bf34c08d76
tag:         tip
user:        Rich Tibbett <richt@opera.com>
date:        Fri Feb 08 15:57:16 2013 +0100
files:       discovery-api/Overview.html discovery-api/Overview.src.html
description:
Only set online to true if it was previously false in Step 3.1.1 of the rule for 'adding an available service'.


diff -r 8621c3c1faf5 -r 38bf34c08d76 discovery-api/Overview.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=
diff -r 8621c3c1faf5 -r 38bf34c08d76 discovery-api/Overview.src.html
--- 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=

Received on Friday, 8 February 2013 14:57:17 UTC