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

Unified Diff: LayoutTests/crypto/rsa-oaep-key-manipulation.html

Issue 336173002: [webcrypto] Require importKey() for JWK to provide data as a Javascript object rather than a JSON a… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update additional tests Created 6 years, 6 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/rsa-indexeddb.html ('k') | LayoutTests/crypto/rsa-oaep-plaintext-length.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/rsa-oaep-key-manipulation.html
diff --git a/LayoutTests/crypto/rsa-oaep-key-manipulation.html b/LayoutTests/crypto/rsa-oaep-key-manipulation.html
index dc616182dff133d2406616f1131eac074879edf8..8d7631ec907ad107b4f5fb9504ba0948159032a2 100644
--- a/LayoutTests/crypto/rsa-oaep-key-manipulation.html
+++ b/LayoutTests/crypto/rsa-oaep-key-manipulation.html
@@ -71,7 +71,7 @@ crypto.subtle.generateKey(algorithmKeyGen, extractable, ["encrypt", "decrypt", "
shouldBe("bytesToHexString(Base64URL.parse(jwkPublicKey.e))", "'010001'");
debug("\nImporting it back...");
- return crypto.subtle.importKey("jwk", jwkPublicKeyArray, { name: "RSA-OAEP", hash: {name: "sha-1"} }, extractable, ["encrypt", "wrapKey"]);
+ return crypto.subtle.importKey("jwk", jwkPublicKey, { name: "RSA-OAEP", hash: {name: "sha-1"} }, extractable, ["encrypt", "wrapKey"]);
}).then(function(result) {
exportedPublicKey = result;
shouldBe("exportedPublicKey.type", "'public'");
« no previous file with comments | « LayoutTests/crypto/rsa-indexeddb.html ('k') | LayoutTests/crypto/rsa-oaep-plaintext-length.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698