Closed
Bug 137240
Opened 23 years ago
Closed 22 years ago
document.load() should be able to load documents with non-XML mime type
Categories
(Core :: XML, defect)
Core
XML
Tracking
()
RESOLVED
DUPLICATE
of bug 194176
Future
People
(Reporter: hjtoi-bugzilla, Assigned: hjtoi-bugzilla)
References
Details
Apparently IE can do this. It should be pretty straight forward to do this
(using the same trick as was done with XMLHttpRequest and overrideMimeType()
method, but we need to figure out if the override should be always on, and what
kind of document does IE give you if you try to load HTML or text or something...).
Comment 1•23 years ago
|
||
*** Bug 137280 has been marked as a duplicate of this bug. ***
Comment 3•23 years ago
|
||
There are already many cases where Mozilla requires a proper Content-Type even
though IE tries to apply DWIM. Why would Mozilla "support" bad server
configuration in this particular case?
QA Contact: rakeshmishra → petersen
| Assignee | ||
Comment 4•23 years ago
|
||
It is not only server issue, if you try to load an XML file with .foo extension
from your local disc it would also fail.
Also, document.load() is Microsoft extension, so we should try to follow them as
closely as possible.
| Assignee | ||
Comment 6•23 years ago
|
||
Boris is working on DOM 3 Load & Save, so he might fix this in the process.
Target Milestone: --- → Future
| Assignee | ||
Comment 7•22 years ago
|
||
*** This bug has been marked as a duplicate of 194176 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•