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

Side by Side Diff: LayoutTests/crypto/importKey-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 keyData argument
2 CONSOLE ERROR: Invalid keyData argument
3 CONSOLE ERROR: Algorithm: Not an object
1 CONSOLE ERROR: Invalid keyFormat argument 4 CONSOLE ERROR: Invalid keyFormat argument
2 CONSOLE ERROR: Invalid keyUsages argument 5 CONSOLE ERROR: Invalid keyUsages argument
3 CONSOLE ERROR: Invalid keyFormat argument 6 CONSOLE ERROR: Invalid keyFormat argument
4 CONSOLE ERROR: Algorithm: HMAC: HmacImportParams: hash: Missing or not a diction ary 7 CONSOLE ERROR: Algorithm: HMAC: HmacImportParams: hash: Missing or not a diction ary
5 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation 8 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
6 Tests calling cypto.subtle.importKey with bad parameters 9 Tests calling cypto.subtle.importKey with bad parameters
7 10
8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 11 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
9 12
10 13
11 PASS crypto.subtle.importKey('raw', [], aesCbc, extractable, ['encrypt']) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid ke yData argument.
12 PASS crypto.subtle.importKey('raw', null, aesCbc, extractable, ['encrypt']) thre w exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
13 PASS crypto.subtle.importKey('raw', aesCbc, null, extractable, ['encrypt']) thre w exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
14 PASS error is null 14 PASS error is null
15 PASS error is null 15 PASS error is null
16 PASS error is null 16 PASS error is null
17 PASS error is null
18 PASS error is null
19 PASS error is null
17 PASS error is null 20 PASS error is null
18 PASS error is null 21 PASS error is null
19 PASS successfullyParsed is true 22 PASS successfullyParsed is true
20 23
21 TEST COMPLETE 24 TEST COMPLETE
22 25
OLDNEW
« no previous file with comments | « LayoutTests/crypto/importKey-badParameters.html ('k') | LayoutTests/crypto/sign-verify-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698