Closed Bug 1658694 Opened 4 years ago Closed 4 years ago

Opening input type="file" in extension Popup window will close the popup

Categories

(WebExtensions :: General, defect)

80 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1378527

People

(Reporter: juraj.masiar, Unassigned)

Details

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

Steps to reproduce:

  1. install "Private Notes" extension:
    https://addons.mozilla.org/en-US/firefox/addon/private_notes/
  2. click toolbar icon to open the popup window
  3. navigate to Settings / "Import / Export"
  4. click the "Import backup file"

Actual results:

File upload dialog is opened, but the popup is now closed.

Expected results:

The popup should stay opened.
It works in Chrome.

This bug already exists.

Closing as a duplicate of the more general issue tracked by Bug 1378527.

As a side note, at the moment one way to workaround the issue is to move the file input element in an extension page that isn't a browserAction/pageAction popup (e.g. an extension's options page, an extension page opened in a tab or in a popup window opened using the browser.windows.create API).

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.