Files
firebase-js-sdk/.changeset
macastelazandGitHub 7848e2e026 fix(auth): retry IndexedDB availability check on startup failure (#9845)
* fix(auth): retry IndexedDB availability check on startup failure

In environments like Chrome Extension Manifest V3 Service Workers, the initial IndexedDB transaction upon a cold start can sometimes drop or timeout. Previously, `_isAvailable()` would immediately catch the error, assume IndexedDB is broken, and silently fall back to `inMemoryPersistence`.

This updates `_isAvailable()` to use the `_withRetries()` helper, ensuring it benefits from the same retry logic as actual storage operations. This prevents the SDK from incorrectly abandoning existing IndexedDB auth state.

Fixes #9732

* style(auth): run yarn format

* chore: add changeset for IndexedDB availability check retry

* fix(auth): robust IndexedDB connection handling and test stability
2026-05-14 23:07:45 -05:00
..
2020-06-25 09:59:10 -07:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation