Add removal of entry script origin's URL whitelist urls during the getNetworkServices() algorithm.
authorRich Tibbett <richt@opera.com>
Tue, 05 Feb 2013 13:20:57 +0100
changeset 377a311e7fe116c
parent 376 631133236bc9
child 378 89d1cef16d35
Add removal of entry script origin's URL whitelist urls during the getNetworkServices() algorithm.
discovery-api/Overview.src.html
     1.1 --- a/discovery-api/Overview.src.html	Mon Feb 04 16:02:58 2013 +0100
     1.2 +++ b/discovery-api/Overview.src.html	Tue Feb 05 13:20:57 2013 +0100
     1.3 @@ -469,6 +469,12 @@
     1.4              or more <a href="#networkservice"><code>NetworkService</code></a> objects for which the user granted
     1.5              permission above - known as the current objects <dfn>user-authorized</dfn> services.
     1.6              </li>
     1.7 +            <li>Remove all previously whitelisted urls from the <a>entry script origin's URL whitelist</a> granted in
     1.8 +            the current <a href="http://www.whatwg.org/specs/web-apps/current-work/complete/browsers.html#entry-script"
     1.9 +                  class="externalDFN">entry script</a>'s <a href=
    1.10 +                  "http://www.whatwg.org/specs/web-apps/current-work/complete/origin-0.html#origin"
    1.11 +                  class="externalDFN">origin</a>.
    1.12 +            </li>
    1.13              <li>For each Object <var>service</var> in <var>services</var>, if any, run the following sub-steps:
    1.14                <ol class="rule">
    1.15                  <li>Add the <var>service</var>'s <code>url</code> parameter to the <a>entry script origin's
    1.16 @@ -1593,10 +1599,10 @@
    1.17          <div>
    1.18            <p>
    1.19              When the <a>user agent</a> detects that the user has dropped from a connected network then, for each
    1.20 -            <var>existing service record</var> in the <a>list of available service records</a> discovered via that network connection,
    1.21 -            the <a>user agent</a> MUST run
    1.22 -            the general rule for <a>removing an available service</a> passing in each <var>existing service
    1.23 -            record</var>'s <code>id</code> property as the only argument for each call.
    1.24 +            <var>existing service record</var> in the <a>list of available service records</a> discovered via that
    1.25 +            network connection, the <a>user agent</a> MUST run the general rule for <a>removing an available
    1.26 +            service</a> passing in each <var>existing service record</var>'s <code>id</code> property as the only
    1.27 +            argument for each call.
    1.28            </p>
    1.29            <p>
    1.30              When the <a>user agent</a> detects that the user has connected to a new network or reconnected to an