| Index: Source/core/dom/PromiseResolver.idl
|
| diff --git a/Source/modules/webmidi/MIDIConnectionEvent.idl b/Source/core/dom/PromiseResolver.idl
|
| similarity index 88%
|
| copy from Source/modules/webmidi/MIDIConnectionEvent.idl
|
| copy to Source/core/dom/PromiseResolver.idl
|
| index a9c745a2772afb04c1fb2083854cea7eac9dc082..e903f54bb94e1843c7ad5614596a2db0f2adcd7d 100644
|
| --- a/Source/modules/webmidi/MIDIConnectionEvent.idl
|
| +++ b/Source/core/dom/PromiseResolver.idl
|
| @@ -29,8 +29,9 @@
|
| */
|
|
|
| [
|
| - EnabledAtRuntime=webMIDI,
|
| - ConstructorTemplate=Event
|
| -] interface MIDIConnectionEvent : Event {
|
| - [InitializedByEventConstructor] readonly attribute MIDIPort port;
|
| + EnabledAtRuntime=promise
|
| +] interface PromiseResolver {
|
| + [Custom] void fulfill(optional any value);
|
| + [Custom] void resolve(optional any value);
|
| + [Custom] void reject(optional any value);
|
| };
|
|
|