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

Unified Diff: third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class.html

Issue 2165713002: Change the error message in WebCrypto when using a key that has BOTH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « no previous file | third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class.html
diff --git a/third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class.html b/third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class.html
index a34b779972912e0f30bb8dcb4cea2cd65959d386..501e3151c8f08a81769d60fe237105157431337c 100644
--- a/third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class.html
+++ b/third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class.html
@@ -21,7 +21,7 @@ var extractable = true;
debug("Importing a raw HMAC key from string literal...");
crypto.subtle.importKey("raw", hmacKey, {name: 'hmac', hash: {name: 'sha-1'}}, extractable, ["sign", "verify"]).then(function(result) {
key = result;
- debug("Using the key to encrypt plaintext...");
+ debug("Using the HMAC key for AES-CBC encryption...");
return crypto.subtle.encrypt({name: "aes-cbc", iv: iv}, key, plaintext);
}).then(failAndFinishJSTest, function(result) {
logError(result);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698