diff --git a/index.html b/index.html index f73dc43..6450dab 100644 --- a/index.html +++ b/index.html @@ -807,7 +807,7 @@
failure: Let error be a new
{{DOMException}}. This exception's .name should be
- "InvalidAccessError" if the port is unavailable.
+ "NotAllowedError" if the port is unavailable.
If data is a [=System Exclusive=] message, and the
{{MIDIAccess}} did not enable [=System Exclusive=] access, throw
- an InvalidAccessError exception.
+ an NotAllowedError exception.