| Index: third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-errors.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-errors.html b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-errors.html
|
| index 2dc5422c7619b521c40c9f4811f2e50c42297db3..02c2e47ac4405d9f0f8715bbd17c1e5b10de8c95 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-errors.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-errors.html
|
| @@ -24,4 +24,9 @@ promise_test(function (t) {
|
| testRunner.setMockCredentialManagerError("unknown");
|
| return promise_rejects(t, "NotReadableError", navigator.credentials.get({ password: true }));
|
| });
|
| +promise_test(function (t) {
|
| + return promise_rejects(t, new TypeError(), navigator.credentials.get({
|
| + mediation: "invalid"
|
| + }));
|
| +});
|
| </script>
|
|
|