Firefox preview doesn't support Webauthn but PublicKeyCredential return true
Categories
(GeckoView :: General, enhancement, P1)
Tracking
(firefox76 fixed)
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: mockinaeon, Assigned: snorp)
Details
(Whiteboard: [geckoview:m76])
Attachments
(1 file, 1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36
Steps to reproduce:
https://github.com/mozilla-mobile/fenix/issues/9090
Attempt to login a website using security key(webauthn) as two factor.
Actual results:
As we are implementing two factor security key using webauthn, we have tested many browser on different devices. We tried firefox preview on Android, it seems window.PublicKeyCredential is returning something but not undefined, then our app render the wrong information but not showing the popup, which is confusing.
Expected results:
show not support webauthn message based on a javascript block checking window.PublicKeyCredential which should be null/undefined.
Comment 1•6 years ago
|
||
JC do you have any thoughts about this behavior? Ideally Firefox Preview would support the UI for webauthn. Should we return false on this check for now?
Comment 2•6 years ago
|
||
Fenix needs to set the preference back to false to disable this until Fenix re-adds the support for WebAuthn.
Fenix should set the prefs security.webauth.webauthn_enable_android_fido2 and security.webauth.webauthn to false.
Comment 3•6 years ago
|
||
I believe GeckoView controls that as there is not a prefs API.
| Assignee | ||
Comment 4•6 years ago
|
||
We'll turn it back on once it's actually supported.
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 5•6 years ago
|
||
We'll enable it once it's actually supported.
Comment 8•6 years ago
|
||
Backed out changeset fac88f2cec9c for causing failures in test_interfaces_secureContext.html
Backout link: https://hg.mozilla.org/integration/autoland/rev/5fd1a87f522beee0275a77653fa6fa73c420b9cb
Failure log:
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
| bugherder | ||
Description
•