Closed
Bug 1243643
Opened 5 years ago
Closed 5 years ago
"Save Image As..." Not working
Categories
(Firefox :: File Handling, defect)
Tracking
()
VERIFIED
FIXED
Firefox 47
| Tracking | Status | |
|---|---|---|
| e10s | m8+ | --- |
| firefox46 | --- | unaffected |
| firefox47 | --- | verified |
People
(Reporter: szubair0, Assigned: mconley)
References
Details
(Keywords: regression, reproducible)
Attachments
(2 files)
|
6.09 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
|
3.41 KB,
patch
|
jld
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0 Build ID: 20160127030236 Steps to reproduce: Updated to 47.0a1 (2016-01-27) Right click on image file Select "Save Image As..." in context menu Choose save directory and click save Actual results: Save dialog closes but file is not downloaded and no indication that download was started No issues with "Save Page As..." or "Save Video As..." or "Save Snapshot As..." I tried again with a new profile and the issue was not resolved. The issue does not occur in 44.0. Expected results: Indication that download has started
| Reporter | ||
Updated•5 years ago
|
Component: Untriaged → File Handling
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Comment 1•5 years ago
|
||
[Tracking Requested - why for this release]: Pushlog: https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=59c5826c1280c0568705b04842e34815da52d6d2&tochange=9bf3cfaeeedc5896c590575eeb8aa57ed530a7fe Regressed by: Bug 1233497 Error on Brouser Console: unsafe CPOW usage forbidden contentAreaUtils.js:404:0
Blocks: 1233497
Status: UNCONFIRMED → NEW
status-firefox47:
--- → affected
tracking-e10s:
--- → ?
Ever confirmed: true
Flags: needinfo?(mconley)
Keywords: regression,
reproducible
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → mconley
Flags: needinfo?(mconley)
| Assignee | ||
Comment 2•5 years ago
|
||
Thanks for filing, Sahil, and thanks for connecting me, Alice0775.
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
| Assignee | ||
Comment 4•5 years ago
|
||
| Assignee | ||
Comment 5•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=1cc1c8cc6ad2
| Assignee | ||
Comment 7•5 years ago
|
||
Comment on attachment 8713349 [details] [diff] [review] Don't pass unsafe CPOWs to saveImageURL when offering to save media to disk Is this sort of stuff still swapped into your brain, jld? Or should I redirect?
Attachment #8713349 -
Flags: review?(jld)
| Assignee | ||
Updated•5 years ago
|
Attachment #8713346 -
Flags: review?(jld)
Comment 8•5 years ago
|
||
Comment on attachment 8713346 [details] [diff] [review] Deprecate unsafe CPOW usage in contentAreaUtils' saveImage Review of attachment 8713346 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, and thanks for adding that function comment.
Attachment #8713346 -
Flags: review?(jld) → review+
Updated•5 years ago
|
Attachment #8713349 -
Flags: review?(jld) → review+
Comment 9•5 years ago
|
||
Aside: if there's a meta-bug for improving our test frameworks to make it easier to write automated regression tests for things like this, it'd be worth cross-referencing this bug.
| Assignee | ||
Comment 10•5 years ago
|
||
It gets tricky, since our mochitests inherit the add-on shims. I will file a bug about seeing if we can start turning that off test by test. Thanks for the idea.
| Assignee | ||
Comment 11•5 years ago
|
||
Actually, come to think of it, a test that exercises the image saving case should have caught this, since the unsafe CPOW access occurred asynchronously inside internalSave. I've filed bug 1244260 to get a test for this written.
See Also: → 1244260
| Assignee | ||
Comment 12•5 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/eb1acf2e2d72f120874f8d624d54e34d8a7ddeec Bug 1243643 - Deprecate unsafe CPOW usage in contentAreaUtils' saveImage. r=jld https://hg.mozilla.org/integration/fx-team/rev/7ae2adc4bb4400d9f6bf52eee2b046c3644c8776 Bug 1243643 - Don't pass unsafe CPOWs to saveImageURL when offering to save media to disk. r=jld
Comment 13•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/eb1acf2e2d72 https://hg.mozilla.org/mozilla-central/rev/7ae2adc4bb44
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Comment 15•5 years ago
|
||
I have reproduced this bug on Nightly 47.0a1 (2016-01-27) on ubuntu 14.04 LTS, 32 bit! The bug's fix is now verified on Latest Nightly 47.0a1! Build ID: 20160203030249 User Agent: Mozilla/5.0 (X11; Linux i686; rv:47.0) Gecko/20100101 Firefox/47.0
QA Whiteboard: [bugday-20160203]
Is this still an m8 blocker? Should this uplift to 46? Thanks.
status-firefox46:
--- → affected
Flags: needinfo?(mconley)
| Assignee | ||
Comment 18•5 years ago
|
||
I think we're still okay here - what broke this was CPOW outlawing, which landed in bug 1233497 in 47. 46 shouldn't be affected.
Flags: needinfo?(mconley)
OK, great.
Comment 20•5 years ago
|
||
I managed to reproduce this bug on an affected build, i.e. 47.a1 (2016-01-27) using Windows 10 x64. This bug is confirmed fixed on 47.0b.3. [testday-20160506]
You need to log in
before you can comment on or make changes to this bug.
Description
•