зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
a351837fd1
Коммит
28ba5f2344
|
@ -875,9 +875,7 @@ nsGenericElement::GetLocalName(nsAWritableString& aLocalName)
|
|||
NS_IMETHODIMP
|
||||
nsGenericElement::GetNodeValue(nsAWritableString& aNodeValue)
|
||||
{
|
||||
// XXX: Null string
|
||||
|
||||
aNodeValue.Truncate();
|
||||
SetDOMStringToNull(aNodeValue);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче