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

Side by Side Diff: LayoutTests/http/tests/credentialmanager/credentialscontainer-notifysignedout-basics.html

Issue 1160283002: Credential Management: Rename 'notifySignedOut' to 'requireUserMediation'. (1/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@rename-avatar
Patch Set: WebExposed. Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Credential Manager: notifySignedOut() basics.</title>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <script>
6 function stubResolverChecker(c) {
7 assert_equals(c, undefined, "FIXME: We're currently always returning 'undefi ned'.");
8 this.done();
9 }
10
11 function stubRejectionChecker(reason) {
12 assert_unreached("notifySignedOut() should not reject, but did: " + reason.n ame);
13 }
14
15 async_test(function () {
16 navigator.credentials.notifySignedOut().then(
17 this.step_func(stubResolverChecker.bind(this)),
18 this.step_func(stubRejectionChecker.bind(this)));
19 }, "Verify the basics of notifySignedOut()");
20 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/credentialmanager/credentialscontainer-requireusermediation-basics.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698