Index: core/dom/PromiseResolver.idl |
diff --git a/modules/webmidi/MIDIErrorCallback.idl b/core/dom/PromiseResolver.idl |
similarity index 95% |
copy from modules/webmidi/MIDIErrorCallback.idl |
copy to core/dom/PromiseResolver.idl |
index 0591bf6715e14bf85426c3cfb82fc2aedf25918d..86fe30751c847623f955f1eece26482ceeb11e4a 100644 |
--- a/modules/webmidi/MIDIErrorCallback.idl |
+++ b/core/dom/PromiseResolver.idl |
@@ -28,6 +28,7 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-callback interface MIDIErrorCallback { |
- boolean handleEvent(DOMError error); |
+[ |
+ EnabledAtRuntime=promise |
+] interface PromiseResolver { |
}; |