All contributions

mozilla-firefox/firefox

Firefox

Mozilla's web browser, developed as open source software. Fixes go through Bugzilla, review in Phabricator and automated tests before they reach the main branch.

Language
JavaScript
Merged changes
1
Project site
firefox.com

What we changed

The saved passwords button in the Page Info window opens the password manager in a browser window that comes straight to the foreground. We added a browser test with the fix.

What this work shows

  • Firefox front-end code in JavaScript
  • Browser mochitests
  • Window focus and stacking
  • The Bugzilla and Phabricator process
What was broken

The password manager opened in the background

After clicking the saved passwords button in the Page Info window, Firefox opened about:logins in a new tab, but the browser window stayed behind the Page Info window. The bug was reproduced on Windows, macOS and Ubuntu.

How we fixed it

The window with about:logins comes to the front

LoginHelper.openPasswordManager now focuses the browser window holding about:logins after opening the tab. The Page Info window stays open, just like with the certificate and help buttons. A new test checks the selected tab and the active window.

#1996443

Merged change 1

  1. #1996443 Bug 1996443 - Focus the browser window when opening about:logins via LoginHelper.openPasswordManager Merged 21 October 2026

What it taught us

The fix passed review by the team responsible for passwords, and Mozilla's QA verified it on Windows, macOS and Fedora. In a codebase this large what counts is a small, precise change and a test that guards the behaviour.

More about this technology: TypeScript, React and Node

Other projects we write code for

Describe your project.

A free quote comes back within an hour during working hours.