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

Side by Side Diff: LayoutTests/crypto/subtle/aes-export-key-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
« no previous file with comments | « no previous file | LayoutTests/crypto/subtle/exportKey-badParameters-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test exporting an AES key. 1 Test exporting an AES key.
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 'exportKey' on 'SubtleCrypto': 2 argument s required, but only 1 present. 6 error is: TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': 2 argument s required, but only 1 present.
7 error is: TypeError: Invalid key argument 7 error is: TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': parameter 2 is not of type 'CryptoKey'.
8 error is: TypeError: Invalid key argument 8 error is: TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': parameter 2 is not of type 'CryptoKey'.
9 error is: TypeError: Invalid key argument 9 error is: TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': parameter 2 is not of type 'CryptoKey'.
10 error is: TypeError: Invalid key argument 10 error is: TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': parameter 2 is not of type 'CryptoKey'.
11 11
12 Importing a JWK key... 12 Importing a JWK key...
13 error is: TypeError: Invalid keyFormat argument 13 error is: TypeError: Invalid keyFormat argument
14 error is: TypeError: Invalid keyFormat argument 14 error is: TypeError: Invalid keyFormat argument
15 error is: TypeError: Invalid keyFormat argument 15 error is: TypeError: Invalid keyFormat argument
16 error is: TypeError: Invalid keyFormat argument 16 error is: TypeError: Invalid keyFormat argument
17 error is: TypeError: Invalid keyFormat argument 17 error is: TypeError: Invalid keyFormat argument
18 18
19 Exporting the key as raw data... 19 Exporting the key as raw data...
20 PASS bytesToHexString(new Uint8Array(exportedData)) is '8e73b0f7da0e6452c810f32b 809079e562f8ead2522c6b7b8e73b0f7da0e6452' 20 PASS bytesToHexString(new Uint8Array(exportedData)) is '8e73b0f7da0e6452c810f32b 809079e562f8ead2522c6b7b8e73b0f7da0e6452'
(...skipping 10 matching lines...) Expand all
31 Trying to export as raw... 31 Trying to export as raw...
32 PASS Rejected, as expected 32 PASS Rejected, as expected
33 error is: InvalidAccessError: key is not extractable 33 error is: InvalidAccessError: key is not extractable
34 Trying to export as jwk... 34 Trying to export as jwk...
35 PASS Rejected, as expected 35 PASS Rejected, as expected
36 error is: InvalidAccessError: key is not extractable 36 error is: InvalidAccessError: key is not extractable
37 PASS successfullyParsed is true 37 PASS successfullyParsed is true
38 38
39 TEST COMPLETE 39 TEST COMPLETE
40 40
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/crypto/subtle/exportKey-badParameters-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698