330330 < p >
331331 < em > < b > failure</ b > </ em > : Let < var > error</ var > be a new
332332 {{DOMException}}. This exception's .name should be
333- {{"SecurityError "}} if the user or their security settings
333+ {{"NotAllowedError "}} if the user or their security settings
334334 denied the application from creating a MIDIAccess instance
335335 with the requested options, or if the error is the result of
336336 < var > document</ var > not being [=allowed to use=] the feature,
@@ -375,7 +375,7 @@ <h2 id="MIDIOptions">
375375 {{requestMIDIAccess()}}, if this member is set to true, but
376376 [=System Exclusive=] support is denied (either by policy or by
377377 user action), the access request will fail with a
378- {{"SecurityError "}} error. If this support is not requested (and
378+ {{"NotAllowedError "}} error. If this support is not requested (and
379379 allowed), the system will throw exceptions if the user tries to
380380 send [=System Exclusive=] messages, and will silently mask out
381381 any [=System Exclusive=] messages received on the port.
@@ -392,7 +392,7 @@ <h2 id="MIDIOptions">
392392 {{requestMIDIAccess()}}, if this member is set to true, but
393393 software synthesizer support is denied (either by policy or by
394394 user action), the access request will fail with a
395- {{"SecurityError "}} error. If this support is not requested, the
395+ {{"NotAllowedError "}} error. If this support is not requested, the
396396 system should not include any software synthesizers in the
397397 {{MIDIAccess}} exposure of available ports.
398398 </ p >
0 commit comments