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

Unified Diff: LayoutTests/crypto/rsa-oaep-encrypt-parseAlgorithm-failures-expected.txt

Issue 289073005: [webcrypto] Hook up parameter normalization for RSA-OAEP. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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/rsa-oaep-encrypt-parseAlgorithm-failures-expected.txt
diff --git a/LayoutTests/crypto/rsa-oaep-encrypt-parseAlgorithm-failures-expected.txt b/LayoutTests/crypto/rsa-oaep-encrypt-parseAlgorithm-failures-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ea3f62dc7f2f8d15b74c62b0a41164e849357477
--- /dev/null
+++ b/LayoutTests/crypto/rsa-oaep-encrypt-parseAlgorithm-failures-expected.txt
@@ -0,0 +1,17 @@
+Tests bad algorithm inputs for RSA-OAEP encrypt
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS publicKey.algorithm.name is "RSA-OAEP"
+PASS publicKey.algorithm.hash.name is "SHA-256"
+PASS publicKey.type is "public"
+PASS typeof publicKey.extractable is 'boolean'
+PASS publicKey.extractable is true
+PASS publicKey.usages.join(',') is "encrypt"
+error is: SyntaxError: RsaOaepParams: label: Not an ArrayBufferView
+error is: SyntaxError: RsaOaepParams: label: Not an ArrayBufferView
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698