Skip to content

Commit

Permalink
Update index.bs
Browse files Browse the repository at this point in the history
Co-authored-by: Jan-Ivar Bruaroey <[email protected]>
  • Loading branch information
youennf and jan-ivar authored Jan 14, 2024
1 parent d4ba696 commit 2b62acd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -929,11 +929,15 @@ interface MediaSession {
Let <var>p</var> be a new promise.
</li>
<li>
<a>Queue a task</a> to run the following substeps:
Let <var>document<var> be [=this=]'s [=relevant global object=]'s
[=associated `Document`=].
</li>
<li>
<a>In parallel</a>, run the following substeps:
<ul>
<li>The user agent MAY wait to proceed, for instance if
<var>active</var> is <code>true</code> and the relevant global object's
associated <code>Document</code> visiblity state is not "visible".</li>
<var>active</var> is <code>true</code> and <var>document<var>'s
[=Document/visibility 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> and abort these steps.</li>
Expand Down

0 comments on commit 2b62acd

Please sign in to comment.