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

Unified Diff: LayoutTests/crypto/importKey.html

Issue 21561004: WebCrypto: Add crypto.subtle.verify() to the platform interfaces. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
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

Powered by Google App Engine
This is Rietveld 408576698