| Index: LayoutTests/crypto/ecdh-deriveBits-failures-expected.txt
|
| diff --git a/LayoutTests/crypto/ecdh-deriveBits-failures-expected.txt b/LayoutTests/crypto/ecdh-deriveBits-failures-expected.txt
|
| index 38a3e45f9ef6ace19086d89c038c717bb8571544..c1e1a7f1dd2651ff0c0a24f0b6b1c86a46e0da66 100644
|
| --- a/LayoutTests/crypto/ecdh-deriveBits-failures-expected.txt
|
| +++ b/LayoutTests/crypto/ecdh-deriveBits-failures-expected.txt
|
| @@ -3,15 +3,34 @@ Tests bad inputs to ECDH's deriveBits()
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| +deriveBits() without algorithm name or public key...
|
| error is: TypeError: Algorithm: name: Missing or not a string
|
| +
|
| +deriveBits() without public key...
|
| error is: TypeError: EcdhKeyDeriveParams: public: Missing required property
|
| +
|
| +deriveBits() with algorithm name that is null...
|
| error is: TypeError: Algorithm: Not an object
|
| +
|
| +deriveBits() with algorithm name that is -1...
|
| error is: NotSupportedError: Algorithm: Unrecognized name
|
| +
|
| +deriveBits() with public key that is null...
|
| error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
|
| +
|
| +deriveBits() with public key that is -1...
|
| error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
|
| +
|
| +deriveBits() with public key that is a string...
|
| error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
|
| +
|
| +deriveBits() with wrong curve public key...
|
| error is: InvalidAccessError: The public parameter for ECDH key derivation is for a different named curve
|
| +
|
| +deriveBits() with private key as public key...
|
| error is: InvalidAccessError: The public parameter for ECDH key derivation is not a public EC key
|
| +
|
| +deriveBits() with public key that is for ECDSA...
|
| error is: InvalidAccessError: The public parameter for ECDH key derivation must be for ECDH
|
| PASS successfullyParsed is true
|
|
|
|
|