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

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

Issue 754563003: Add LayoutTests for WebCrypto's ECDH algorithm. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master 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 | Annotate | Revision Log
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 error is: SyntaxError: Algorithm: name: Missing or not a string
7 error is: SyntaxError: EcdhKeyDeriveParams: public: Missing required property
8 error is: SyntaxError: Algorithm: Not an object
9 error is: TypeError: Failed to execute 'deriveBits' on 'SubtleCrypto': parameter 1 ('algorithm') is not an object.
10 error is: SyntaxError: EcdhKeyDeriveParams: public: Must be a CryptoKey
11 error is: SyntaxError: EcdhKeyDeriveParams: public: Must be a CryptoKey
12 error is: SyntaxError: EcdhKeyDeriveParams: public: Must be a CryptoKey
13 error is: InvalidAccessError: The public parameter for ECDH key derivation is fo r a different named curve
14 error is: InvalidAccessError: The public parameter for ECDH key derivation is no t a public EC key
15 error is: InvalidAccessError: The public parameter for ECDH key derivation must be for ECDH
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW
« no previous file with comments | « LayoutTests/crypto/ecdh-deriveBits-failures.html ('k') | LayoutTests/crypto/ecdh-generate-key.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698