Index: modules/webmidi/MIDIMessageEvent.idl |
diff --git a/modules/webmidi/MIDIMessageEvent.idl b/modules/webmidi/MIDIMessageEvent.idl |
index 2145c0a7bb6e08311de31909d1538771db5aac38..bf252c0563dd5c927bf3d8a363bb51796aee6cda 100644 |
--- a/modules/webmidi/MIDIMessageEvent.idl |
+++ b/modules/webmidi/MIDIMessageEvent.idl |
@@ -28,12 +28,11 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-// FIXME: The spec doesn't provide details about constructor, yet. |
-// See also, https://github.com/WebAudio/web-midi-api/issues/1 . |
+// http://webaudio.github.io/web-midi-api/#idl-def-MIDIMessageEvent |
+ |
[ |
- EventConstructor, |
- RuntimeEnabled=WebMIDI, |
+ Constructor(DOMString type, optional MIDIMessageEventInit eventInitDict), |
] interface MIDIMessageEvent : Event { |
- [InitializedByEventConstructor] readonly attribute double receivedTime; |
- [InitializedByEventConstructor] readonly attribute Uint8Array data; |
+ readonly attribute double receivedTime; |
+ readonly attribute Uint8Array data; |
}; |