Closed Bug 1662877 Opened 4 years ago Closed 4 years ago

Downloading "svg application/octet-stream" link opens in new window instead of a new tab

Categories

(Firefox :: Downloads Panel, defect)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox80 --- disabled
firefox81 --- affected
firefox82 --- affected

People

(Reporter: clara.guerrero, Unassigned)

References

(Blocks 1 open bug)

Details

Affected versions
Nightly 81.0b5

Affected platforms
Platforms: Mac OS

Preconditions
Reach about:config and set the following pref: browser.download.viewableInternally.enabledTypes = SVG,XML,PDF,WEBP,AVIF

Steps to reproduce

Launch the Firefox browser and reach https://mime.ty.ax/
From the PreBuilt section click the ".svg application/octet-stream" link
From the Open file prompt displayed, select to open with firefox from dropdown list (due to bug https://bugzilla.mozilla.org/show_bug.cgi?id=1662795)
Click the "Ok" button from the Open file prompt

Expected Result:
The SVG file should be downloaded and opened in a new tab in Firefox

Actual Results:
The file opens in a new window

Severity suggestion
I think the severity for this issue should be an S3 since the file opens, just not in a new tab as it should

Summary: "svg application/octet-stream" link opens in new window instead of a new tab → Downloading "svg application/octet-stream" link opens in new window instead of a new tab

By selecting Firefox from the dropdown, this is causing the file to be launched in a new instance of Firefox, which is different from the mechanisms under test here. When the "Open in Firefox" radio button was not shown due to bug 1662795, the test shouldn't continue. I don't know for sure what is expected on Mac OS, but it seems reasonable it would be in a different window instead of the same window as on Windows.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.