这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 7ae727c

Browse files
committed
Fixes #132.
1 parent 3866ff8 commit 7ae727c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

index.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ <h2 id="MIDIPort"><a>MIDIPort</a> Interface</h2>
635635
<li><p>Close access to the port in the underlying system if open,
636636
and release any blocking resources in the underlying system.</p></li>
637637

638-
<li><p><em><b>success</b></em>: Change the <code>connection</code>
638+
<li><p>Change the <code>connection</code>
639639
attribute of the MIDIPort to <code>"closed"</code>, and enqueue
640640
a new <code><a>MIDIConnectionEvent</a></code> to the <code><a
641641
href="#event-midiaccess-statechange">statechange</a></code>
@@ -648,13 +648,6 @@ <h2 id="MIDIPort"><a>MIDIPort</a> Interface</h2>
648648
<var>port</var> as value argument.</p></li>
649649

650650
<li><p>Terminate these steps.</p></li>
651-
652-
<li><p><em><b>failure</b></em>: Let <var>error</var> be a new
653-
<code><a>DOMException</a></code>. This exception's .name should be
654-
<code>"InvalidStateError"</code> if the port is disconnected.</p></li>
655-
656-
<li><p>Call <var>resolver</var>'s <code>reject(value)</code> method
657-
with <var>error</var> as value argument.</p></li>
658651
</ol>
659652
</dd>
660653
</dl>

0 commit comments

Comments
 (0)