DescriptionFulfill or reject MIDIAccessPromise from MIDIAccessor
This asks the browser for permission to access MIDI hardware, including whether SYSEX
access is being requested. The browser will either block access, in which case the
promise's failure callback will be invoked, or the browser will add the available
input and output ports to the MIDIAccess object, and then invoke the success callback
with the MIDIAccess as an argument according to the Web MIDI spec.
BUG=163795
TEST=webmidi/requestmidiaccess.html (and tested manually with real MIDI devices)
R=toyoshim@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153105
Patch Set 1 #
Total comments: 5
Patch Set 2 : add layout test for requestMIDIAccess #Patch Set 3 : use SecurityError for DOMError #Patch Set 4 : move layout test from fast/webmidi to webmidi #Messages
Total messages: 10 (0 generated)
|