Closed Bug 1726801 Opened 3 years ago Closed 2 years ago

Feature to remember the download directory per site doesn't work for standalone image tabs

Categories

(Toolkit :: Downloads API, defect, P3)

70 Branch
Desktop
Unspecified
defect

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox97 --- wontfix
firefox98 --- fixed

People

(Reporter: JanH, Assigned: JanH)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

This is very similar to bug 1481595, but in this case only affecting standalone image tabs (and probably other, similar things).

  1. Open image A from domain A in one tab and save it into folder A.
  2. Open image B from domain B in another tab and save it into folder B.
  3. Switch to tab A again and try saving the image again – it should suggest folder A, but due to this bug you'll get folder B instead.

This has started happening after bug 1554947 was fixed (confirmed via local build).

Assignee: nobody → jh+bugzilla

Having a ReferrerInfo object doesn't automatically imply that we actually have a
non-null referrer, so we need to check for the right thing in order for the
fallback to the source URI to work correctly.

Pre-existing regression so marking as P3/S3 for now...

Severity: normal → S3
Priority: -- → P3
Attachment #9237296 - Attachment description: Bug 1726801 - Fix referrer null-check when determining download directory. r?mak → Bug 1726801 - Part 2: Fix referrer null-check when determining download directory. r?mak
Has Regression Range: --- → yes
See Also: → 1751629
Pushed by mozilla@buttercookie.de:
https://hg.mozilla.org/integration/autoland/rev/f30733fc3490
Part 1: Per-site download folder test for "Save Page As" on standalone image tabs. r=mak
https://hg.mozilla.org/integration/autoland/rev/b033c983a98f
Part 2: Fix referrer null-check when determining download directory. r=mak
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
Flags: in-testsuite+
See Also: → 1759390
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: