This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
In 5.1.1. Methods, step 3 of requestMIDIAccess(), contradicts WebIDL. Section 4.2.21. "Callback function types", of WebIDL says: "If V is not a Function object, then throw a TypeError." So step 3 will never be reached: and TypeError will have been thrown already. Given the above (i.e., WebIDL doing the error handling), I wonder if step 4 "Return, and run the following steps asynchronously" should be moved to step 1.
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