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

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

Issue 555133003: Use ExceptionState to throw exceptions when converting arrays (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 6 years, 3 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 unwrapKey() with bad inputs. 1 Tests calls to unwrapKey() 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: Failed to execute 'unwrapKey' on 'SubtleCrypto': No functio n was found that matched the signature provided. 6 error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': No functio n was found that matched the signature provided.
7 error is: DataError: Invalid unwrappingKey argument 7 error is: DataError: Invalid unwrappingKey argument
8 error is: TypeError: The 7th argument is neither an array, nor does it have inde xed properties. 8 error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': The 7th ar gument is neither an array, nor does it have indexed properties.
9 error is: SyntaxError: Algorithm: Not an object 9 error is: SyntaxError: Algorithm: Not an object
10 error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': parameter 5 ('unwrappedKeyAlgorithm') is not an object. 10 error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': parameter 5 ('unwrappedKeyAlgorithm') is not an object.
11 error is: SyntaxError: Invalid keyFormat argument 11 error is: SyntaxError: Invalid keyFormat argument
12 error is: NotSupportedError: SHA-1: Unsupported operation: unwrapKey 12 error is: NotSupportedError: SHA-1: Unsupported operation: unwrapKey
13 error is: InvalidAccessError: key.algorithm does not match that of operation 13 error is: InvalidAccessError: key.algorithm does not match that of operation
14 PASS successfullyParsed is true 14 PASS successfullyParsed is true
15 15
16 TEST COMPLETE 16 TEST COMPLETE
17 17
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698