330
330
< p >
331
331
< em > < b > failure</ b > </ em > : Let < var > error</ var > be a new
332
332
{{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
334
334
denied the application from creating a MIDIAccess instance
335
335
with the requested options, or if the error is the result of
336
336
< var > document</ var > not being [=allowed to use=] the feature,
@@ -375,7 +375,7 @@ <h2 id="MIDIOptions">
375
375
{{requestMIDIAccess()}}, if this member is set to true, but
376
376
[=System Exclusive=] support is denied (either by policy or by
377
377
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
379
379
allowed), the system will throw exceptions if the user tries to
380
380
send [=System Exclusive=] messages, and will silently mask out
381
381
any [=System Exclusive=] messages received on the port.
@@ -392,7 +392,7 @@ <h2 id="MIDIOptions">
392
392
{{requestMIDIAccess()}}, if this member is set to true, but
393
393
software synthesizer support is denied (either by policy or by
394
394
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
396
396
system should not include any software synthesizers in the
397
397
{{MIDIAccess}} exposure of available ports.
398
398
</ p >
0 commit comments