remove the annoying broken refernences to non existant promises material in what wg
--- a/discovery-api/WD_20140220.html Wed Feb 19 09:04:14 2014 -0500
+++ b/discovery-api/WD_20140220.html Wed Feb 19 17:16:20 2014 -0500
@@ -987,8 +987,7 @@
<span class="secno">5.</span> Requesting networked services
</h2>
<p class="issue">
- This section includes references and terminology related to <a class="externalDFN"
- href="http://dom.spec.whatwg.org/#promises">Promise</a> objects that at the time of publication were still under
+ This section includes references and terminology related to Promise objects that at the time of publication were still under
development. Promise-related concepts included in this section are temporarily drafted elsewhere and can be
found <a href="https://github.com/domenic/promises-unwrapping/blob/master/README.md">here</a>.
</p>
@@ -1029,14 +1028,11 @@
class="internalDFN">valid service type</a> tokens that the web page would like to interact with.
</p>
<p>
- If the user accepts, the <var title="">promise</var> object is <a class="externalDFN"
- href="http://dom.spec.whatwg.org/#concept-resolver-resolve">resolved</a>, with a <a href=
+ If the user accepts, the <var title="">promise</var> object is resolved, with a <a href=
"#networkservices"><code>NetworkServices</code></a> object as its argument.
</p>
<p>
- If the user declines, or an error occurs, the <var title="">promise</var> object is <a class=
- "externalDFN"
- href="http://dom.spec.whatwg.org/#concept-resolver-reject">rejected</a>.
+ If the user declines, or an error occurs, the <var title="">promise</var> object is rejected.
</p>
</dd>
</dl>
@@ -1052,9 +1048,7 @@
<li>Let <var>Network Service Promise</var> be a new <a href="http://dom.spec.whatwg.org/#promise"
class="externalDFN"><code>Promise</code></a> object.
</li>
- <li>Let <var>Network Service Promise's Resolver</var> be the default <a href=
- "http://dom.spec.whatwg.org/#concept-resolver"
- class="externalDFN">resolver</a> of <var>Network Service Promise</var>.
+ <li>Let <var>Network Service Promise's Resolver</var> be the default resolver of <var>Network Service Promise</var>.
</li>
<li>Return <var>Network Service Promise</var>, and run the remaining steps asynchronously.
</li>
@@ -1073,9 +1067,7 @@
"valid service type"
href="#dfn-valid-service-type"
class="internalDFN">valid service type</a> tokens then continue to the step labeled <em>process</em>
- below. Otherwise, reject <var>Network Service Promise</var> by running the <a href=
- "http://dom.spec.whatwg.org/#concept-resolver-reject"
- class="externalDFN">resolver reject algorithm</a> against the <var>Network Service Promise's
+ below. Otherwise, reject <var>Network Service Promise</var> by running the resolver reject algorithm against the <var>Network Service Promise's
Resolver</var>, passing in a newly constructed <a href="http://dom.spec.whatwg.org/#domerror"
class="externalDFN"><code>DOMError</code></a> object whose <code>name</code> attribute has the string
value "UnknownTypePrefixError" (<a href=
@@ -1124,9 +1116,7 @@
<li>Optionally, e.g. based on a previously-established user preference, for security reasons, or due to
platform limitations, the <a href="#dfn-user-agent"
class="internalDFN">user agent</a> <em class="rfc2119"
- title="MAY">MAY</em> reject <var>Network Service Promise</var> by running the <a href=
- "http://dom.spec.whatwg.org/#concept-resolver-reject"
- class="externalDFN">resolver reject algorithm</a> against the <var>Network Service Promise's
+ title="MAY">MAY</em> reject <var>Network Service Promise</var> by running the resolver reject algorithm against the <var>Network Service Promise's
Resolver</var>, passing in a newly constructed <a href="http://dom.spec.whatwg.org/#domerror"
class="externalDFN"><code>DOMError</code></a> object whose <code>name</code> attribute has the string
value "PermissionDeniedError" (<a href=
@@ -1170,9 +1160,10 @@
If permission has been denied by the user, <a href="#dfn-user-agent"
class="internalDFN">user agent</a> or platform, then the <a href="#dfn-user-agent"
class="internalDFN">user agent</a> <em class="rfc2119"
- title="MUST">MUST</em> reject <var>Network Service Promise</var> by running the <a href=
- "http://dom.spec.whatwg.org/#concept-resolver-reject"
- class="externalDFN">resolver reject algorithm</a> against the <var>Network Service Promise's
+ title="MUST">MUST</em> reject <var>Network Service
+ Promise</var> by running the resolver reject
+ algorithm against the <var>Network Service
+ Promise's
Resolver</var>, passing in a newly constructed <a href="http://dom.spec.whatwg.org/#domerror"
class="externalDFN"><code>DOMError</code></a> object whose <code>name</code> attribute has the
string value "PermissionDeniedError" (<a href=
@@ -1225,9 +1216,7 @@
</li>
<li>The <a href="#dfn-user-agent"
class="internalDFN">user agent</a> <em class="rfc2119"
- title="MUST">MUST</em> fulfill <var>Network Service Promise</var> by running the <a href=
- "http://dom.spec.whatwg.org/#concept-resolver-fulfill"
- class="externalDFN">resolver fulfill algorithm</a> against the <var>Network Service Promise's
+ title="MUST">MUST</em> fulfill <var>Network Service Promise</var> by running the resolver fulfill algorithm</a> against the <var>Network Service Promise's
Resolver</var>, passing in <var>services manager</var> as its argument.
</li>
</ol>