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

Unified Diff: LayoutTests/crypto/importKey-expected.txt

Issue 211933003: [refactor] Split importKey.html into smaller files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/crypto/importKey-expected.txt
diff --git a/LayoutTests/crypto/importKey-expected.txt b/LayoutTests/crypto/importKey-expected.txt
deleted file mode 100644
index eefcec4e6711771d6081d772c687e21910efc6ba..0000000000000000000000000000000000000000
--- a/LayoutTests/crypto/importKey-expected.txt
+++ /dev/null
@@ -1,51 +0,0 @@
-CONSOLE ERROR: Invalid keyFormat argument
-CONSOLE ERROR: Invalid keyUsages argument
-CONSOLE ERROR: Invalid keyFormat argument
-CONSOLE ERROR: Algorithm: HMAC: HmacImporParams: hash: Missing or not a dictionary
-CONSOLE ERROR: Algorithm: SHA-1: Unsupported operation
-Tests cypto.subtle.importKey.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS key.type is 'secret'
-PASS key.extractable is true
-PASS key.algorithm.name is 'HMAC'
-PASS key.algorithm.hash.name is 'SHA-256'
-PASS key.usages.join(',') is 'encrypt,sign'
-PASS key.type is 'secret'
-PASS key.extractable is true
-PASS key.algorithm.name is 'AES-CBC'
-PASS key.algorithm.length is 128
-PASS key.usages.join(',') is ''
-PASS key.type is 'secret'
-PASS key.extractable is false
-PASS key.algorithm.name is 'AES-CBC'
-PASS key.algorithm.length is 128
-PASS key.usages.join(',') is ''
-rejected with null
-PASS key.type is 'public'
-PASS key.algorithm.name is 'RSASSA-PKCS1-v1_5'
-PASS key.algorithm.hash.name is "SHA-1"
-PASS key.algorithm.modulusLength is 1024
-PASS: key.algorithm.publicExponent should be [010001] and was
-PASS key.usages.join(',') is ''
-PASS key.type is 'private'
-PASS key.extractable is false
-PASS key.algorithm.name is 'RSASSA-PKCS1-v1_5'
-PASS key.algorithm.hash.name is "SHA-1"
-PASS key.algorithm.modulusLength is 1024
-PASS: key.algorithm.publicExponent should be [010001] and was
-PASS key.usages.join(',') is ''
-PASS crypto.subtle.importKey(keyFormat, [], algorithm, extractable, keyUsages) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
-PASS crypto.subtle.importKey(keyFormat, null, algorithm, extractable, keyUsages) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Invalid keyData argument.
-PASS crypto.subtle.importKey(keyFormat, data, null, extractable, keyUsages) threw exception TypeError: Failed to execute 'importKey' on 'SubtleCrypto': Algorithm: Not an object.
-PASS: 'crypto.subtle.importKey('invalid format', data, algorithm, extractable, keyUsages)' rejected with null
-PASS: 'crypto.subtle.importKey(keyFormat, data, algorithm, extractable, ['SIGN'])' rejected with null
-PASS: 'crypto.subtle.importKey('invalid format', data, algorithm, extractable, ['SIGN'])' rejected with null
-PASS: 'crypto.subtle.importKey(keyFormat, data, {name: 'hmac'}, extractable, keyUsages)' rejected with null
-PASS: 'crypto.subtle.importKey(keyFormat, data, {name: 'sha-1'}, extractable, keyUsages)' rejected with null
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
« no previous file with comments | « LayoutTests/crypto/importKey-badParameters-expected.txt ('k') | LayoutTests/crypto/importKey-normalize-usages.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698