Index: LayoutTests/crypto/subtle/ecdh/cloneKey.html |
diff --git a/LayoutTests/crypto/subtle/ecdh/cloneKey.html b/LayoutTests/crypto/subtle/ecdh/cloneKey.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aba2404e3f21f20ea152c7ba57ab2a148a6702c7 |
--- /dev/null |
+++ b/LayoutTests/crypto/subtle/ecdh/cloneKey.html |
@@ -0,0 +1,27 @@ |
+<!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 ECDH keys'); |
+ |
+jsTestIsAsync = true; |
+ |
+function testClonePublicKeys() |
+{ |
+ return testCloneEcPublicKeys('ECDH', [[]]); |
+} |
+ |
+function testClonePrivateKeys() |
+{ |
+ return testCloneEcPrivateKeys('ECDH', [['deriveBits']]); |
+} |
+ |
+testClonePublicKeys().then(testClonePrivateKeys).then(finishJSTest, failAndFinishJSTest); |
+</script> |
+</body> |
+</html> |