| Index: third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-preventsilentaccess-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-preventsilentaccess-basics.html
|
| similarity index 51%
|
| copy from third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html
|
| copy to third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-preventsilentaccess-basics.html
|
| index 9df20f44757f1bb0ebc7437e9061177208365a0f..daaefc46ccc3864a8b6ce780461f380104fe525e 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/credentialscontainer-preventsilentaccess-basics.html
|
| @@ -1,20 +1,20 @@
|
| <!DOCTYPE html>
|
| -<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>
|
| function stubResolverChecker(c) {
|
| - assert_equals(c, undefined, "FIXME: We're currently always returning 'undefined'.");
|
| + assert_equals(c, undefined);
|
| this.done();
|
| }
|
|
|
| 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>
|
|
|