Skip to content

Commit

Permalink
[giow] (0) Fire an exception for getUserMedia() if the input is bogus…
Browse files Browse the repository at this point in the history
…; also, ack for previous checkin.

git-svn-id: http://svn.whatwg.org/webapps@5989 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 12, 2011
1 parent 69d9c90 commit 368a208
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -72339,6 +72339,10 @@ <h3 id=obtaining-local-multimedia-content><span class=secno>9.2 </span>Obtaining
why the method doesn't return until the next step: so we can add
exception throwing here) -->

<p>If both <var title="">audio</var> and <var title="">video</var>
are still false, then throw a <code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code>
exception and abort these steps.</p>

<li><p>Return, and run the remaining steps asynchronously.</li>

<li><p>Optionally, e.g. based on a previously-established user
Expand Down Expand Up @@ -97555,6 +97559,7 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
Hallvord Reiar Michaelsen Steen,
Hans S. T&oslash;mmerhalt,
Hans Stimer,
Harald Alvestrand,
Henri Sivonen,
Henrik Lied,
Henry Mason,
Expand Down
5 changes: 5 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -72349,6 +72349,10 @@ interface <dfn id=navigatorusermediaerrorcallback>NavigatorUserMediaErrorCallbac
why the method doesn't return until the next step: so we can add
exception throwing here) -->

<p>If both <var title="">audio</var> and <var title="">video</var>
are still false, then throw a <code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code>
exception and abort these steps.</p>

<li><p>Return, and run the remaining steps asynchronously.</li>

<li><p>Optionally, e.g. based on a previously-established user
Expand Down Expand Up @@ -93655,6 +93659,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
Hallvord Reiar Michaelsen Steen,
Hans S. T&oslash;mmerhalt,
Hans Stimer,
Harald Alvestrand,
Henri Sivonen,
Henrik Lied,
Henry Mason,
Expand Down
5 changes: 5 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -82471,6 +82471,10 @@ interface <dfn>NavigatorUserMediaErrorCallback</dfn> {
why the method doesn't return until the next step: so we can add
exception throwing here) -->

<p>If both <var title="">audio</var> and <var title="">video</var>
are still false, then throw a <code>NOT_SUPPORTED_ERR</code>
exception and abort these steps.</p>

<li><p>Return, and run the remaining steps asynchronously.</p></li>

<li><p>Optionally, e.g. based on a previously-established user
Expand Down Expand Up @@ -111166,6 +111170,7 @@ interface <span>HTMLDocument</span> {
Hallvord Reiar Michaelsen Steen,
Hans S. T&oslash;mmerhalt,
Hans Stimer,
Harald Alvestrand,
Henri Sivonen,
Henrik Lied,
Henry Mason,
Expand Down

0 comments on commit 368a208

Please sign in to comment.