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

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

Issue 267133002: [webcrypto] Allow both ArrayBuffer and ArrayBufferView as inputs to crypto.subtle methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename ArrayBytes --> ArrayPiece Created 6 years, 7 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 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: DataError: Invalid wrappedKey argument 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: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': No functio n was found that matched the signature provided.
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': No functio n was found that matched the signature provided.
9 error is: SyntaxError: Algorithm: Not an object 9 error is: TypeError: Failed to execute 'unwrapKey' on 'SubtleCrypto': No functio n was found that matched the signature provided.
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': No functio n was found that matched the signature provided.
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
« no previous file with comments | « LayoutTests/crypto/sign-verify-badParameters-expected.txt ('k') | Source/modules/crypto/SubtleCrypto.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698