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

Side by Side Diff: LayoutTests/crypto/sign-verify-badParameters-expected.txt

Issue 222003006: [webcrypto] Don't throw any extra WebIDL exceptions from WebCrypto methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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: Invalid signature argument
2 CONSOLE ERROR: Invalid signature argument
3 CONSOLE ERROR: Invalid signature argument
1 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation 4 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
2 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: Unsupported operation 5 CONSOLE ERROR: Algorithm: RSAES-PKCS1-v1_5: Unsupported operation
3 Tests calling cypto.subtle.sign and crypto.subtle.verify with incorrect inputs 6 Tests calling cypto.subtle.sign and crypto.subtle.verify with incorrect inputs
4 7
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 9
7 10
8 PASS crypto.subtle.verify(hmac, key, null, data) threw exception TypeError: Fail ed to execute 'verify' on 'SubtleCrypto': Invalid signature argument. 11 PASS error is null
9 PASS crypto.subtle.verify(hmac, key, 'a', data) threw exception TypeError: Faile d to execute 'verify' on 'SubtleCrypto': Invalid signature argument. 12 PASS error is null
10 PASS crypto.subtle.verify(hmac, key, [], data) threw exception TypeError: Failed to execute 'verify' on 'SubtleCrypto': Invalid signature argument. 13 PASS error is null
11 PASS error is null 14 PASS error is null
12 PASS error is null 15 PASS error is null
13 PASS successfullyParsed is true 16 PASS successfullyParsed is true
14 17
15 TEST COMPLETE 18 TEST COMPLETE
16 19
OLDNEW
« no previous file with comments | « LayoutTests/crypto/sign-verify-badParameters.html ('k') | LayoutTests/crypto/unwrapKey-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698