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

Unified Diff: LayoutTests/crypto/normalize-algorithm-expected.txt

Issue 20843008: WebCrypto: Check that the key can be used for given operation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase onto master Created 7 years, 5 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
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm.html ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/crypto/normalize-algorithm-expected.txt
diff --git a/LayoutTests/crypto/normalize-algorithm-expected.txt b/LayoutTests/crypto/normalize-algorithm-expected.txt
index 2bb5312c3fa479191d19cb256f4623c7eb43e63d..bcf96a0110d6782bdfab70c4832bd33bf7dac5e8 100644
--- a/LayoutTests/crypto/normalize-algorithm-expected.txt
+++ b/LayoutTests/crypto/normalize-algorithm-expected.txt
@@ -37,6 +37,9 @@ PASS normalizeSign({name: 'hmac', hash: { name: 'AES-CBC', iv: originalIv }}) th
PASS algorithm.name is 'HMAC'
PASS algorithm.hash.name is 'SHA-1'
PASS normalizeEncrypt(validHmacSha1) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS crypto.subtle.encrypt(algorithmIdentifier, aesCbcKeyNoEncrypt) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS crypto.subtle.encrypt(algorithmIdentifier, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
+PASS crypto.subtle.sign(algorithmIdentifier, hmacSha1Key) threw exception NotSupportedError: The implementation did not support the requested type of object or operation..
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm.html ('k') | Source/modules/crypto/SubtleCrypto.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698