Index: LayoutTests/crypto/aes-key-algorithm-mismatch.html |
diff --git a/LayoutTests/crypto/aes-key-algorithm-mismatch.html b/LayoutTests/crypto/aes-key-algorithm-mismatch.html |
index 9d97be3c1f1b0cac349a5e49617c9a8269fbc064..01d7bdf26f5998c0a264286dd31de1a4afa178c4 100644 |
--- a/LayoutTests/crypto/aes-key-algorithm-mismatch.html |
+++ b/LayoutTests/crypto/aes-key-algorithm-mismatch.html |
@@ -30,8 +30,7 @@ Promise.resolve(null).then(function(result) { |
// Can't use an AES-KW key for AES-CBC (even though both are AES keys). |
return crypto.subtle.encrypt({name: 'AES-CBC', iv: new Uint8Array(16)}, key, data); |
}).then(failAndFinishJSTest, function(result) { |
- error = result; |
- shouldBeNull("error"); |
+ logError(result); |
}).then(finishJSTest, failAndFinishJSTest); |
</script> |