Skip to content

Commit

Permalink
promise var improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
youennf authored and hoch committed Mar 4, 2025
1 parent cda1c7a commit dfcea38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,7 @@ Methods</h4>
1. Clear {{AudioContext/[[pending resume promises]]}}. Additionally, remove those
promises from {{BaseAudioContext/[[pending promises]]}}.

2. Resolve <em>promise</em>.
2. Resolve <var>promise</var>.

3. If the {{BaseAudioContext/state}} attribute of the {{AudioContext}} is not already "{{AudioContextState/running}}":

Expand Down Expand Up @@ -2085,7 +2085,7 @@ Methods</h4>
3. <a href="https://html.spec.whatwg.org/multipage/media.html#queue-a-media-element-task">
queue a media element task</a> to execute the following steps:

1. Resolve <em>promise</em>.
1. Resolve <var>promise</var>.

2. If the {{BaseAudioContext/state}}
attribute of the {{AudioContext}} is not already "{{AudioContextState/suspended}}":
Expand Down

0 comments on commit dfcea38

Please sign in to comment.