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

Side by Side Diff: LayoutTests/crypto/aes-key-algorithm-mismatch-expected.txt

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning Created 6 years, 7 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 CONSOLE ERROR: key.algorithm does not match that of operation
2 Call encrypt using the wrong AES key 1 Call encrypt using the wrong AES key
3 2
4 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 ".
5 4
6 5
7 PASS key.algorithm.name is "AES-GCM" 6 PASS key.algorithm.name is "AES-GCM"
8 PASS error is null 7 error is: InvalidAccessError: key.algorithm does not match that of operation
9 PASS successfullyParsed is true 8 PASS successfullyParsed is true
10 9
11 TEST COMPLETE 10 TEST COMPLETE
12 11
OLDNEW
« no previous file with comments | « LayoutTests/crypto/aes-key-algorithm-mismatch.html ('k') | LayoutTests/crypto/aes-key-usages.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698