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

Unified Diff: LayoutTests/crypto/aes-key-usages.html

Issue 243853004: [webcrypto] Reject failed operations with a DOMException rather than null. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix compile warning Created 6 years, 8 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/aes-key-usages.html
diff --git a/LayoutTests/crypto/aes-key-usages.html b/LayoutTests/crypto/aes-key-usages.html
index 2de5e36160cf59bba35a70724ace953eefdf01b7..3ed96f52be33b995eca1bf4dfe347a5821e76bf1 100644
--- a/LayoutTests/crypto/aes-key-usages.html
+++ b/LayoutTests/crypto/aes-key-usages.html
@@ -38,8 +38,7 @@ function testEncrypt()
return importKeyExcludingUsage("encrypt").then(function(key) {
return crypto.subtle.encrypt({name: 'AES-CBC', iv: iv}, key, data);
}).then(failAndFinishJSTest, function(result) {
- error = result;
- shouldBeNull("error");
+ logError(result);
});
}
@@ -48,8 +47,7 @@ function testDecrypt()
return importKeyExcludingUsage("decrypt").then(function(key) {
return crypto.subtle.decrypt({name: 'AES-CBC', iv: iv}, key, data);
}).then(failAndFinishJSTest, function(result) {
- error = result;
- shouldBeNull("error");
+ logError(result);
});
}
« no previous file with comments | « LayoutTests/crypto/aes-key-algorithm-mismatch-expected.txt ('k') | LayoutTests/crypto/aes-key-usages-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698