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

Unified Diff: LayoutTests/crypto/aes-cbc-generate-key-expected.txt

Issue 298023002: [webcrypto] Import WebKit's webcrypto tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Modify the tests to work in blink 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
Index: LayoutTests/crypto/aes-cbc-generate-key-expected.txt
diff --git a/LayoutTests/crypto/aes-cbc-generate-key-expected.txt b/LayoutTests/crypto/aes-cbc-generate-key-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d90cb76c07e2611ed03ee4396f4f3997beca7634
--- /dev/null
+++ b/LayoutTests/crypto/aes-cbc-generate-key-expected.txt
@@ -0,0 +1,18 @@
+Test generating an AES key using AES-CBC algorithm.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Generating a key...
+error is: SyntaxError: AesKeyGenParams: length: Missing required property
+error is: SyntaxError: AesKeyGenParams: length: Is not a number
+error is: SyntaxError: AesKeyGenParams: length: Is not a number
+PASS key.type is 'secret'
+PASS key.extractable is true
+PASS key.algorithm.name is 'AES-CBC'
+PASS key.algorithm.length is 128
+PASS key.usages is ['encrypt', 'decrypt']
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698