Index: Source/modules/crypto/SubtleCrypto.idl |
diff --git a/Source/modules/crypto/SubtleCrypto.idl b/Source/modules/crypto/SubtleCrypto.idl |
index 0c2a8e43c39b3c172e9230581b3711da81ae7cff..bba68c6595c19151cfd11fbff1f2ada2a2046fc5 100644 |
--- a/Source/modules/crypto/SubtleCrypto.idl |
+++ b/Source/modules/crypto/SubtleCrypto.idl |
@@ -29,6 +29,10 @@ |
[ |
NoInterfaceObject, |
] interface SubtleCrypto { |
- // TODO(eroman): Work in progress: http://crbug.com/245025. |
+ [RaisesException] CryptoOperation encrypt(Dictionary algorithm); |
+ [RaisesException] CryptoOperation decrypt(Dictionary algorithm); |
+ [RaisesException] CryptoOperation sign(Dictionary algorithm); |
+ [RaisesException, ImplementedAs=verifySignature] CryptoOperation verify(Dictionary algorithm); |
+ [RaisesException] CryptoOperation digest(Dictionary algorithm); |
}; |