Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /credential-management/credentialscontainer-prevent-silent-access.https.html - WPT Dashboard Interop Dashboard
<!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>