Chromium Code Reviews| Index: LayoutTests/crypto/subtle/ecdsa/cloneKey.html |
| diff --git a/LayoutTests/crypto/subtle/ecdsa/cloneKey.html b/LayoutTests/crypto/subtle/ecdsa/cloneKey.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bffbe366826832305846fd75cf3aadbbb06550a2 |
| --- /dev/null |
| +++ b/LayoutTests/crypto/subtle/ecdsa/cloneKey.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<head> |
| +<script src="../../../resources/js-test.js"></script> |
| +<script src="../resources/common.js"></script> |
| +<script src="../resources/ec-cloneKey.js"></script> |
| +</head> |
| +<body> |
| +<script> |
| +description('Tests structured cloning of ECDSA private and public keys'); |
| + |
| +jsTestIsAsync = true; |
| + |
| +testCloneEcPublicKeys('ECDSA', [[],['verify']]).then(runPrivateECDSATest, failAndFinishJSTest); |
|
eroman
2015/03/05 19:58:50
If you follow the recommendation for ECDH keys, th
|
| + |
| +function runPrivateECDSATest() |
| +{ |
| + testCloneEcPrivateKeys('ECDSA', [['sign']]).then(finishJSTest, failAndFinishJSTest); |
| +} |
| +</script> |
| +</body> |
| +</html> |