Index: LayoutTests/crypto/digest.html |
diff --git a/LayoutTests/crypto/digest.html b/LayoutTests/crypto/digest.html |
index c79ab394b89c08cffafcdca9908d8db3ef7148ee..d1931111cbc99eb0f8ef0d66cbbea627669b2205 100644 |
--- a/LayoutTests/crypto/digest.html |
+++ b/LayoutTests/crypto/digest.html |
@@ -34,18 +34,6 @@ Promise.resolve(null).then(function() { |
}).then(function(result) { |
printAcceptedResult(result); |
- debug("SHA-256 rejects (dummy implementation)"); |
- return crypto.subtle.digest({name: 'sha-256'}, new Uint8Array([])); |
- |
-}).then(undefined, function(result) { |
- printRejectedResult(result); |
- |
- debug("Error (dummy implementation rejects this input)"); |
- var data = new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]); |
- return crypto.subtle.digest({name: 'sha-1'}, data); |
-}).then(undefined, function(result) { |
- printRejectedResult(result); |
- |
// Pass invalid data to digeset() |
shouldThrow("crypto.subtle.digest({name: 'sha-1'})"); |
shouldThrow("crypto.subtle.digest({name: 'sha-1'}, null)"); |