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

Side by Side Diff: LayoutTests/crypto/subtle/wrapKey-badParameters-expected.txt

Issue 978353002: Add [TypeChecking=Unrestricted] to SubtleCrypto interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
OLDNEW
1 Tests calls to wrapKey() with bad inputs. 1 Tests calls to wrapKey() with bad inputs.
2 2
3 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 ".
4 4
5 5
6 error is: TypeError: Invalid key argument 6 error is: TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': parameter 2 is not of type 'CryptoKey'.
7 error is: TypeError: Invalid wrappingKey argument 7 error is: TypeError: Failed to execute 'wrapKey' on 'SubtleCrypto': parameter 3 is not of type 'CryptoKey'.
8 error is: TypeError: Algorithm: Not an object 8 error is: TypeError: Algorithm: Not an object
9 error is: TypeError: Invalid keyFormat argument 9 error is: TypeError: Invalid keyFormat argument
10 error is: NotSupportedError: SHA-1: Unsupported operation: wrapKey 10 error is: NotSupportedError: SHA-1: Unsupported operation: wrapKey
11 error is: InvalidAccessError: key.algorithm does not match that of operation 11 error is: InvalidAccessError: key.algorithm does not match that of operation
12 PASS successfullyParsed is true 12 PASS successfullyParsed is true
13 13
14 TEST COMPLETE 14 TEST COMPLETE
15 15
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/unwrapKey-badParameters-expected.txt ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698