Broken support for file upload/download in the extension settings page
Categories
(Fenix :: WebExtensions, defect)
Tracking
(firefox123 affected, firefox124 affected)
People
(Reporter: dominik.lubanski, Unassigned)
Details
(Whiteboard: [qa-triaged])
Attachments
(1 file)
249.60 KB,
image/jpeg
|
Details |
Steps to reproduce:
- Open the settings page of the extension (Ghostery)
- Use import/export settings feature of the extension
Actual results:
The extension settings window has broken support for the File API and download feature of the anchors:
- Anchors with download attribute don't work (removing the attribute fallbacks to default behavior - opens up the file in the window - showing the content)
- browser.downloads.download() action hangs in a pending state
- <input type="file"> never gets a change event when the file is selected
Expected results:
The File API, browser.downloads
, and anchor download
attribute should be supported correctly.
Comment 1•3 months ago
|
||
The severity field is not set for this bug.
:zmckenney, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•3 months ago
|
||
Thank you for the report!
I'm not sure I understood correctly the issue, but I've attached a screenshot that shows that the settings were "successfully" exported. However, there is no exported settings file in the Downloads folder of the app, or of the device.
Dominik, is this the issue you're encountering?
Tested o Firefox for Android 123.0, and on Nightly 124.0a1, with a Samsung Galaxy S24 (Android 14) device.
Updated•3 months ago
|
Reporter | ||
Comment 3•3 months ago
|
||
Yes, the UI shows the successful message, as under the hood the code just programmatically clicks the anchor with the download
attribute - and it assumes, that this action succeeded. However, the file is not downloaded, as I mentioned in the steps, the File API is broken for pages in the extension context.
Comment 4•3 months ago
|
||
Thank you!
I'll confirm the ticket.
Description
•