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

Unified Diff: LayoutTests/crypto/encrypt-decrypt-expected.txt

Issue 23126008: WebCrypto: refactor layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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/encrypt-decrypt.html ('k') | LayoutTests/crypto/generateKey.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/encrypt-decrypt-expected.txt
diff --git a/LayoutTests/crypto/encrypt-decrypt-expected.txt b/LayoutTests/crypto/encrypt-decrypt-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..26b6b334bfa0c52b8f83ce5e87f158173454421a
--- /dev/null
+++ b/LayoutTests/crypto/encrypt-decrypt-expected.txt
@@ -0,0 +1,15 @@
+Tests cypto.subtle.encrypt and crypto.subtle.decrypt
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: null}, keys.aesCbc, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS crypto.subtle.encrypt({name: 'AES-CBC'}, keys.aesCbc, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: 3}, keys.aesCbc, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array[0]}, keys.aesCbc, data) threw exception TypeError: undefined is not a function.
+PASS crypto.subtle.encrypt(aesCbc, keys.hmacSha1, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS crypto.subtle.encrypt(aesCbc, keys.aesCbcJustDecrypt, data) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/crypto/encrypt-decrypt.html ('k') | LayoutTests/crypto/generateKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698