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

Unified Diff: LayoutTests/crypto/digest.html

Issue 24467004: [webcrypto] Remove MockWebCrypto. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/crypto/digest-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)");
« no previous file with comments | « no previous file | LayoutTests/crypto/digest-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698