Skip to content

Commit

Permalink
Change error types
Browse files Browse the repository at this point in the history
  • Loading branch information
eladalon1983 committed Oct 5, 2022
1 parent e33458c commit ab9a59a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.html
Expand Up @@ -898,19 +898,19 @@ <h2><dfn>CaptureController</dfn></h2>
</dt>
<dd>
<p>
Run the following algorithm:
Run the following steps:
</p>
<ol>
<li>
<p>
If {{CaptureController/[[isBound]]}} is <code>false</code>,
[=exception/throw=] a "{{NotAllowedError}}" {{DOMException}}.
If {{CaptureController/[[isBound]]}} is <code>true</code>,
[=exception/throw=] an "{{InvalidStateError}}" {{DOMException}}.
</p>
</li>
<li>
<p>
If {{CaptureController/[[videoTrack]]}} is <code>null</code>,
[=exception/throw=] a "{{NotAllowedError}}" {{DOMException}}.
[=exception/throw=] a "{{InvalidStateError}}" {{DOMException}}.
</p>
</li>
<li>
Expand Down

0 comments on commit ab9a59a

Please sign in to comment.