Closed
Bug 308632
Opened 20 years ago
Closed 20 years ago
Python scripts cannot be rendered as plain text.
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: mvanier, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050914 Debian/1.7.11-1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050914 Debian/1.7.11-1
This is more of a feature request or misfeature-removal request than a bug report.
Previously, links to raw python scripts would display the text of the script in
a browser window. Now, the MIME type application/x-python is invoked, which (by
default) starts up a text editor with the script in the editor window. This
takes substantially more time than just displaying the file as text. However,
there is no option in the "helper applications" setup screen to allow a
particular MIME type to be treated as raw text. This makes sense in general,
since many MIME types are not raw text. However, python scripts are, and I
would like the option of simply displaying them in the browser window (which is
what was done before the MIME type existed). I tried removing the MIME type
entirely, but that had no effect -- the handler was invoked anyway.
Reproducible: Always
Steps to Reproduce:
1. Enter the URL of any python script.
2. Watch what happens.
Actual Results:
A popup window comes up, asking you what you want Mozilla to do with the file.
The option "display as text" does not exist -- you have to choose a helper
application or save the file to disk.
Expected Results:
It should include an extra option "render as text/plain". This option would
fail if the file could not be interpreted as raw text. If it could, then the
text of the file would be displayed in the browser.
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 57342 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•