Saving or downloading an image from a URL incorrectly uses an updated version if you have multiple tabs with same URL but different content
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
People
(Reporter: rory.costello, Unassigned)
Details
Attachments
(1 file)
295.74 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
I develop a web site that shows an image, which is opened in Firefox with a URL (e.g. https://mysite.com/images/test.png). I then re-run the back end script that changes/updates this image. I open a new Firefox tab and open this URL - I see the new image. If I go back to the first Firefox tab and choose Save / Copy, the second image is copied or saved, not the first, which is confusing to the user (me) because what I copied is not what actually gets copied
Actual results:
Only image from second Firefox tab is downloaded or saved
Expected results:
Even though you have multiple tabs with the same name, the content of the appropriate tab clicked on should be saved / downloaded - what you see is what you should get?
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Session Restore' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Hey rory,
Can you test the issue while in Safe Mode? You can find helpful info here : https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode .
Also a fresh new profile could help. You can find more about creating a new profile here : https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile .
If possible, you can test this issue on the nightly build as well. Download the build from : https://www.mozilla.org/en-US/firefox/nightly/all/ .
Reporter | ||
Comment 3•3 years ago
|
||
Hey Andrei, thanks for the follow-up.
Tested and reproduced same results with both Firefox 89.0 in safe mode as well as Firefox Nightly 91.0a1 (2021-06-15, 64 bit).
I appreciate it's a rare case and am not too troubled by the severity of this bug ... except ... it slightly offends the purist / developer in me, and thought you guys might like to be aware of it, if nothing else.
Screen-cap of bug reproduction in both browsers (can't seem to be able to attach images here?): https://imgur.com/a/zmyLfs9
Comment 4•3 years ago
|
||
Since this already has a component set the dev team are aware and hopefully have a better respons on it than me.
Updated•5 months ago
|
Comment 5•5 months ago
|
||
Which http headers is the server sending here? You can retrieve them from the Web DevTools Network panel.
In particular it would be good to know if the site is properly asking the browser to not cache the content, See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control
Comment 6•4 months ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:mak, since the bug has recent activity, could you please find another way to get the information or close the bug as INCOMPLETE
if it is not actionable?
For more information, please visit BugBot documentation.
Comment 7•4 months ago
|
||
sounds like the same as bug 1472482
Description
•