зеркало из https://github.com/mozilla/pjs.git
Patching GetAttribute (the default was returning a value that indicated that the
attribute was present, and it should have been returning NOT THERE as a default).
This commit is contained in:
Родитель
b9aa25e827
Коммит
ebb3282a61
|
@ -902,7 +902,7 @@ nsRDFElement::SetAttribute(const nsString& aName,
|
|||
NS_IMETHODIMP
|
||||
nsRDFElement::GetAttribute(const nsString& aName, nsString& aResult) const
|
||||
{
|
||||
nsresult rv = NS_CONTENT_ATTR_NO_VALUE;
|
||||
nsresult rv = NS_CONTENT_ATTR_NOT_THERE;
|
||||
|
||||
if (mAttributes) {
|
||||
AttributeKey key(aName);
|
||||
|
|
Загрузка…
Ссылка в новой задаче