Display text/* (for example, text/x-java) in browser instead of prompting to download
Categories
(Firefox :: File Handling, enhancement, P3)
Tracking
()
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
Comment 1•4 years ago
|
||
seems duplication of Bug 57342
Comment 2•4 years ago
|
||
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.
Updated•4 years ago
|
Description
•