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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/crypto/subtle/importKey-badParameters-expected.txt

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO Created 3 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
OLDNEW
1 Tests calling cypto.subtle.importKey with bad parameters 1 Tests calling cypto.subtle.importKey with bad parameters
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: Key data must be a BufferSource for non-JWK formats 6 error is: TypeError: Key data must be a BufferSource for non-JWK formats
7 error is: TypeError: Key data must be a BufferSource for non-JWK formats 7 error is: TypeError: Key data must be a BufferSource for non-JWK formats
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: TypeError: Invalid keyUsages argument 10 error is: TypeError: Invalid keyUsages argument
11 error is: TypeError: Invalid keyFormat argument 11 error is: TypeError: Invalid keyFormat argument
12 error is: TypeError: HmacImportParams: hash: Missing or not an AlgorithmIdentifi er 12 error is: TypeError: HmacImportParams: hash: Missing or not an AlgorithmIdentifi er
13 error is: NotSupportedError: SHA-1: Unsupported operation: importKey 13 error is: NotSupportedError: SHA-1: Unsupported operation: importKey
14 error is: TypeError: Failed to execute 'importKey' on 'SubtleCrypto': The provid ed ArrayBufferView value must not be shared.
14 PASS successfullyParsed is true 15 PASS successfullyParsed is true
15 16
16 TEST COMPLETE 17 TEST COMPLETE
17 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698