summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-11-03 20:54:24 -0700
committerGitHub <noreply@github.com>2022-11-03 20:54:24 -0700
commitb393602ae509f333092b57a10e4353edb9c19544 (patch)
treebd1ae8d9ec4ce0730884db7e714ca2818384ad58 /packages/browser/src
parentcddbe4c357a059d4dca86cf3834a4e7153383b73 (diff)
parent7e762ee19038b63489638a040d065dcafb03ed47 (diff)
Merge pull request #298 from MasterKale/fix/295-remove-old-chrome-condtional-ui
fix/295-remove-old-chrome-condtional-ui
Diffstat (limited to 'packages/browser/src')
-rw-r--r--packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts
index ffca77d..117bf4c 100644
--- a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts
+++ b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts
@@ -6,12 +6,6 @@ import { PublicKeyCredentialFuture } from '@simplewebauthn/typescript-types';
* be shown to the user in the browser's typical password autofill popup.
*/
export async function browserSupportsWebAuthnAutofill(): Promise<boolean> {
- // Just for Chrome Canary right now; the PublicKeyCredential logic below is the real API
- // @ts-ignore
- if (navigator.credentials.conditionalMediationSupported) {
- return true;
- }
-
/**
* I don't like the `as unknown` here but there's a `declare var PublicKeyCredential` in
* TS' DOM lib that's making it difficult for me to just go `as PublicKeyCredentialFuture` as I