From 372cbbfa86705357aae1f906e9415164c58dcfce Mon Sep 17 00:00:00 2001
From: Takashi Toyoshima requestMIDIAccess()
Let error be a new DOMError
.
This should be of type "SecurityError"
if the
user or their security settings denied the application from creating a MIDIAccess
- instance with the requested options, or otherwise "NotSupportedError"
.
+ instance with the requested options, "InvalidStateError"
+ if underlying systems raise any error, or otherwise "NotSupportedError"
.