• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

firebase / firebase-js-sdk / 31732164838
75%
master: 0%

Build:
Build:
LAST BUILD BRANCH: telemetry-store-integration
DEFAULT BRANCH: master
Ran 13 Aug 2026 07:20PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
31732164838

push

github

web-flow
fix(auth): remove visibilitychange listener from IndexedDBLocalPersistence (#10300)

Fixes #10264.

PR #10123 introduced pagehide, pageshow, and visibilitychange listeners to prevent null hydration during page reload. However, visibilitychange fires with document.visibilityState === 'hidden' whenever focus shifts to an OAuth popup window (e.g. signInWithPopup) or background tab. This caused IndexedDB to close prematurely and throw 'Database is closing/hidden' when the popup returned credentials to the opener.

This change:
1. Removes the visibilitychange listener from IndexedDBLocalPersistence, relying solely on pagehide/pageshow for true page teardown lifecycle events.
2. Renames isHiding -> isClosing to accurately reflect its purpose.
3. Updates unit tests to assert that visibilitychange does not close the DB or interrupt persistence writes.
Source Files on build 31732164838
Detailed source file information is not available for this build.
  • Back to Repo
  • 44d336bb on github
  • Prev Build on main (#31636815275)
  • Next Build on main (#31745629232)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc