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

Unified Diff: LayoutTests/crypto/normalize-algorithm.html

Issue 21561004: WebCrypto: Add crypto.subtle.verify() to the platform interfaces. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing file common.js Created 7 years, 5 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
« no previous file with comments | « LayoutTests/crypto/importKey.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/normalize-algorithm.html
diff --git a/LayoutTests/crypto/normalize-algorithm.html b/LayoutTests/crypto/normalize-algorithm.html
index 897d80df4091b7a41d6250dfe3a892e8451f2620..e3fea0d633f04d13cbb06d2417e2e36c0944fcd9 100644
--- a/LayoutTests/crypto/normalize-algorithm.html
+++ b/LayoutTests/crypto/normalize-algorithm.html
@@ -2,6 +2,7 @@
<html>
<head>
<script src="../fast/js/resources/js-test-pre.js"></script>
+<script src="resources/common.js"></script>
</head>
<body>
<p id="description"></p>
@@ -167,17 +168,6 @@ function importAesCbcKey(keyUsages)
return crypto.subtle.importKey(keyFormat, data, algorithm, extractable, keyUsages);
}
-function importHmacSha1Key()
-{
- var keyFormat = "spki";
- var data = new Uint8Array([]);
- var algorithm = {name: 'hmac', hash: {name: 'sha-1'}};
- var extractable = false;
- var keyUsages = ['encrypt', 'decrypt', 'sign', 'verify'];
-
- return crypto.subtle.importKey(keyFormat, data, algorithm, extractable, keyUsages);
-}
-
function failedKeyImport(value)
{
debug("Failed importing key: " + value);
« no previous file with comments | « LayoutTests/crypto/importKey.html ('k') | LayoutTests/crypto/resources/common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698