Modified: trunk/Source/WebCore/ChangeLog (176260 => 176261)
--- trunk/Source/WebCore/ChangeLog 2014-11-18 17:21:27 UTC (rev 176260)
+++ trunk/Source/WebCore/ChangeLog 2014-11-18 17:45:00 UTC (rev 176261)
@@ -1,3 +1,17 @@
+2014-11-18 Shivakumar JM <[email protected]>
+
+ crypto: Use sequence<> instead of KeyUsage[] in IDL.
+ https://bugs.webkit.org/show_bug.cgi?id=138823
+
+ Reviewed by Darin Adler.
+
+ Use sequence<KeyUsage> instead of KeyUsage[] in crypto IDL as per spec: https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/
+ Overview.html#SubtleCrypto-method-generateKey
+
+ No new tests, no behavior change.
+
+ * crypto/SubtleCrypto.idl:
+
2014-11-18 Philippe Normand <[email protected]>
HRTFDatabaseLoader is not an absolute condition to run audioContext
Modified: trunk/Source/WebCore/crypto/SubtleCrypto.idl (176260 => 176261)
--- trunk/Source/WebCore/crypto/SubtleCrypto.idl 2014-11-18 17:21:27 UTC (rev 176260)
+++ trunk/Source/WebCore/crypto/SubtleCrypto.idl 2014-11-18 17:45:00 UTC (rev 176261)
@@ -34,9 +34,9 @@
[Custom] Promise sign(AlgorithmIdentifier algorithm, Key key, sequence<CryptoOperationData> data);
[Custom] Promise verify(AlgorithmIdentifier algorithm, Key key, CryptoOperationData signature, sequence<CryptoOperationData> data);
[Custom] Promise digest(AlgorithmIdentifier algorithm, sequence<CryptoOperationData> data);
- [Custom] Promise generateKey(AlgorithmIdentifier algorithm, optional boolean extractable, optional KeyUsage[] keyUsages);
- [Custom] Promise importKey(KeyFormat format, CryptoOperationData keyData, AlgorithmIdentifier? algorithm, optional boolean extractable, optional KeyUsage[] keyUsages);
+ [Custom] Promise generateKey(AlgorithmIdentifier algorithm, optional boolean extractable, optional sequence<KeyUsage> keyUsages);
+ [Custom] Promise importKey(KeyFormat format, CryptoOperationData keyData, AlgorithmIdentifier? algorithm, optional boolean extractable, optional sequence<KeyUsage> keyUsages);
[Custom] Promise exportKey(KeyFormat format, Key key);
[Custom] Promise wrapKey(KeyFormat format, Key key, Key wrappingKey, AlgorithmIdentifier wrapAlgorithm);
- [Custom] Promise unwrapKey(KeyFormat format, CryptoOperationData wrappedKey, Key unwrappingKey, AlgorithmIdentifier unwrapAlgorithm, AlgorithmIdentifier? unwrappedKeyAlgorithm, optional boolean extractable, optional KeyUsage[] keyUsages);
+ [Custom] Promise unwrapKey(KeyFormat format, CryptoOperationData wrappedKey, Key unwrappingKey, AlgorithmIdentifier unwrapAlgorithm, AlgorithmIdentifier? unwrappedKeyAlgorithm, optional boolean extractable, optional sequence<KeyUsage> keyUsages);
};