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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.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-basics.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html
index f21cfab9651200e33479d347b590aa48a9474f64..a27e31784078d6002ebc710a8b2adde6010f42e4 100644
--- a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html
+++ b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-get-basics.html
@@ -102,6 +102,17 @@ add_completion_callback(() => {
}());
(function() {
+ var t = async_test("navigator.credentials.get() with a valid options including mediation.");
+ t.step(function () {
+ navigator.credentials.get({
+ mediation: "silent"
+ }).then(
+ t.step_func(stubResolverUndefinedChecker.bind(t)),
+ t.step_func(stubRejectionChecker.bind(t)));
+ });
+}());
+
+(function() {
var t = async_test("navigator.credentials.get() with an options including an unknown attribute.");
t.step(function () {
navigator.credentials.get({

Powered by Google App Engine
This is Rietveld 408576698