summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/credential-management/credentialscontainer-prevent-silent-access.https.html
blob: 5a83e556a738594d47b12b54521806648ed26262 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<title>Credential Management API: preventSilentAccess().</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
promise_test(function() {
    return navigator.credentials.preventSilentAccess()
        .then((result) => {
            assert_equals(result, undefined);
        });
}, "navigator.credentials.preventSilentAccess() resolves with undefined.");
</script>