| Index: LayoutTests/crypto/digest.html
|
| diff --git a/LayoutTests/crypto/digest.html b/LayoutTests/crypto/digest.html
|
| index affc8c87f0cd9518bebca26fb74a0393b84ed9fa..3b9b015f1e4e2356ed73c6b0ce6527016fd4b050 100644
|
| --- a/LayoutTests/crypto/digest.html
|
| +++ b/LayoutTests/crypto/digest.html
|
| @@ -118,9 +118,9 @@ shouldThrow("crypto.subtle.digest({name: 'sha-1'}, 10)");
|
|
|
| // Pass invalid algorithmIdentifiers to digest()
|
| data = new Uint8Array([0]);
|
| -shouldThrow("crypto.subtle.digest({name: 'sha'}, data)");
|
| +shouldRejectPromiseWithNull("crypto.subtle.digest({name: 'sha'}, data)");
|
| shouldThrow("crypto.subtle.digest(null, data)");
|
| -shouldThrow("crypto.subtle.digest({}, data)");
|
| +shouldRejectPromiseWithNull("crypto.subtle.digest({}, data)");
|
|
|
| completeTestWhenAllTasksDone();
|
|
|
|
|