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..b40bfc8a701dc48191ab8597b7fb3d691336faa8 |
--- /dev/null |
+++ b/LayoutTests/crypto/subtle/ecdh/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 ECDH private and public keys'); |
+ |
+jsTestIsAsync = true; |
+ |
+testCloneEcPublicKeys('ECDH', [[]]).then(runPrivateECDHTest, failAndFinishJSTest); |
eroman
2015/03/05 19:58:50
I would suggest writing this as:
function testClo
|
+ |
+function runPrivateECDHTest() |
+{ |
+ testCloneEcPrivateKeys('ECDH', [['deriveBits']]).then(finishJSTest, failAndFinishJSTest); |
+} |
+</script> |
+</body> |
+</html> |