Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Side by Side Diff: LayoutTests/crypto/ecdh-deriveBits-failures-expected.txt

Issue 801793003: Improve LayoutTest output for Errors (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Tests bad inputs to ECDH's deriveBits() 1 Tests bad inputs to ECDH's deriveBits()
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6
7 deriveBits() without algorithm name or public key...
6 error is: TypeError: Algorithm: name: Missing or not a string 8 error is: TypeError: Algorithm: name: Missing or not a string
9
10 deriveBits() without public key...
7 error is: TypeError: EcdhKeyDeriveParams: public: Missing required property 11 error is: TypeError: EcdhKeyDeriveParams: public: Missing required property
12
13 deriveBits() with algorithm that is null...
8 error is: TypeError: Algorithm: Not an object 14 error is: TypeError: Algorithm: Not an object
15
16 deriveBits() with algorithm that is -1...
9 error is: NotSupportedError: Algorithm: Unrecognized name 17 error is: NotSupportedError: Algorithm: Unrecognized name
18
19 deriveBits() with public key that is null...
10 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey 20 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
21
22 deriveBits() with public key that is -1...
11 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey 23 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
24
25 deriveBits() with public key that is a string...
12 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey 26 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
27
28 deriveBits() with wrong curve public key...
13 error is: InvalidAccessError: The public parameter for ECDH key derivation is fo r a different named curve 29 error is: InvalidAccessError: The public parameter for ECDH key derivation is fo r a different named curve
30
31 deriveBits() with a private key as the 'public' parameter
14 error is: InvalidAccessError: The public parameter for ECDH key derivation is no t a public EC key 32 error is: InvalidAccessError: The public parameter for ECDH key derivation is no t a public EC key
33
34 deriveBits() with public key that is for ECDSA...
15 error is: InvalidAccessError: The public parameter for ECDH key derivation must be for ECDH 35 error is: InvalidAccessError: The public parameter for ECDH key derivation must be for ECDH
16 PASS successfullyParsed is true 36 PASS successfullyParsed is true
17 37
18 TEST COMPLETE 38 TEST COMPLETE
19 39
OLDNEW
« no previous file with comments | « LayoutTests/crypto/ecdh-deriveBits-failures.html ('k') | LayoutTests/crypto/ecdsa-generateKey-parseAlgorithm-failures.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698