| 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 db56c11f91ad0140868f4e79d35692379bfe1dd7..9ec6cffb29cdb5842e71243e42870e52bc3f5edb 100644
|
| --- a/content/child/webcrypto/test/aes_kw_unittest.cc
|
| +++ b/content/child/webcrypto/test/aes_kw_unittest.cc
|
| @@ -40,6 +40,15 @@ TEST(WebCryptoAesKwTest, GenerateKeyEmptyUsage) {
|
| GenerateSecretKey(CreateAesKwKeyGenAlgorithm(256), true, 0, &key));
|
| }
|
|
|
| +TEST(WebCryptoAesKwTest, ImportKeyEmptyUsage) {
|
| + blink::WebCryptoKey key;
|
| + EXPECT_EQ(Status::ErrorImportKeyEmptyUsages(),
|
| + ImportKey(blink::WebCryptoKeyFormatRaw,
|
| + CryptoData(std::vector<uint8_t>(16)),
|
| + CreateAlgorithm(blink::WebCryptoAlgorithmIdAesKw),
|
| + true, 0, &key));
|
| +}
|
| +
|
| TEST(WebCryptoAesKwTest, ImportKeyJwkKeyOpsWrapUnwrap) {
|
| blink::WebCryptoKey key;
|
| base::DictionaryValue dict;
|
|
|