Closed Bug 1891305 Opened 6 months ago Closed 1 month ago

Firefox fails to load any webpage after interacting with Bitwarden addon popup

Categories

(Firefox :: Extension Compatibility, defect)

Firefox 124
Desktop
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: noone_interesting, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0

Steps to reproduce:

  1. Get the Bitwarden addon for Firefox: https://addons.mozilla.org/pl/firefox/addon/bitwarden-password-manager/, allow it to work in Private Mode

  2. Launch Firefox in Private Mode, click on the Bitwarden addon icon on the Firefox bar

  3. Observe the Bitwarden popup fails to load correctly: instead of displaying a password field, it either shows an empty white popup or no popup appears

  4. Try to load any webpage, either from saved bookmarks or by typing the address in

  5. Observe the Firefox browser not being able to show any webpage

Actual results:

  1. The Bitwarden popup fails to load in, not allowing me to log into the webpages I had passwords stored in it

  2. The Firefox browser is unable to load any webpage after interacting with Bitwarden popup, forcing me to restart the Browser completely

Expected results:

  1. Bitwarden popup should display the regular log in prompt, asking me to provide thte main password to my vault

  2. Even if Bitwarden addon fails to work correctly, I should be able to browse webpages without issue after dismissing the popup

The Bugbug bot thinks this bug should belong to the 'Toolkit::Password Manager' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Password Manager
Product: Firefox → Toolkit
Component: Password Manager → General
OS: Unspecified → Windows 10
Product: Toolkit → Firefox
Hardware: Unspecified → Desktop

I couldn't reproduce this issue in the latest Nightly 127.0a1 and Firefox 124.0.2 on Windows10 x64. Would you consider reinstalling the Bitwarden extension in case you're using an older version?

Flags: needinfo?(adam.kubik)

I reinstalled the Bitwarden addon and I was able to go through initial setup, where the addon allows me to enter my e-mail / login. Sadly that doesn't solve the issue - I'm experiencing the same hangup as reported before.

Flags: needinfo?(adam.kubik)

Thank you for confirming. I'd also recommend disabling temporarily any other add-ons you may have installed to check if there's a conflict.
I've updated the Component accordingly and now awaiting input from the developer on this issue. If this component isn't appropriate, feel free to change it to a more suitable one.

Component: General → Extension Compatibility

I can confirm this on Firefox 126.0, Windows 11, Bitwarden 2024.4.2.
I have multiple Firefox profiles (I juggle them all with -no-remote) and only one of three are affected. I am not sure why.

An observation I made: before the non-loading behaviour is triggered, it's possible to right-click on Bitwarden in the menu bar and do Bitwarden > Auto-fill Login > Log in to your vault. This pops up a whole new Extension window with the endless throbber. This triggers the non-loading bug as before: all tabs in all windows will no longer load, including Developer Tools. If I hit F12 multiple times, the Developer Tools pane will not close.

When I focus on the Extension window and interact with it by clicking the throbber and then waiting for a bit, a message will be displayed: This page is slowing down Firefox. To speed up your browser, stop this page. [Stop]
When I click Stop, the throbber ceases to spin and a blank white page is displayed instead. Then tabs will begin loading content again. If I had hit F12 prior to clicking Stop, the pane will now suddenly disappear.

So it seems like the addon dialog is somehow breaking the chrome and causing interactions to wait, but I'm not able to investigate further.

Reformatting previous comment a bit. I can reproduce the same symptoms on:

  • Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
  • Bitwarden 2024.4.2.

Additional observations:

  • I have multiple Firefox profiles (I juggle them all with -no-remote) and only one of three are affected. I am not sure why. All have the same UA and Bitwarden version.
  • Alternate steps to reproduce the problem on the affected profile:
    • before the non-loading behaviour is triggered, right-click on Bitwarden in the menu bar
    • select Bitwarden > Auto-fill Login > Log in to your vault. This pops up a whole new Extension window with the endless throbber
    • this triggers the non-loading bug as before: all tabs in all windows will no longer load, including Developer Tools. The pane opens but nothing is displayed.
    • if I hit F12 again at this point, the Developer Tools pane will not close.
    • when I focus on the Extension window and interact with it by clicking the throbber and then waiting for a bit, a message will be displayed: This page is slowing down Firefox. To speed up your browser, stop this page. [Stop]
    • when I then click Stop, the throbber ceases to spin and a blank white page is displayed instead. Then tabs will begin loading content again.
    • If I had hit F12 prior to clicking Stop, the Developer Tools pane will now immediately disappear also.

So it seems like the addon dialog is somehow breaking the chrome and causing interactions to wait, but I'm not able to investigate further.

Firefox about:processes profile: captured during the hang: https://share.firefox.dev/4bM9pU9

Steps I took to create this profile:

  • Open a tab in Firefox task manager (about:processes)
  • right-click on Bitwarden in the menu bar, select Bitwarden > Auto-fill Login > Log in to your vault. This pops up a whole new Extension window with the endless throbber
  • Observe that in about:processes, Extensions thread goes to 100%. Click to take a profile.
  • Profile tab will not load, but by clicking Stop in This page is slowing down Firefox. To speed up your browser, stop this page. [Stop], tabs will start loading content again.

I've uninstalled and reinstalled the extension on the affected profile, and the problem is no longer observed.
That leaves only the (low priority?) question of how an extension manages to hijack the chrome thread to begin with, I suppose.

I can also reproduce this issue with the following environment:

  • branch: Firefox Developer
  • version: 127.0b2
  • build id: 20240515163126
  • user agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0
  • os: Arch Linux 6.8.9-zen1-2-zen

with Bitwarden version 2024.4.2

related issue(s) on bitwarden issue tracker: #9309 (comment)

(In reply to solonovamax from comment #10)

related issue(s) on bitwarden issue tracker: #9309 (comment)

The BitWarden issue has been closed due to apparently disappearing on their side after an extension update. Should our bug be closed as well?

Status: UNCONFIRMED → RESOLVED
Closed: 1 month ago
Flags: needinfo?(rob)
Resolution: --- → WORKSFORME

Thanks for needinfoing. Yes our bug should be closed since this appears to be an extension bug only.

Sadly, this bug wasn't on my radar until now because bugs in this component don't appear in our tooling; I've reported that at https://github.com/mozilla/addons-pm/issues/1229

Flags: needinfo?(rob)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: