| Index: content/child/webcrypto/webcrypto_util.cc
|
| diff --git a/content/child/webcrypto/webcrypto_util.cc b/content/child/webcrypto/webcrypto_util.cc
|
| index a46961c4e9699ebe6618f5c3ba7413d482f7253f..87ac17465e8639fa40b879cbdaa3d5caa91cbb30 100644
|
| --- a/content/child/webcrypto/webcrypto_util.cc
|
| +++ b/content/child/webcrypto/webcrypto_util.cc
|
| @@ -103,8 +103,8 @@ Status GetWebCryptoUsagesFromJwkKeyOps(
|
| return Status::ErrorJwkPropertyWrongType(
|
| base::StringPrintf("key_ops[%d]", static_cast<int>(i)), "string");
|
| }
|
| - if (!JwkKeyOpToWebCryptoUsage(key_op, usage_mask))
|
| - return Status::ErrorJwkUnrecognizedKeyop();
|
| + // Unrecognized key_ops are silently skipped.
|
| + ignore_result(JwkKeyOpToWebCryptoUsage(key_op, usage_mask));
|
| }
|
| return Status::Success();
|
| }
|
|
|