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

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

Issue 957713004: [WebCrypto] Split LayoutTests/crypto/subtle into per-algorithm directories (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master Created 5 years, 10 months 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
(Empty)
1 Tests bad inputs to ECDH's deriveBits()
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6
7 deriveBits() without algorithm name or public key...
8 error is: TypeError: Algorithm: name: Missing or not a string
9
10 deriveBits() without public key...
11 error is: TypeError: EcdhKeyDeriveParams: public: Missing required property
12
13 deriveBits() with algorithm that is null...
14 error is: TypeError: Algorithm: Not an object
15
16 deriveBits() with algorithm that is -1...
17 error is: NotSupportedError: Algorithm: Unrecognized name
18
19 deriveBits() with public key that is null...
20 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
21
22 deriveBits() with public key that is -1...
23 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
24
25 deriveBits() with public key that is a string...
26 error is: TypeError: EcdhKeyDeriveParams: public: Must be a CryptoKey
27
28 deriveBits() with wrong curve public key...
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
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...
35 error is: InvalidAccessError: The public parameter for ECDH key derivation must be for ECDH
36 PASS successfullyParsed is true
37
38 TEST COMPLETE
39
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/ecdh-deriveBits-failures.html ('k') | LayoutTests/crypto/subtle/ecdh-deriveKey-aes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698