Index: LayoutTests/crypto/subtle/hkdf-importKey-failures-expected.txt |
diff --git a/LayoutTests/crypto/subtle/hkdf-importKey-failures-expected.txt b/LayoutTests/crypto/subtle/hkdf-importKey-failures-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0e37504c672b75534e33a096a489927dc1a89f95 |
--- /dev/null |
+++ b/LayoutTests/crypto/subtle/hkdf-importKey-failures-expected.txt |
@@ -0,0 +1,24 @@ |
+Test inputs to HKDF importKey() |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+ |
+importKey() with 'encrypt' usage... |
+error is: SyntaxError: Cannot create a key using the specified key usages. |
+ |
+importKey() with null key data... |
+error is: DataError: Key data must be a buffer for non-JWK formats |
+ |
+importKey() with jwk format... |
+error is: NotSupportedError: Unsupported import key format for algorithm |
+ |
+importKey() with spki format... |
+error is: NotSupportedError: Unsupported import key format for algorithm |
+ |
+importKey() with empty usages... |
+error is: SyntaxError: Usages cannot be empty when creating a key. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |