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

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

Issue 111603004: [webcrypto] Add AES-KW to the list of registered algorithms. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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
« no previous file with comments | « LayoutTests/crypto/generateKey.html ('k') | Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/generateKey-expected.txt
diff --git a/LayoutTests/crypto/generateKey-expected.txt b/LayoutTests/crypto/generateKey-expected.txt
index ff9d761adef0600125f93455fdb783b008db2775..ca0a1fdffbb4514e420639ac94b0ee87d39ed2fd 100644
--- a/LayoutTests/crypto/generateKey-expected.txt
+++ b/LayoutTests/crypto/generateKey-expected.txt
@@ -14,6 +14,10 @@ PASS crypto.subtle.generateKey({ name: 'aes-ctr' }, extractable, keyUsages) thre
PASS crypto.subtle.generateKey({ name: 'aes-ctr', length: 70000 }, extractable, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric range.
PASS crypto.subtle.generateKey({ name: 'aes-ctr', length: -3 }, extractable, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric range.
PASS crypto.subtle.generateKey({ name: 'aes-ctr', length: -Infinity }, extractable, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: AES-CTR: AesKeyGenParams: length: Outside of numeric range.
+PASS crypto.subtle.generateKey({ name: 'aes-kw' }, extractable, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: AES-KW: AesKeyGenParams: length: Missing required property.
+PASS crypto.subtle.generateKey({ name: 'aes-kw', length: 70000 }, extractable, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric range.
+PASS crypto.subtle.generateKey({ name: 'aes-kw', length: -3 }, extractable, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric range.
+PASS crypto.subtle.generateKey({ name: 'aes-kw', length: -Infinity }, extractable, keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: AES-KW: AesKeyGenParams: length: Outside of numeric range.
PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: -3}, extractable , keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Outside of numeric range.
PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: ''}, length: 48}, extractable , keyUsages) threw exception NotSupportedError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: hash: Algorithm: Unrecognized algorithm name.
PASS crypto.subtle.generateKey({name: 'hmac', hash: {name: 'sha-256'}, length: 5000000000}, extractable , keyUsages) threw exception TypeError: Failed to execute 'generateKey' on 'SubtleCrypto': Algorithm: HMAC: HmacKeyParams: length: Outside of numeric range.
« no previous file with comments | « LayoutTests/crypto/generateKey.html ('k') | Source/modules/crypto/NormalizeAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698