Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
This commit is contained in:
@@ -261,6 +261,13 @@ nsHTMLDocument::Reset(nsIURL *aURL)
|
||||
return result;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLDocument::GetContentType(nsString& aContentType) const
|
||||
{
|
||||
aContentType.SetString("text/html");
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLDocument::StartDocumentLoad(nsIURL *aURL,
|
||||
nsIContentViewerContainer* aContainer,
|
||||
|
||||
Reference in New Issue
Block a user