Open Bug 1640536 Opened 5 years ago Updated 5 years ago

LoginManagerAuthPrompter.jsm is confused about whether it can be invoked with a content window / in the child process

Categories

(Toolkit :: Password Manager, defect, P5)

defect

Tracking

()

Tracking Status
firefox78 --- affected

People

(Reporter: Gijs, Unassigned)

Details

(Whiteboard: [passwords:tech-debt])

The code in _getChromeWindow got refactored a few times, but tries to still deal with being invoked with a content window - but the only users I see in https://searchfox.org/mozilla-central/search?q=LoginManagerAuthPrompter&redirect=false are in parent-process code (BrowserParent, ParentChannelListener, XPIInstall code), so I think _getChromeWindow and the calling code in init() may be dead code?

Severity: -- → S4
Priority: -- → P5
Summary: LoginManagerAuthPrompter.jsm is confused about whether it can be invoked with a content window / in the child process → LoginManagerAuthPrompter.jsm is confused about whether it can be invoked with a content window / in the child process
Whiteboard: [passwords:tech-debt]
You need to log in before you can comment on or make changes to this bug.