| 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 347fc413fa6d90d72063b970e1a654354afa5276..0acb45c4ed1f3643c93efb3bd4d4b3c01b32e8b3 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
|
| @@ -25,4 +25,15 @@ 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"
|
| + }));
|
| +});
|
| +promise_test(function (t) {
|
| + return promise_rejects(t, "NotSupportedError", navigator.credentials.get({
|
| + unmediated: true,
|
| + mediation: "required"
|
| + }));
|
| +});
|
| </script>
|
|
|