Index: modules/crypto/WorkerContextCrypto.idl |
diff --git a/modules/webmidi/MIDIErrorCallback.idl b/modules/crypto/WorkerContextCrypto.idl |
similarity index 93% |
copy from modules/webmidi/MIDIErrorCallback.idl |
copy to modules/crypto/WorkerContextCrypto.idl |
index 0591bf6715e14bf85426c3cfb82fc2aedf25918d..83b298c7bf7e7eb1b08ffb87a8e2add252644bd2 100644 |
--- a/modules/webmidi/MIDIErrorCallback.idl |
+++ b/modules/crypto/WorkerContextCrypto.idl |
@@ -28,6 +28,6 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-callback interface MIDIErrorCallback { |
- boolean handleEvent(DOMError error); |
+partial interface WorkerContext { |
+ [EnabledAtRuntime=Crypto] readonly attribute WorkerCrypto crypto; |
}; |