Index: Source/modules/webmidi/MIDIConnectionEvent.idl |
diff --git a/Source/modules/webmidi/MIDIErrorCallback.idl b/Source/modules/webmidi/MIDIConnectionEvent.idl |
similarity index 91% |
copy from Source/modules/webmidi/MIDIErrorCallback.idl |
copy to Source/modules/webmidi/MIDIConnectionEvent.idl |
index 25d6ba1491b01f1c60383b814e1c3c6872777b7e..3946564c26eb9e56b31ddde00e9a1b842281b772 100644 |
--- a/Source/modules/webmidi/MIDIErrorCallback.idl |
+++ b/Source/modules/webmidi/MIDIConnectionEvent.idl |
@@ -29,7 +29,7 @@ |
*/ |
[ |
- Callback |
-] interface MIDIErrorCallback { |
- boolean handleEvent(DOMError error); |
+ ConstructorTemplate=Event |
+] interface MIDIConnectionEvent : Event { |
+ [InitializedByEventConstructor] readonly attribute MIDIPort port; |
}; |