Index: Source/modules/webmidi/MIDIAccess.idl |
diff --git a/Source/modules/webmidi/MIDIAccess.idl b/Source/modules/webmidi/MIDIAccess.idl |
index ea5fe0a318e59e1de19a916cf2b0e959a12b588b..c7a51a1b545e228542b8adc67e7a74a95c1950d6 100644 |
--- a/Source/modules/webmidi/MIDIAccess.idl |
+++ b/Source/modules/webmidi/MIDIAccess.idl |
@@ -30,21 +30,11 @@ |
[ |
NoInterfaceObject, |
- ActiveDOMObject, |
- EventTarget |
-] interface MIDIAccess { |
+ ActiveDOMObject |
+] interface MIDIAccess : EventTarget { |
sequence<MIDIInput> inputs(); |
sequence<MIDIOutput> outputs(); |
attribute EventListener onconnect; |
attribute EventListener ondisconnect; |
- |
- // EventTarget interface |
- void addEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- void removeEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- [RaisesException] boolean dispatchEvent(Event event); |
}; |