Skip to content

Commit

Permalink
Fix algorithm and typos
Browse files Browse the repository at this point in the history
  • Loading branch information
youennf committed Jan 11, 2024
1 parent 4af6e95 commit d4ba696
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ interface MediaSession {
associated <code>Document</code> visiblity state is not "visible".</li>
<li>If the user agent denies permission to change the microphone state
to <var>active</var>, reject <var>p</var> with a <a
exception>NotAllowedError</a>.</li>
exception>NotAllowedError</a> and abort these steps.</li>
<li>If the user agent exposes the microphone state via
<a>MediaStreamTrack muted state</a>, the user agent MUST <a>queue a
task</a> to <a>set MediaStreamTrack muted state</a> on any affected
Expand All @@ -947,7 +947,7 @@ interface MediaSession {
</ul>
</li>
<li>
Return <var>p</var> be a new promise.
Return <var>p</var>.
</li>
</ul>
</p>
Expand All @@ -967,7 +967,7 @@ interface MediaSession {
associated <code>Document</code> visiblity state is not "visible".</li>
<li>If the user agent denies permission to change the camera state to
<var>active</var>, reject <var>p</var> with a <a
exception>NotAllowedError</a>.</li>
exception>NotAllowedError</a> and abort these steps.</li>
<li>If the user agent exposes the camera state via <a>MediaStreamTrack
muted state</a>, the user agent MUST <a>queue a task</a> to <a>set
MediaStreamTrack muted state</a> on any affected
Expand All @@ -978,7 +978,7 @@ interface MediaSession {
</ul>
</li>
<li>
Return <var>p</var> be a new promise.
Return <var>p</var>.
</li>
</ul>
</p>
Expand Down

0 comments on commit d4ba696

Please sign in to comment.