This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The spec says: "This call *SHOULD* prompt the user for access to MIDI devices. If the user gives express permission or the call is otherwise approved, successCallback is invoked, with a MIDIAccess object as its argument." But then it says: [[ "When the requestMIDIAccess method is called, the user agent *MUST* run the following steps:" ... 7. Prompt the user in a user-agent-specific manner for permission to provide the entry script's origin with a MIDIAccess object representing control over user's MIDI devices. ]] I think the first assertion should be dropped (i.e., delete "This call SHOULD…"). And in 7. the word "optionally, " should be prefixed to the step.
Actually, this is already handled - step 6 may optionally jump to the success step. Step 7 is only reached if the UA does not wish to prompt.
Batch-closing RESOLVED MIDI issues. Reminder: midi issues now tracked at https://github.com/WebAudio/web-midi-api/issues