Make sure documents have a content type at creation time. Bug 311218,

r=sicking, sr=jst
This commit is contained in:
bzbarsky@mit.edu
2006-04-21 01:24:44 +00:00
parent 8dd84fc40c
commit da89472a5f
6 changed files with 23 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ class nsXMLDocument : public nsDocument,
public nsIChannelEventSink
{
public:
nsXMLDocument();
nsXMLDocument(const char* aContentType = "application/xml");
virtual ~nsXMLDocument();
NS_DECL_ISUPPORTS_INHERITED