Closed
Bug 115210
Opened 24 years ago
Closed 24 years ago
Save Page As for a plain text file isn't intelligent
Categories
(Core Graveyard :: File Handling, defect, P3)
Core Graveyard
File Handling
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 115440
mozilla1.1alpha
People
(Reporter: bugzilla, Assigned: bugs)
References
()
Details
(Keywords: regression)
okay, am not sure if this is the same thing as bug 115207 --but dup as needed.
1. go view a plain text file, eg, http://hopey.mcom.com/tests/plain_text.txt
2. hit accel+S or select File > Save Page As
3. look at the resulting file picker:
* the filename field has "plain_text.txt.html"
* the selected filter is "Web Page Complete"
expected: the filename shouldn't have the extension [bug 115207], but it also
should be smart enough to have "Text File" as the selected filter [different
from bug 115207, methinks].
| Reporter | ||
Comment 1•24 years ago
|
||
could this and possibly bug 115201 be dependent on bug 31519, perchance?
| Reporter | ||
Comment 2•24 years ago
|
||
correction in comment #1: i meant bug 115207 [not 115201].
| Reporter | ||
Comment 3•24 years ago
|
||
bug 115087 is similar, too, except it's for an image url...
Comment 4•24 years ago
|
||
This is in fact identical to bug 115087 in most relevant ways... if you try to
actually save the text file, you get the HTML that we create:
<html><body><pre> all the text </pre></body></html>
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.1
Comment 5•24 years ago
|
||
I feel that WebBrowserPersist should check document.contentType and do something
reasonable for cases when that type is not HTML. This same bug, for example,
makes saving a CSS or JS file that's still valid CSS or JS utterly impossible.
This makes web development and testing in Mozilla difficult and QA painful.
Updated•24 years ago
|
Keywords: regression
| Assignee | ||
Comment 6•24 years ago
|
||
Fixed by patch in 115440.
*** This bug has been marked as a duplicate of 115440 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•