Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org
This commit is contained in:
@@ -753,6 +753,12 @@ nsXMLContentSink::SetDocumentCharset(nsACString& aCharset)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsISupports *
|
||||
nsXMLContentSink::GetTarget()
|
||||
{
|
||||
return mDocument;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsXMLContentSink::FlushText(PRBool aCreateTextNode, PRBool* aDidFlush)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user