Open jussi-kalliokoski opened 11 years ago
Originally reported on W3C Bugzilla ISSUE-20512 Mon, 24 Dec 2012 10:45:24 GMT Reported by Marcos Caceres Assigned to This bug has no owner yet - up for the taking
The MIDIEvent is lacking a way for authors to construct MIDI events.
[Constructor(DOMString type, optional MIDIEventInit eventInitDict)] interface MIDIEvent : Event { readonly attribute DOMHighResTimeStamp timestamp; readonly attribute Uint8Array data; };
dictionary MIDIEventInit : EventInit { any data; };
(note that I left data as any, assuming UInt8Array conversion will be performed automatically).
The MIDIEvent is lacking a way for authors to construct MIDI events.
[Constructor(DOMString type, optional MIDIEventInit eventInitDict)] interface MIDIEvent : Event { readonly attribute DOMHighResTimeStamp timestamp; readonly attribute Uint8Array data; };
dictionary MIDIEventInit : EventInit { any data; };
(note that I left data as any, assuming UInt8Array conversion will be performed automatically).