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