Chromium Code Reviews| 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..a9b1d8b4c7b7705f2fbf1dfbc12ab344f1051838 |
| --- /dev/null |
| +++ b/LayoutTests/crypto/subtle/hkdf-importKey-expected.txt |
| @@ -0,0 +1,26 @@ |
| +Test bad inputs to HKDF deriveBits() |
| + |
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| + |
| + |
| + |
| +importKey() with bad usages... |
|
eroman
2014/12/23 23:29:39
rather than say "bad usages" say which uses were u
nharper
2015/01/06 23:51:59
Done.
|
| +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: DataError: Key data must be an object for JWK import |
| + |
| +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 |
| + |