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

Side by Side Diff: LayoutTests/crypto/aes-key-usages-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: Created 6 years, 8 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.usages does not permit this operation
2 CONSOLE ERROR: key.usages does not permit this operation
3 Make sure that the usages of an AES key are respected 1 Make sure that the usages of an AES key are respected
4 2
5 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 ".
6 4
7 5
8 PASS error is null 6 error is: InvalidAccessError: key.usages does not permit this operation
9 PASS error is null 7 error is: InvalidAccessError: key.usages does not permit this operation
10 PASS successfullyParsed is true 8 PASS successfullyParsed is true
11 9
12 TEST COMPLETE 10 TEST COMPLETE
13 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698