NEW 244091
[WebAuthn] Conditional UI for webauthn autocomplete input fields does not work for input fields in shadow DOM
https://bugs.webkit.org/show_bug.cgi?id=244091
Summary [WebAuthn] Conditional UI for webauthn autocomplete input fields does not wor...
Kevin Flanagan
Reported 2022-08-18 09:01:21 PDT
On the latest nightly build of Webkit on macOS 13 beta 5 the conditional UI (https://github.com/w3c/webauthn/wiki/Explainer:-WebAuthn-Conditional-UI) functionality for Passkeys does not work for input fields within a shadow DOM. Reproducing Steps: 1. Webpage with <input autocomplete="webauthn"/ > 2. Perform webauthn get with a conditional mediation: navigator.credentials.get({ mediation: 'conditional', publicKey: { challenge: <challengeFromServer>, } }); 3. Click into the input box - note that the conditional UI appears 4. Place the input element into a shadow DOM. 5. Perform same webauthn get - the conditional UI does not connect to the shadow DOM input.
Attachments
Kevin Flanagan
Comment 1 2022-08-18 12:39:08 PDT
This might be related to this issue: https://bugs.webkit.org/show_bug.cgi?id=172567
Radar WebKit Bug Importer
Comment 2 2022-08-25 09:04:58 PDT
Aditya Keerthi
Comment 3 2022-08-31 15:46:13 PDT
Thank you for the report! This issue does sound similar to https://bugs.webkit.org/show_bug.cgi?id=172567. You mentioned this reproduces on "the latest nightly build of Webkit on macOS 13 beta 5". Do you know if this worked previously, or was macOS 13 beta 5 the first build you tried? I would like to understand whether this is a regression.
Note You need to log in before you can comment on or make changes to this bug.