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); |
}); |
} |