Index: Source/modules/crypto/SubtleCrypto.idl |
diff --git a/Source/modules/crypto/SubtleCrypto.idl b/Source/modules/crypto/SubtleCrypto.idl |
index b283fe25c2b1e596f4576c6c00769bf455fdeeb0..fd58080f6e224fc458a5cc070df63875c039ec6f 100644 |
--- a/Source/modules/crypto/SubtleCrypto.idl |
+++ b/Source/modules/crypto/SubtleCrypto.idl |
@@ -31,11 +31,12 @@ |
[ |
NoInterfaceObject, |
] interface SubtleCrypto { |
- [RaisesException] CryptoOperation encrypt(Dictionary algorithm, Key key); |
- [RaisesException] CryptoOperation decrypt(Dictionary algorithm, Key key); |
- [RaisesException] CryptoOperation sign(Dictionary algorithm, Key key); |
- [RaisesException, ImplementedAs=verifySignature] CryptoOperation verify(Dictionary algorithm, Key key, ArrayBufferView signature); |
- [RaisesException] CryptoOperation digest(Dictionary algorithm); |
+ // These all return Promises. |
abarth-chromium
2013/08/16 04:53:07
If you look at other code that uses Promises, we'r
eroman
2013/08/16 22:59:41
Done.
Note that I couldn't find other IDL files w
|
+ [RaisesException] any encrypt(Dictionary algorithm, Key key, ArrayBufferView data); |
+ [RaisesException] any decrypt(Dictionary algorithm, Key key, ArrayBufferView data); |
+ [RaisesException] any sign(Dictionary algorithm, Key key, ArrayBufferView data); |
+ [RaisesException, ImplementedAs=verifySignature] any verify(Dictionary algorithm, Key key, ArrayBufferView signature, ArrayBufferView data); |
+ [RaisesException] any digest(Dictionary algorithm, ArrayBufferView data); |
[RaisesException] any generateKey(Dictionary algorithm, boolean extractable, DOMString[] keyUsages); |
[RaisesException] any importKey(DOMString format, ArrayBufferView keyData, Dictionary algorithm, boolean extractable, DOMString[] keyUsages); |