Currently, in Firefox, add-on popups are immediately closed when they lose focus. This behavior is inconvenient, especially when opening a Save As dialog causes the popup window to close. For example, if a popup generates a Blob URL and attempts to download it using the Download API, the popup closes, revoking the URL and causing the download to fail. Additionally, any post-download actions become impossible. Furthermore, users might want to save multiple media files via right-click from the popup, but the current behavior prevents them from doing so as the popup closes each time. I suggest modifying this behavior so that popups do not close when focus moves to a window outside of Firefox, but only when switching to another document within Firefox.
... View more