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); |