| OLD | NEW |
| (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> | |
| OLD | NEW |