Index: LayoutTests/crypto/importKey.html |
diff --git a/LayoutTests/crypto/importKey.html b/LayoutTests/crypto/importKey.html |
index bb257435d416b901d54b4b12d74f17805af3fa2f..6fa7563fa0296ac5a6fa1cada60f1d075f9c4abe 100644 |
--- a/LayoutTests/crypto/importKey.html |
+++ b/LayoutTests/crypto/importKey.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> |
@@ -12,14 +13,6 @@ description("Tests cypto.subtle.importKey."); |
jsTestIsAsync = true; |
-function asciiToArrayBuffer(str) |
-{ |
- var chars = []; |
- for (var i = 0; i < str.length; ++i) |
- chars.push(str.charCodeAt(i)); |
- return new Uint8Array(chars); |
-} |
- |
// Each sub-test run in this file is asynchronous. Chaining them together |
// manually leads to very unreadable code, due to having closures within |
// closures within closures. Instead of doing that, each subtest calls |