[Bug 20512] New: MIDIEvent lacking constructor

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20512

            Bug ID: 20512
           Summary: MIDIEvent lacking constructor
    Classification: Unclassified
           Product: AudioWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: MIDI API
          Assignee: dave.null@w3.org
          Reporter: w3c@marcosc.com
        QA Contact: public-audio@w3.org

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).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 24 December 2012 10:45:25 UTC