Index: Source/core/dom/Promise.idl |
diff --git a/Source/modules/webmidi/MIDIConnectionEvent.idl b/Source/core/dom/Promise.idl |
similarity index 89% |
copy from Source/modules/webmidi/MIDIConnectionEvent.idl |
copy to Source/core/dom/Promise.idl |
index a9c745a2772afb04c1fb2083854cea7eac9dc082..7523e0e88a2e040e1d491ccdc7a8749e1ea15057 100644 |
--- a/Source/modules/webmidi/MIDIConnectionEvent.idl |
+++ b/Source/core/dom/Promise.idl |
@@ -29,8 +29,10 @@ |
*/ |
[ |
- EnabledAtRuntime=webMIDI, |
- ConstructorTemplate=Event |
-] interface MIDIConnectionEvent : Event { |
- [InitializedByEventConstructor] readonly attribute MIDIPort port; |
+ CustomConstructor(any init), |
+ EnabledAtRuntime=promise |
+] interface Promise { |
+ // Example methods |
+ [Custom] any get(any value); |
+ [Custom] static any getStatic(any value); |
}; |