OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="../resources/common.js"></script> |
| 6 <script src="../resources/ec-cloneKey.js"></script> |
| 7 </head> |
| 8 <body> |
| 9 <script> |
| 10 description('Tests structured cloning of ECDSA keys'); |
| 11 |
| 12 jsTestIsAsync = true; |
| 13 |
| 14 function testClonePublicKeys() |
| 15 { |
| 16 return testCloneEcPublicKeys('ECDSA', [[],['verify']]); |
| 17 } |
| 18 |
| 19 function testClonePrivateKeys() |
| 20 { |
| 21 return testCloneEcPrivateKeys('ECDSA', [['sign']]) |
| 22 } |
| 23 |
| 24 testClonePublicKeys().then(testClonePrivateKeys).then(finishJSTest, failAndFinis
hJSTest); |
| 25 </script> |
| 26 </body> |
| 27 </html> |
OLD | NEW |