Index: LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures.html |
diff --git a/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures.html b/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures.html |
index 2d2c24eb377a21544a6526fa7a6a04e58b1a5d5e..016375af5e4df5d5d0b5d814c1a7e46649b03e27 100644 |
--- a/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures.html |
+++ b/LayoutTests/crypto/aes-ctr-generateKey-parseAlgorithm-failures.html |
@@ -16,18 +16,22 @@ extractable = true; |
keyUsages = ['encrypt', 'decrypt']; |
Promise.resolve(null).then(function() { |
+ debug("\ngenerateKey() without length..."); |
return crypto.subtle.generateKey({ name: 'aes-ctr' }, extractable, keyUsages); |
}).then(failAndFinishJSTest, function(result) { |
logError(result); |
+ debug("\ngenerateKey() with a length of 70000..."); |
return crypto.subtle.generateKey({ name: 'aes-ctr', length: 70000 }, extractable, keyUsages); |
}).then(failAndFinishJSTest, function(result) { |
logError(result); |
+ debug("\ngenerateKey() with a length of -3..."); |
return crypto.subtle.generateKey({ name: 'aes-ctr', length: -3 }, extractable, keyUsages); |
}).then(failAndFinishJSTest, function(result) { |
logError(result); |
+ debug("\ngenerateKey() with length that is minus Infinity..."); |
return crypto.subtle.generateKey({ name: 'aes-ctr', length: -Infinity }, extractable, keyUsages); |
}).then(failAndFinishJSTest, function(result) { |
logError(result); |