File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -635,7 +635,7 @@ <h2 id="MIDIPort"><a>MIDIPort</a> Interface</h2>
635
635
< li > < p > Close access to the port in the underlying system if open,
636
636
and release any blocking resources in the underlying system.</ p > </ li >
637
637
638
- < li > < p > < em > < b > success </ b > </ em > : Change the < code > connection</ code >
638
+ < li > < p > Change the < code > connection</ code >
639
639
attribute of the MIDIPort to < code > "closed"</ code > , and enqueue
640
640
a new < code > < a > MIDIConnectionEvent</ a > </ code > to the < code > < a
641
641
href ="#event-midiaccess-statechange "> statechange</ a > </ code >
@@ -648,13 +648,6 @@ <h2 id="MIDIPort"><a>MIDIPort</a> Interface</h2>
648
648
< var > port</ var > as value argument.</ p > </ li >
649
649
650
650
< 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 >
658
651
</ ol >
659
652
</ dd >
660
653
</ dl >
You can’t perform that action at this time.
0 commit comments