Closed
Bug 1340884
Opened 8 years ago
Closed 8 years ago
"Save Image as" should use title attribute from image as saved filename, especially if it got updated by javascript
Categories
(Firefox :: File Handling, defect)
Tracking
()
People
(Reporter: owyntyler, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170125094131
Steps to reproduce:
1. Open website with <img> with title attribute (e.g. http://imgbox.com/IELq4CtA)
2. change title via javascript or manually after page is loaded
3. click "save as" on the image
Actual results:
save as suggests old content of title attribute as filename being saved (e.g. 25.jpg) while new title is being ignored
Expected results:
Firefox should give filenames for saved images based on actual current title attribute
![]() |
||
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
Product: Core → Firefox
Summary: "Save as" uses unupdated title attribute form image as saved filename → "Save Image as" uses initial/unupdated title attribute from image as saved filename
![]() |
||
Comment 1•8 years ago
|
||
The filename comes from the response header Content-Disposition: "inline; filename="25.jpg"" The title attribute is completely ignored.
Status: NEW → UNCONFIRMED
Ever confirmed: false
Summary: "Save Image as" uses initial/unupdated title attribute from image as saved filename → "Save Image as" should use title attribute from image as saved filename, especially if it got updated by javascript
Comment 2•8 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0 (20170221030205)
I'm able to reproduce the mentioned behavior on latest Nightly and Firefox.
When I change the name attribute of an image in the DOM it's ignored when saving the image locally.
However Chrome and Edge had the same behavior.
status-firefox51:
--- → affected
status-firefox52:
--- → affected
status-firefox53:
--- → affected
status-firefox54:
--- → affected
Comment 3•8 years ago
|
||
Mass wontfix for bugs affecting firefox 52.
Comment 4•8 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•