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

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

Issue 24467004: [webcrypto] Remove MockWebCrypto. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove some unused params Created 7 years, 2 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 cypto.subtle.exportKey. 1 Tests cypto.subtle.exportKey.
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 PASS crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt) threw exception TypeErro r: Invalid keyFormat argument. 6 PASS crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt) threw exception TypeErro r: Invalid keyFormat argument.
7 PASS crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt) threw exception TypeE rror: Invalid keyFormat argument. 7 PASS crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt) threw exception TypeE rror: Invalid keyFormat argument.
8 PASS crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt) threw exception TypeError: Invalid keyFormat argument. 8 PASS crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt) threw exception TypeError: Invalid keyFormat argument.
9 PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Invalid key argument. 9 PASS crypto.subtle.exportKey('raw', null) threw exception TypeError: Invalid key argument.
10 PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Invalid key ar gument. 10 PASS crypto.subtle.exportKey('raw', 3) threw exception TypeError: Invalid key ar gument.
11 PASS keys.aesCbcJustDecrypt.extractable is false 11 PASS keys.aesCbcJustDecrypt.extractable is false
12 PASS crypto.subtle.exportKey('raw', keys.aesCbcJustDecrypt) threw exception NotS upportedError: key is not extractable. 12 PASS crypto.subtle.exportKey('raw', keys.aesCbcJustDecrypt) threw exception NotS upportedError: key is not extractable.
13 PASS keyData.byteLength is 3
14 PASS keyData.byteLength is 5
15 PASS successfullyParsed is true 13 PASS successfullyParsed is true
16 14
17 TEST COMPLETE 15 TEST COMPLETE
18 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698