Index: modules/crypto/CryptoOperation.idl |
diff --git a/modules/webmidi/MIDIInput.idl b/modules/crypto/CryptoOperation.idl |
similarity index 88% |
copy from modules/webmidi/MIDIInput.idl |
copy to modules/crypto/CryptoOperation.idl |
index 8c0ae3cd90aad230083403867cef594a190a0674..3bbb4c7e587de5ae07ecbec55f251d02a4e56a0a 100644 |
--- a/modules/webmidi/MIDIInput.idl |
+++ b/modules/crypto/CryptoOperation.idl |
@@ -30,8 +30,12 @@ |
[ |
NoInterfaceObject, |
- ActiveDOMObject, |
- EventTarget |
-] interface MIDIInput : MIDIPort { |
- attribute EventListener onmidimessage; |
+] interface CryptoOperation { |
+ readonly attribute Algorithm algorithm; |
+ |
+ CryptoOperation process(ArrayBuffer data); |
+ CryptoOperation process(ArrayBufferView data); |
+ |
+ any finish(); |
+ any abort(); |
}; |