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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html

Issue 2895243002: Rename requireUserMediation to preventSilentAccess in the CM API. (Closed)
Patch Set: webkit tests 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-requireusermediation-basics.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html
index 9df20f44757f1bb0ebc7437e9061177208365a0f..77e7bb5e6c437ba4481e1e99d486ad628a391d6c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html
+++ b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
Mike West 2017/05/23 18:54:32 Nit: Can you copy this test so that we keep some c
vasilii 2017/05/24 10:02:13 Done.
-<title>Credential Manager: requireUserMediation() basics.</title>
+<title>Credential Manager: preventSilentAccess() basics.</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
@@ -9,12 +9,12 @@ function stubResolverChecker(c) {
}
function stubRejectionChecker(reason) {
- assert_unreached("requireUserMediation() should not reject, but did: " + reason.name);
+ assert_unreached("preventSilentAccess() should not reject, but did: " + reason.name);
}
async_test(function () {
- navigator.credentials.requireUserMediation().then(
+ navigator.credentials.preventSilentAccess().then(
this.step_func(stubResolverChecker.bind(this)),
this.step_func(stubRejectionChecker.bind(this)));
-}, "Verify the basics of requireUserMediation()");
+}, "Verify the basics of preventSilentAccess()");
</script>

Powered by Google App Engine
This is Rietveld 408576698