mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 10:25:01 +00:00
Truncate the output string in nsNodeInfo::GetQualifiedName() before appending to it. r=jag, sr=me
This commit is contained in:
parent
2288ffb528
commit
e21ba6730a
@ -126,6 +126,8 @@ nsNodeInfo::GetQualifiedName(nsAWritableString& aQualifiedName)
|
||||
mInner.mPrefix->ToString(aQualifiedName);
|
||||
|
||||
aQualifiedName.Append(PRUnichar(':'));
|
||||
} else {
|
||||
aQualifiedName.Truncate();
|
||||
}
|
||||
|
||||
const PRUnichar *name;
|
||||
|
Loading…
Reference in New Issue
Block a user