forked from mirrors/gecko-dev
Bug 1870113 - remove the webauthn conditional mediation unsupported wpt. r=keeler
The test removed here incorrectly assumes that conditional mediation can only be offered in the presence of a platform authenticator. Conditional mediation can always be offered. Differential Revision: https://phabricator.services.mozilla.com/D196590
This commit is contained in:
parent
32d68b87c3
commit
f41c93f550
2 changed files with 1 additions and 18 deletions
|
|
@ -3,7 +3,3 @@
|
|||
expected:
|
||||
if os == "android": FAIL
|
||||
PASS
|
||||
[Conditional mediation not supported]
|
||||
expected:
|
||||
if os == "android": PASS
|
||||
FAIL
|
||||
|
|
|
|||
|
|
@ -10,8 +10,7 @@
|
|||
<script>
|
||||
"use strict";
|
||||
|
||||
// Test that a configuration that must support conditional mediation reports
|
||||
// supporting it.
|
||||
// Test that conditional mediation is supported.
|
||||
virtualAuthenticatorPromiseTest(async t => {
|
||||
assert_own_property(window.PublicKeyCredential, "isConditionalMediationAvailable");
|
||||
assert_true(await window.PublicKeyCredential.isConditionalMediationAvailable());
|
||||
|
|
@ -22,16 +21,4 @@ virtualAuthenticatorPromiseTest(async t => {
|
|||
transport: "internal",
|
||||
}, "Conditional mediation supported");
|
||||
|
||||
// Test that a configuration that cannot possibly support conditional mediation
|
||||
// does not report supporting it.
|
||||
virtualAuthenticatorPromiseTest(async t => {
|
||||
assert_own_property(window.PublicKeyCredential, "isConditionalMediationAvailable");
|
||||
assert_false(await window.PublicKeyCredential.isConditionalMediationAvailable());
|
||||
}, {
|
||||
protocol: "ctap2",
|
||||
hasResidentKey: false,
|
||||
hasUserVerification: false,
|
||||
transport: "nfc",
|
||||
}, "Conditional mediation not supported");
|
||||
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue