Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-errors.html

Issue 2864493003: Deprecate CredentialRequestOptions.unmediated in favor mediation enum (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698