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

Unified Diff: LayoutTests/crypto/sign-verify.html

Issue 204013006: [webcrypto] Add length parameter to HmacKeyAlgorithm. (blink) (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 | « no previous file | LayoutTests/crypto/sign-verify-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/sign-verify.html
diff --git a/LayoutTests/crypto/sign-verify.html b/LayoutTests/crypto/sign-verify.html
index 2b07f145f080f59bc5bfcf4ce1d3f93d1546d009..8846007100527afcd069bbcf5ef9def32b903655 100644
--- a/LayoutTests/crypto/sign-verify.html
+++ b/LayoutTests/crypto/sign-verify.html
@@ -94,6 +94,7 @@ function runSuccessTestCase(testCase)
shouldBe("tmpKey.extractable", "false")
shouldBe("tmpKey.algorithm.name", "'HMAC'")
shouldBe("tmpKey.algorithm.hash.name", "'" + testCase.algorithm + "'")
+ shouldEvaluateTo("tmpKey.algorithm.length", keyData.length * 8);
shouldBe("tmpKey.usages.join(',')", "'sign,verify'")
// (2) Sign.
« no previous file with comments | « no previous file | LayoutTests/crypto/sign-verify-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698