Index: Source/modules/crypto/SubtleCrypto.idl |
diff --git a/Source/modules/crypto/SubtleCrypto.idl b/Source/modules/crypto/SubtleCrypto.idl |
index 5b67195b18aa3e991ad167dcd605880fb5014ad7..15ede2a6686031281090cf69d59f15be45ebd51b 100644 |
--- a/Source/modules/crypto/SubtleCrypto.idl |
+++ b/Source/modules/crypto/SubtleCrypto.idl |
@@ -37,7 +37,7 @@ typedef (ArrayBuffer or ArrayBufferView) BufferSource; |
[ |
GarbageCollected, |
- NoInterfaceObject, |
+ Exposed=(Window,Worker) |
] interface SubtleCrypto { |
[CallWith=ScriptState] Promise encrypt(AlgorithmIdentifier algorithm, CryptoKey key, BufferSource data); |
[CallWith=ScriptState] Promise decrypt(AlgorithmIdentifier algorithm, CryptoKey key, BufferSource data); |