Closed
Bug 1762774
Opened 4 years ago
Closed 4 years ago
Dynamic <input type="file"> makes popup go away
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1378527
People
(Reporter: williamzijl7, Unassigned)
Details
Attachments
(1 file)
|
1.49 KB,
application/zip
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
- Side-load attached extension(Source code is minimal reproducer, so please check beforehand to get a grap of what it does).
- Open the extension's background page and navigate to the console tab.
- Open the extension's popup.
- Click on the button and select a file(Recommend to use a small file, better yet if you create one beforehand).
- Select the file.
Actual results:
- Once the file dialog is opened, the extension's popup is gone.
- Once the file is selected nothing is being send the background page and thus nothing is logged, so it's like the action never happen.
Expected results:
- Once the file dialog is open, the extension's popup is still visible.
- Once the file is selected the code should that sends the textcontent of the file to the background page.
You can observe the "correct" behavior if you open the extension's popup as a new tab(as a whole tab won't disappear if you open the file dialog). You see that the message event + textcontent is logged in the background page.
| Reporter | ||
Comment 1•4 years ago
|
||
| Reporter | ||
Updated•4 years ago
|
OS: Unspecified → Linux
Product: Firefox → WebExtensions
Hardware: Unspecified → x86_64
| Reporter | ||
Comment 3•4 years ago
|
||
Yup seems like a duplicate of that bug, even though it's weird that's assigned a low priority because the workaround is a dirty workaround...
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.
Description
•