Closed
Bug 1353546
Opened 8 years ago
Closed 8 years ago
WebExtensions API downloads.download saveAs is buggy
Categories
(WebExtensions :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1318564
People
(Reporter: pirmin_g, Unassigned)
Details
Attachments
(1 file)
2.89 KB,
application/x-zip-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20170323105023
Steps to reproduce:
In a WebExtension I wanted to save a data URL of a PNG image using the downloads API.
In Firefox I got an exception where in Google Chrome it was working as expected.
As a workaround for Firefox I converted the data URL to a Blob before saving.
This way Firefox lets save the image but still throws an exception.
I was using:
- Firefox Developer Edition 54.0a2 (2017-04-04) (32-Bit)
- Google Chrome Version 57.0.2987.133 (64-bit)
Actual results:
Firefox throws an exception (see details in comments of the attached sources).
Google Chrome works well.
Expected results:
Open a "Save as" Dialog and saving the image.
I forgot to mention, related Bugs are 1271345 and 1287347 which both are resolved.
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Updated•8 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•