| Index: LayoutTests/crypto/exportKey.html
|
| diff --git a/LayoutTests/crypto/exportKey.html b/LayoutTests/crypto/exportKey.html
|
| index cebc4eda27baef045083689e1aad57c52d70135b..f5d6a932ea15b1295bbee99b0d820be08e9a051e 100644
|
| --- a/LayoutTests/crypto/exportKey.html
|
| +++ b/LayoutTests/crypto/exportKey.html
|
| @@ -17,9 +17,9 @@ addTask(importTestKeys().then(function(result) {
|
| keys = result;
|
|
|
| // Invalid export formats.
|
| - shouldThrow("crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt)");
|
| - shouldThrow("crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt)");
|
| - shouldThrow("crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt)");
|
| + shouldRejectPromiseWithNull("crypto.subtle.exportKey(3, keys.aesCbcJustDecrypt)");
|
| + shouldRejectPromiseWithNull("crypto.subtle.exportKey(null, keys.aesCbcJustDecrypt)");
|
| + shouldRejectPromiseWithNull("crypto.subtle.exportKey('invalid', keys.aesCbcJustDecrypt)");
|
|
|
| // Invalid keys
|
| shouldThrow("crypto.subtle.exportKey('raw', null)");
|
|
|