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 39238bf34c08d76
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
     1.1 --- a/discovery-api/Overview.html	Fri Feb 08 15:49:52 2013 +0100
     1.2 +++ b/discovery-api/Overview.html	Fri Feb 08 15:57:16 2013 +0100
     1.3 @@ -1584,7 +1584,8 @@
     1.4              <li>For each <var>active service</var> in <var>service manager</var> run the following steps:
     1.5                <ol class="rule">
     1.6                  <li>If the <var>network service record</var>'s <code>id</code> property equals the <var>active
     1.7 -                service</var>'s <code>id</code> attribute then set <var>active service</var>'s <a href=
     1.8 +                service</var>'s <code>id</code> attribute and <var>active service</var>'s <code>online</code> attribute
     1.9 +                is currently set to <code>false</code> then set <var>active service</var>'s <a href=
    1.10                  "#dom-networkservice-online"><code>online</code></a> attribute to <code>true</code> and then <a href=
    1.11                  "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
    1.12                        class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
     2.1 --- a/discovery-api/Overview.src.html	Fri Feb 08 15:49:52 2013 +0100
     2.2 +++ b/discovery-api/Overview.src.html	Fri Feb 08 15:57:16 2013 +0100
     2.3 @@ -1061,7 +1061,8 @@
     2.4              <li>For each <var>active service</var> in <var>service manager</var> run the following steps:
     2.5                <ol class="rule">
     2.6                  <li>If the <var>network service record</var>'s <code>id</code> property equals the <var>active
     2.7 -                service</var>'s <code>id</code> attribute then set <var>active service</var>'s <a href=
     2.8 +                service</var>'s <code>id</code> attribute and <var>active service</var>'s <code>online</code> attribute
     2.9 +                is currently set to <code>false</code> then set <var>active service</var>'s <a href=
    2.10                  "#dom-networkservice-online"><code>online</code></a> attribute to <code>true</code> and then <a href=
    2.11                  "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
    2.12                        class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=