This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
As in: a = navigator.requestMIDIAccess(); b = navigator.requestMIDIAccess(); a === b? In the spec, this is currently unclear in 5.1.1: "success: Let access be the MIDIAccess object for which access has been granted." Which kinda reads like the spec is assuming requestMIDIAccess() will not be called repeatedly.
Happy to make this explicit. I will likely make it say it is not required to be a singleton, unless anyone objects. It's not that calling requestMIDIAccess() repeatedly is broken, it's that it might be a bad idea - as it may re-prompt the user for access, if the system is prompting.
https://github.com/WebAudio/web-midi-api/commit/d9887def0b23e1c90014d10a297c920b84648a2b
Batch-closing RESOLVED MIDI issues. Reminder: midi issues now tracked at https://github.com/WebAudio/web-midi-api/issues