Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Unified Diff: LayoutTests/crypto/subtle/ecdsa/cloneKey.html

Issue 958353003: [WebCrypto] Move cloneKey test to respective algorithm directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..d6128015335a6a2425ecef426e58f318403efd72
--- /dev/null
+++ b/LayoutTests/crypto/subtle/ecdsa/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 ECDSA keys');
+
+jsTestIsAsync = true;
+
+function testClonePublicKeys()
+{
+ return testCloneEcPublicKeys('ECDSA', [[],['verify']]);
+}
+
+function testClonePrivateKeys()
+{
+ return testCloneEcPrivateKeys('ECDSA', [['sign']])
+}
+
+testClonePublicKeys().then(testClonePrivateKeys).then(finishJSTest, failAndFinishJSTest);
+</script>
+</body>
+</html>
« no previous file with comments | « LayoutTests/crypto/subtle/ecdh/cloneKey-expected.txt ('k') | LayoutTests/crypto/subtle/ecdsa/cloneKey-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698