Skip to content

Add explicit notes about allowing multiple calls to promise functions #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ <h2>
If the user declines or the call is denied for any other reason,
the Promise is rejected with a {{DOMException}} parameter.
</p>
<p>
Multiple calls to <code>requestMIDIAccess()</code> are
allowed even if not all vended Promises have settled.
</p>
<p data-link-for="Navigator">
When the {{requestMIDIAccess()}} method is called, the user agent
MUST run the following steps:
Expand Down Expand Up @@ -698,6 +702,10 @@ <h2 id="MIDIPort">
"MIDIPortDeviceState.connected">"connected"</a> or all references
to it are dropped.
</p>
<p>
Multiple calls to <code>open()</code> are allowed even
if not all vended Promises have settled.
</p>
<p>
When this method is called, the user agent MUST run the
<dfn data-lt="open the port">algorithm to open a MIDIPort</dfn>:
Expand Down Expand Up @@ -836,6 +844,10 @@ <h2 id="MIDIPort">
Promise is resolved. If the port is disconnected, the Promise is
rejected.
</p>
<p>
Multiple calls to <code>close()</code> are allowed even
if not all vended Promises have settled.
</p>
<p>
When the <code>close()</code> method is called, the user agent
MUST run the following steps:
Expand Down