Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 2 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /digital-credentials/digital-credentials-static-methods.tentative.https.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Digital Credential static methods.</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body></body>
<script type="module">
/**
*/
promise_test(async (t) => {
const result = await DigitalCredential.isConditionalMediationAvailable();
assert_equals(result, false);
}, "check default isConditionalMediationAvailable() behavior, inherited from Credential interface.");
/**
*/
promise_test(async (t) => {
const result = await DigitalCredential.willRequestConditionalCreation();
assert_equals(result, undefined);
}, "check default willRequestConditionalCreation() behavior, inherited from Credential interface");
</script>