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

Side by Side Diff: LayoutTests/crypto/aes-cbc-wrong-key-class-expected.txt

Issue 298023002: [webcrypto] Import WebKit's webcrypto tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Modify the tests to work in blink Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 Make sure that the usages of an AES key are respected 1 Test calling AES-CBC encrypt with a HMAC key.
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 error is: InvalidAccessError: key.usages does not permit this operation 6 Importing a raw HMAC key from string literal...
7 Using the key to encrypt plaintext...
7 error is: InvalidAccessError: key.usages does not permit this operation 8 error is: InvalidAccessError: key.usages does not permit this operation
8 PASS successfullyParsed is true 9 PASS successfullyParsed is true
9 10
10 TEST COMPLETE 11 TEST COMPLETE
11 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698