Chromium Code Reviews| 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> |