4 <script src=
"../../../resources/js-test.js"></script>
5 <script src=
"../resources/common.js"></script>
6 <script src=
"../resources/ec-cloneKey.js"></script>
10 description('Tests structured cloning of ECDSA keys');
14 function testClonePublicKeys()
16 return testCloneEcPublicKeys('ECDSA', [[],['verify']]);
19 function testClonePrivateKeys()
21 return testCloneEcPrivateKeys('ECDSA', [['sign']])
24 testClonePublicKeys().then(testClonePrivateKeys
).then(finishJSTest
, failAndFinishJSTest
);