Skip to content

Commit

Permalink
Missed a couple of s/track/candidate in w3c#833.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed Dec 9, 2021
1 parent 6bdaf30 commit 258b965
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions getusermedia.html
Original file line number Diff line number Diff line change
Expand Up @@ -3641,7 +3641,7 @@ <h2>Methods</h2>
the device chosen, or to all devices of that
<var>kind</var>.</p>
<p>Let <var>finalCandidate</var> be the provided media, which
MUST be precisely one candidate of type <var>kind</var> from
MUST be precisely one <a>candidate</a> of type <var>kind</var> from
<var>finalSet</var>. The decision of which candidate to
choose from the <var>finalSet</var> is completely up to
the User Agent and may be determined by asking the user.
Expand All @@ -3667,16 +3667,16 @@ <h2>Methods</h2>
<li>
<p>The result of the request is {{PermissionState/"granted"}}.
If a hardware error such as an OS/program/webpage lock prevents access,
remove <var>track</var> from <var>finalSet</var>.
If <var>finalSet</var> has no track of type <var>kind</var>,
remove the corresponding candidate from <var>finalSet</var>.
If <var>finalSet</var> has no candidates of type <var>kind</var>,
[= reject =] <var>p</var> with a new
{{DOMException}} object whose
{{DOMException/name}} attribute has the value
{{"NotReadableError"}} and abort these steps.
Otherwise, restart these sub steps with the updated <var>finalSet</var>.</p>
<p>If device access fails for any reason other than those listed above,
remove <var>track</var> from <var>finalSet</var>.
If <var>finalSet</var> has no track of type <var>kind</var>,
remove the corresponding candidate from <var>finalSet</var>.
If <var>finalSet</var> has no candidates of type <var>kind</var>,
[= reject =] <var>p</var> with a new {{DOMException}}
object whose {{DOMException/name}} attribute has the
value {{"AbortError"}} and abort these steps.
Expand Down

0 comments on commit 258b965

Please sign in to comment.