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