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 |
+ |