| Index: LayoutTests/crypto/sign-verify-badParameters.html | 
| diff --git a/LayoutTests/crypto/sign-verify-badParameters.html b/LayoutTests/crypto/sign-verify-badParameters.html | 
| index 707c7eb0d3bdb2c22bf5b56c06dc1e048fc2db28..252de91485635a33031dc755346eea4ded1597d1 100644 | 
| --- a/LayoutTests/crypto/sign-verify-badParameters.html | 
| +++ b/LayoutTests/crypto/sign-verify-badParameters.html | 
| @@ -30,9 +30,22 @@ importHmacKey().then(function(result) { | 
| key = result; | 
|  | 
| // Pass invalid signature parameters to verify() | 
| -    shouldThrow("crypto.subtle.verify(hmac, key, null, data)"); | 
| -    shouldThrow("crypto.subtle.verify(hmac, key, 'a', data)"); | 
| -    shouldThrow("crypto.subtle.verify(hmac, key, [], data)"); | 
| +    return crypto.subtle.verify(hmac, key, null, data); | 
| +}).then(failAndFinishJSTest, function(result) { | 
| +    error = result; | 
| +    shouldBeNull("error"); | 
| + | 
| +    // Pass invalid signature parameters to verify() | 
| +    return crypto.subtle.verify(hmac, key, 'a', data); | 
| +}).then(failAndFinishJSTest, function(result) { | 
| +    error = result; | 
| +    shouldBeNull("error"); | 
| + | 
| +    // Pass invalid signature parameters to verify() | 
| +    return crypto.subtle.verify(hmac, key, [], data); | 
| +}).then(failAndFinishJSTest, function(result) { | 
| +    error = result; | 
| +    shouldBeNull("error"); | 
|  | 
| // Operation does not support signing. | 
| return crypto.subtle.sign({name: 'sha-1'}, key, data); | 
|  |