| Index: content/child/webcrypto/test/aes_kw_unittest.cc
|
| diff --git a/content/child/webcrypto/test/aes_kw_unittest.cc b/content/child/webcrypto/test/aes_kw_unittest.cc
|
| index 1c879b9b1916bab30a4ceb40bb7221e2fd34d314..db56c11f91ad0140868f4e79d35692379bfe1dd7 100644
|
| --- a/content/child/webcrypto/test/aes_kw_unittest.cc
|
| +++ b/content/child/webcrypto/test/aes_kw_unittest.cc
|
| @@ -34,6 +34,12 @@ TEST(WebCryptoAesKwTest, GenerateKeyBadLength) {
|
| }
|
| }
|
|
|
| +TEST(WebCryptoAesKwTest, GenerateKeyEmptyUsage) {
|
| + blink::WebCryptoKey key;
|
| + EXPECT_EQ(Status::ErrorCreateKeyEmptyUsages(),
|
| + GenerateSecretKey(CreateAesKwKeyGenAlgorithm(256), true, 0, &key));
|
| +}
|
| +
|
| TEST(WebCryptoAesKwTest, ImportKeyJwkKeyOpsWrapUnwrap) {
|
| blink::WebCryptoKey key;
|
| base::DictionaryValue dict;
|
|
|