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

Unified Diff: LayoutTests/crypto/exportKey.html

Issue 206483010: [webcrypto] Refactor some layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « LayoutTests/crypto/encrypt-decrypt-expected.txt ('k') | LayoutTests/crypto/import-aes-key-bad-length.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/exportKey.html
diff --git a/LayoutTests/crypto/exportKey.html b/LayoutTests/crypto/exportKey.html
index 314ef16af2b22b433abab5bfc505f63908509f3b..6032f586994939e1236dcaf7ebad07886755f7c2 100644
--- a/LayoutTests/crypto/exportKey.html
+++ b/LayoutTests/crypto/exportKey.html
@@ -3,6 +3,7 @@
<head>
<script src="../resources/js-test.js"></script>
<script src="resources/common.js"></script>
+<script src="resources/keys.js"></script>
</head>
<body>
<p id="description"></p>
@@ -34,7 +35,7 @@ addTask(importTestKeys().then(function(result) {
return crypto.subtle.exportKey('spki', keys.rsaSsaSha1Public);
}).then(function(result) {
- bytesShouldMatchHexString("Key bytes", kPublicKeySpkiDerHex, result);
+ bytesShouldMatchHexString("Key bytes", kKeyData.rsa1.spki, result);
}));
completeTestWhenAllTasksDone();
« no previous file with comments | « LayoutTests/crypto/encrypt-decrypt-expected.txt ('k') | LayoutTests/crypto/import-aes-key-bad-length.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698