Skip to content
Permalink
Browse files

Declare DOMException types

  • Loading branch information...
mfoltzgoogle committed Apr 29, 2015
1 parent b507cae commit b2672b0ccf884c3ec6d853abf9d727c8f716c03a
Showing with 37 additions and 14 deletions.
  1. +19 −6 Overview.src.html
  2. +18 −8 index.html
@@ -494,6 +494,11 @@ <h2>
"queue a task">queing a task</span> are defined in
<span data-anolis-ref="">HTML5</span>.
</p>
<p>
The term <span data-anolis-spec="dom" title=
"domexception">DOMException</span> is defined in <span data-anolis-ref=
"dom">DOM</span>.
</p>
<p>
The term <span data-anolis-spec="es6" title=
"promise-objects">Promise</span> is defined in <span data-anolis-ref=
@@ -517,7 +522,7 @@ <h2>
</p>
<p>
This document provides interface definitions using the
<span data-anolis-ref="">WEBIDL</span> standard.
<span data-anolis-ref="webidl">WEBIDL</span> standard.
</p>
</section>
<section>
@@ -1371,7 +1376,9 @@ <h4>
<li>
<span data-anolis-spec="promguide" title=
"resolve-reject">Reject</span> <em>P</em> with a
"NoScreensAvailable" exception.
<span data-anolis-spec="dom" title=
"domexception">DOMException</span> whose name is
<code>"NotFoundError"</code>.
</li>
<li>Abort all remaining steps.
</li>
@@ -1426,8 +1433,10 @@ <h4>
<ol>
<li>
<span data-anolis-spec="promguide" title=
"resolve-reject">Reject</span> P with a "failed"
exception.
"resolve-reject">Reject</span> P with a
<span data-anolis-spec="dom" title=
"domexception">DOMException</span> named
<code>"OperationError"</code>.
</li>
</ol>
</li>
@@ -1441,7 +1450,9 @@ <h4>
<li>
<span data-anolis-spec="promguide" title=
"resolve-reject">Reject</span> <em>P</em> with a
"PermissionDenied" exception.
<span data-anolis-spec="dom" title=
"domexception">DOMException</span> named
<code>"AbortError"</code>.
</li>
</ol>
</li>
@@ -1528,7 +1539,9 @@ <h4>
<li>
<span data-anolis-spec="promguide" title=
"resolve-reject">Reject</span> <em>P</em> with a
"NoPresentationFound" exception.
<span data-anolis-spec="dom" title=
"domexception">DOMException</span> named
<code>"NotFoundError"</code>.
</li>
</ol>
</li>
@@ -78,8 +78,8 @@
<h1>
Presentation API
</h1>
<h2 class="no-num no-toc" id="editor's-draft-10-april-2015">
Editor's Draft 10 April 2015
<h2 class="no-num no-toc" id="editor's-draft-29-april-2015">
Editor's Draft 29 April 2015
</h2>
<dl>
<dt>
@@ -574,6 +574,9 @@ <h2 id="terminology"><span class="secno">4 </span>
event types</a>, <a class="external" data-anolis-spec="w3c-html" href="http://www.w3.org/html/wg/drafts/html/master/infrastructure.html#concept-event-fire" title="concept-event-fire">firing an event</a>, <a class="external" data-anolis-spec="w3c-html" href="http://www.w3.org/html/wg/drafts/html/master/browsers.html#navigate">navigate</a>, <a class="external" data-anolis-spec="w3c-html" href="http://www.w3.org/html/wg/drafts/html/master/webappapis.html#queue-a-task" title="queue a task">queing a task</a> are defined in
<a href="#refsHTML5">[HTML5]</a>.
</p>
<p>
The term <a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#domexception" title="domexception">DOMException</a> is defined in <a href="#refsDOM">[DOM]</a>.
</p>
<p>
The term <a class="external" data-anolis-spec="es6" href="https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-objects" title="promise-objects">Promise</a> is defined in <a href="#refsES6">[ES6]</a>. The terms <a class="external" data-anolis-spec="promguide" href="http://www.w3.org/2001/tag/doc/promises-guide#shorthand-manipulating" title="resolve-reject">resolving a Promise, and rejecting a Promise</a>
are used as explained in <a href="#refsPROMGUIDE">[PROMGUIDE]</a>.
@@ -1422,7 +1425,8 @@ <h4 id="starting-a-presentation-session"><span class="secno">7.1 </span>
<ol>
<li>
<a class="external" data-anolis-spec="promguide" href="http://www.w3.org/2001/tag/doc/promises-guide#shorthand-manipulating" title="resolve-reject">Reject</a> <em>P</em> with a
"NoScreensAvailable" exception.
<a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#domexception" title="domexception">DOMException</a> whose name is
<code>"NotFoundError"</code>.
</li>
<li>Abort all remaining steps.
</li>
@@ -1474,8 +1478,9 @@ <h4 id="starting-a-presentation-session"><span class="secno">7.1 </span>
<li>If <em>C</em> fails, run the following steps:
<ol>
<li>
<a class="external" data-anolis-spec="promguide" href="http://www.w3.org/2001/tag/doc/promises-guide#shorthand-manipulating" title="resolve-reject">Reject</a> P with a "failed"
exception.
<a class="external" data-anolis-spec="promguide" href="http://www.w3.org/2001/tag/doc/promises-guide#shorthand-manipulating" title="resolve-reject">Reject</a> P with a
<a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#domexception" title="domexception">DOMException</a> named
<code>"OperationError"</code>.
</li>
</ol>
</li>
@@ -1488,7 +1493,8 @@ <h4 id="starting-a-presentation-session"><span class="secno">7.1 </span>
<ol>
<li>
<a class="external" data-anolis-spec="promguide" href="http://www.w3.org/2001/tag/doc/promises-guide#shorthand-manipulating" title="resolve-reject">Reject</a> <em>P</em> with a
"PermissionDenied" exception.
<a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#domexception" title="domexception">DOMException</a> named
<code>"AbortError"</code>.
</li>
</ol>
</li>
@@ -1570,7 +1576,8 @@ <h4 id="joining-a-presentation-session"><span class="secno">7.2 </span>
</li>
<li>
<a class="external" data-anolis-spec="promguide" href="http://www.w3.org/2001/tag/doc/promises-guide#shorthand-manipulating" title="resolve-reject">Reject</a> <em>P</em> with a
"NoPresentationFound" exception.
<a class="external" data-anolis-spec="dom" href="https://dom.spec.whatwg.org/#domexception" title="domexception">DOMException</a> named
<code>"NotFoundError"</code>.
</li>
</ol>
</li>
@@ -1842,7 +1849,10 @@ <h2 class="no-num" id="security-and-privacy-considerations">
<h2 class="no-num" id="references">
References
</h2>
<div id="anolis-references"><dl><dt id="refsES6">[ES6]
<div id="anolis-references"><dl><dt id="refsDOM">[DOM]
<dd><cite><a href="https://dom.spec.whatwg.org/">DOM</a></cite>, Anne van Kesteren, Aryeh Gregor and Ms2ger. WHATWG.

<dt id="refsES6">[ES6]
<dd><cite><a href="http://people.mozilla.org/~jorendorff/es6-draft.html">ECMA-262 6th Edition / Draft</a></cite>. ECMA / Jason Orendorff.

<dt id="refsFILEAPI">[FILEAPI]

0 comments on commit b2672b0

Please sign in to comment.
You can’t perform that action at this time.