mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
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:
parent
ccf2223470
commit
b4612a6118
@ -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>
|
Loading…
Reference in New Issue
Block a user