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

Side by Side Diff: LayoutTests/crypto/exportKey-expected.txt

Issue 170243007: [webcrypto] Make all of the crypto.subtle method failures asynchronous. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/crypto/exportKey.html ('k') | LayoutTests/crypto/generateKey.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE ERROR: Invalid keyFormat argument
2 CONSOLE ERROR: Invalid keyFormat argument
3 CONSOLE ERROR: Invalid keyFormat argument
1 CONSOLE ERROR: key is not extractable 4 CONSOLE ERROR: key is not extractable
2 Tests cypto.subtle.exportKey. 5 Tests cypto.subtle.exportKey.
3 6
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 8
6 9
7 PASS crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt) threw exception TypeErro r: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argument.
8 PASS crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt) threw exception TypeE rror: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat argumen t.
9 PASS crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt) threw exception TypeError: Failed to execute 'exportKey' on 'SubtleCrypto': Invalid keyFormat ar gument.
10 PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Failed to e xecute 'exportKey' on 'SubtleCrypto': Invalid key argument. 10 PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Failed to e xecute 'exportKey' on 'SubtleCrypto': Invalid key argument.
11 PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Failed to exec ute 'exportKey' on 'SubtleCrypto': Invalid key argument. 11 PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Failed to exec ute 'exportKey' on 'SubtleCrypto': Invalid key argument.
12 PASS keys.aesCbcJustDecrypt.extractable is false 12 PASS keys.aesCbcJustDecrypt.extractable is false
13 PASS: 'crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt)' rejected with null
14 PASS: 'crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt)' rejected with null
15 PASS: 'crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt)' rejected with null
13 PASS: 'crypto.subtle.exportKey('raw', keys.aesCbcJustDecrypt)' rejected with nul l 16 PASS: 'crypto.subtle.exportKey('raw', keys.aesCbcJustDecrypt)' rejected with nul l
14 PASS successfullyParsed is true 17 PASS successfullyParsed is true
15 18
16 TEST COMPLETE 19 TEST COMPLETE
17 20
OLDNEW
« no previous file with comments | « LayoutTests/crypto/exportKey.html ('k') | LayoutTests/crypto/generateKey.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698