Bug 1817661 [wpt PR 38585] - Test navigator.credentials.preventSilentAccess(), a=testonly

Automatic update from web-platform-tests
Test navigator.credentials.preventSilentAccess

--

wpt-commits: 213bd2dd2ebef6b052cf28a2017bb43e63c1e45f
wpt-pr: 38585
This commit is contained in:
Luke Warlow 2023-06-08 13:14:21 +00:00 committed by moz-wptsync-bot
parent ccf2223470
commit b4612a6118

View File

@ -0,0 +1,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>