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

Side by Side Diff: LayoutTests/crypto/unwrapKey-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 wrappedKey argument
2 CONSOLE ERROR: Invalid unwrappingKey argument
3 CONSOLE ERROR: Algorithm: Not an object
1 CONSOLE ERROR: Invalid keyFormat argument 4 CONSOLE ERROR: Invalid keyFormat argument
2 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation 5 CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
3 CONSOLE ERROR: key.algorithm does not match that of operation 6 CONSOLE ERROR: key.algorithm does not match that of operation
4 Tests calls to unwrapKey() with bad inputs. 7 Tests calls to unwrapKey() with bad inputs.
5 8
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 9 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
7 10
8 11
9 PASS crypto.subtle.unwrapKey('raw', null, unwrappingKey, unwrapAlgorithm, unwrap pedKeyAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to ex ecute 'unwrapKey' on 'SubtleCrypto': Invalid wrappedKey argument. 12 PASS error is null
10 PASS crypto.subtle.unwrapKey('raw', wrappedKey, 'hi', unwrapAlgorithm, unwrapped KeyAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to execu te 'unwrapKey' on 'SubtleCrypto': Invalid unwrappingKey argument. 13 PASS error is null
11 PASS crypto.subtle.unwrapKey('raw', wrappedKey, 'hi', unwrapAlgorithm, null, ext ractable, 9) threw exception TypeError: The 7th argument is neither an array, no r does it have indexed properties.. 14 PASS crypto.subtle.unwrapKey('raw', wrappedKey, 'hi', unwrapAlgorithm, null, ext ractable, 9) threw exception TypeError: The 7th argument is neither an array, no r does it have indexed properties..
12 PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, null, unwrappedKe yAlgorithm, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': Algorithm: Not an object. 15 PASS error is null
13 PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, unwrapAlgorithm, 3, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapK ey' on 'SubtleCrypto': parameter 5 ('unwrappedKeyAlgorithm') is not an object.. 16 PASS crypto.subtle.unwrapKey('raw', wrappedKey, unwrappingKey, unwrapAlgorithm, 3, extractable, keyUsages) threw exception TypeError: Failed to execute 'unwrapK ey' on 'SubtleCrypto': parameter 5 ('unwrappedKeyAlgorithm') is not an object..
14 PASS error is null 17 PASS error is null
15 PASS error is null 18 PASS error is null
16 PASS error is null 19 PASS error is null
17 PASS successfullyParsed is true 20 PASS successfullyParsed is true
18 21
19 TEST COMPLETE 22 TEST COMPLETE
20 23
OLDNEW
« no previous file with comments | « LayoutTests/crypto/unwrapKey-badParameters.html ('k') | LayoutTests/crypto/wrapKey-badParameters.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698