Closed Bug 1608075 Opened 6 years ago Closed 7 months ago

Display text/* (for example, text/x-java) in browser instead of prompting to download

Categories

(Firefox :: File Handling, enhancement, P3)

72 Branch
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 196078

People

(Reporter: bugzilla.mozilla.org-6h11, Unassigned)

Details

(Keywords: parity-chrome)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Steps to reproduce:

Clicked on a link to https://hc.apache.org/httpcomponents-client-4.5.x/httpclient/examples/org/apache/http/examples/client/ProxyTunnelDemo.java (more links at https://hc.apache.org/httpcomponents-client-4.5.x/examples.html) which has Content-Type: text/x-java

Actual results:

Download prompt appeared

Expected results:

Firefox itself should display the file because it has a text/* content type

seems duplication of Bug 57342

Component: Untriaged → File Handling
Keywords: parity-chrome

It's very likely the same as Bug 57342, but that bug is very old and has a lot of discussion, so working there may be a bit of a nightmare. I'd rather suggest to keep both.
It's interesting to note how Chrome just opens these text/* as text/plain, while Bug 57342 tried for years to come up with some kind of UI... IT would be nice to understand what are their heuristics here.

Severity: normal → N/A
Priority: -- → P3
Flags: needinfo?(masonrytyler)

The comment 0 links are 404s, but bug 196078 fixed this as described, I think.

Status: UNCONFIRMED → RESOLVED
Closed: 7 months ago
Duplicate of bug: 196078
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.