Index: LayoutTests/crypto/digest.html |
diff --git a/LayoutTests/crypto/digest.html b/LayoutTests/crypto/digest.html |
index 439d77df0066f7beae8afc46100d37e78bbf14b9..069b76ffc6f48e2f27530a42be5b407eaf911727 100644 |
--- a/LayoutTests/crypto/digest.html |
+++ b/LayoutTests/crypto/digest.html |
@@ -187,6 +187,14 @@ allTests = [ |
function() |
{ |
+ debug("Error during process() (dummy implementation rejects inputs over 6 bytes)"); |
+ op = crypto.subtle.digest({name: 'sha-1'}); |
+ op.process(new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])); |
+ op.finish().then(resultHandler, rejectHandler); |
+ }, |
+ |
+ function() |
+ { |
op = crypto.subtle.digest({name: 'sha-1'}); |
shouldThrow("op.process(null)"); |
shouldThrow("op.process()"); |