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

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

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
Index: third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class-expected.txt
diff --git a/third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class-expected.txt b/third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class-expected.txt
index 1e2b2e84e699dd704a41f1ef42eb59891c81aeae..31677a968b88ebd3fbf025faf48dd3557741c671 100644
--- a/third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class-expected.txt
+++ b/third_party/WebKit/LayoutTests/crypto/subtle/aes-cbc/wrong-key-class-expected.txt
@@ -4,8 +4,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
Importing a raw HMAC key from string literal...
-Using the key to encrypt plaintext...
-error is: InvalidAccessError: key.usages does not permit this operation
+Using the HMAC key for AES-CBC encryption...
+error is: InvalidAccessError: key.algorithm does not match that of operation
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698