Closed Bug 2026921 Opened 3 days ago Closed 3 days ago

Tab crash on webauthn with multiple credentials in evalByCredential

Categories

(Core :: DOM: Web Authentication, defect)

Firefox 149
defect

Tracking

()

RESOLVED DUPLICATE of bug 2026688

People

(Reporter: tilman, Unassigned)

Details

Crash Data

Attachments

(1 file)

Attached file crash.html

Steps to reproduce:

  1. Serve the attached file on localhost
  2. Open the file in Firefox (149 or later)
  3. Click the "Call navigator.credential.get()" button

Actual results:

The tab crashes with a "Gah. Your tab just crashed." full screen page. There's an associated crash report that I've submitted.

Expected results:

I expected Firefox to show the security key webauthn unlock UI. The crash is a regression, Firefox 148 shows the expected behavior.

As far as I can tell the crash is triggered by multiple credentials being present in the extensions.prf.evalByCredential object of the PublicKeyCredentialRequestOptions passed into navigator.credentials.get(). The crash doesn't happen with only one entry in the object.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Web Authentication' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: Web Authentication
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Crash Signature: [@ mozilla::Maybe<T>::emplace | mozilla::dom::Optional_base<T>::Construct ]
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 3 days ago
Duplicate of bug: 2026688
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: