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

Unified Diff: LayoutTests/crypto/encrypt-decrypt.html

Issue 179353002: [webcrypto] Add the KeyAlgorithm interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase yet again (another conflict) Created 6 years, 10 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 | « no previous file | LayoutTests/crypto/encrypt-decrypt-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/encrypt-decrypt.html
diff --git a/LayoutTests/crypto/encrypt-decrypt.html b/LayoutTests/crypto/encrypt-decrypt.html
index b2120d1c5f5e3c347109f2a50813a27663b1bf7c..f0c1a5cd4e5a2a6da4ba10153edf1b23971331b0 100644
--- a/LayoutTests/crypto/encrypt-decrypt.html
+++ b/LayoutTests/crypto/encrypt-decrypt.html
@@ -151,6 +151,7 @@ function runAesCbcSuccessTestCase(testCase)
shouldBe("tmpKey.type", "'secret'");
shouldBe("tmpKey.extractable", "false");
shouldBe("tmpKey.algorithm.name", "'AES-CBC'");
+ shouldBe("tmpKey.algorithm.length", (keyData.byteLength * 8).toString());
shouldBe("tmpKey.usages.join(',')", "'decrypt,encrypt'");
// (2) Encrypt.
« no previous file with comments | « no previous file | LayoutTests/crypto/encrypt-decrypt-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698