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

Side by Side Diff: LayoutTests/crypto/subtle/aes-kw/key-manipulation-expected.txt

Issue 957713004: [WebCrypto] Split LayoutTests/crypto/subtle into per-algorithm directories (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to latest master Created 5 years, 10 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 Test generating, importing and exporting keys for AES-KW. Test that they can't b e used with another algorithm. 1 Test generating, importing and exporting keys for AES-KW. Test that they can't b e used with another algorithm.
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 Generating a key... 6 Generating a key...
7 PASS key.toString() is '[object CryptoKey]' 7 PASS key.toString() is '[object CryptoKey]'
8 PASS key.type is 'secret' 8 PASS key.type is 'secret'
9 PASS key.algorithm.name is 'AES-KW' 9 PASS key.algorithm.name is 'AES-KW'
10 PASS key.algorithm.length is 256 10 PASS key.algorithm.length is 256
11 11
12 Testing that the key can't be used with AES-CBC... 12 Testing that the key can't be used with AES-CBC...
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 14
15 Exporting the key to raw... 15 Exporting the key to raw...
16 PASS exportedKey.toString() is '[object ArrayBuffer]' 16 PASS exportedKey.toString() is '[object ArrayBuffer]'
17 Importing it back... 17 Importing it back...
18 PASS importedKey.toString() is '[object CryptoKey]' 18 PASS importedKey.toString() is '[object CryptoKey]'
19 PASS importedKey.type is 'secret' 19 PASS importedKey.type is 'secret'
20 PASS importedKey.algorithm.name is 'AES-KW' 20 PASS importedKey.algorithm.name is 'AES-KW'
21 PASS importedKey.algorithm.length is 256 21 PASS importedKey.algorithm.length is 256
22 PASS successfullyParsed is true 22 PASS successfullyParsed is true
23 23
24 TEST COMPLETE 24 TEST COMPLETE
25 25
OLDNEW
« no previous file with comments | « LayoutTests/crypto/subtle/aes-kw/key-manipulation.html ('k') | LayoutTests/crypto/subtle/aes-kw/wrap-unwrap-aes.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698