Bug 330872: Make nsGenericDOMDataNode::AppendData send out proper notifications and add nsIContent::AppendText to allow appending text without sending out notifications. r/sr=bz
This commit is contained in:
@@ -3534,6 +3534,15 @@ nsGenericElement::SetText(const PRUnichar* aBuffer, PRUint32 aLength,
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsGenericElement::AppendText(const PRUnichar* aBuffer, PRUint32 aLength,
|
||||
PRBool aNotify)
|
||||
{
|
||||
NS_ERROR("called nsGenericElement::AppendText");
|
||||
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
PRBool
|
||||
nsGenericElement::TextIsOnlyWhitespace()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user