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

Unified Diff: LayoutTests/crypto/resources/subtle-crypto-concurrent.js

Issue 268653004: [refactor] Replace shouldBeTrue("a != b") with shouldNotBe("a", "b") in existing crypto tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/clone-rsaKey-public-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/resources/subtle-crypto-concurrent.js
diff --git a/LayoutTests/crypto/resources/subtle-crypto-concurrent.js b/LayoutTests/crypto/resources/subtle-crypto-concurrent.js
index 9e890e2ecba52c750af7dae21406d6c891f8cfbc..d4c79bbfb4b7b63b4bfffdb81af03d582f454f67 100644
--- a/LayoutTests/crypto/resources/subtle-crypto-concurrent.js
+++ b/LayoutTests/crypto/resources/subtle-crypto-concurrent.js
@@ -33,7 +33,8 @@ function testGenerateRsaKey()
{
var extractable = false;
var usages = ['encrypt', 'decrypt'];
- // Note that the modulus length is unsually small, in order to speed up the test.
+ // Note that the modulus length is unusually small in order to speed up
+ // the test (1024 or 2048 would be more typical).
var algorithm = {name: "RSAES-PKCS1-v1_5", modulusLength: 256, publicExponent: hexStringToUint8Array("010001")};
return crypto.subtle.generateKey(algorithm, extractable, usages).then(function(result) {
« no previous file with comments | « LayoutTests/crypto/clone-rsaKey-public-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698