Open Bug 1608075 Opened 4 years ago Updated 4 years 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

()

UNCONFIRMED

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
You need to log in before you can comment on or make changes to this bug.