Checking in Fabian's <hidday@geocities.com> patch for bug 6052. Make element.nodeValue return null in stead of empty string. sr=jst@netscape.com, no reviewer, trivial change

This commit is contained in:
jst%netscape.com 2001-11-21 09:20:52 +00:00
Родитель a351837fd1
Коммит 28ba5f2344
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -875,9 +875,7 @@ nsGenericElement::GetLocalName(nsAWritableString& aLocalName)
NS_IMETHODIMP
nsGenericElement::GetNodeValue(nsAWritableString& aNodeValue)
{
// XXX: Null string
aNodeValue.Truncate();
SetDOMStringToNull(aNodeValue);
return NS_OK;
}