Bug 1092333 - nsDOMStringMap::NamedDeleter doesn't always write its out-parameter. r=bzbarsky.
This commit is contained in:
@@ -126,11 +126,13 @@ nsDOMStringMap::NamedDeleter(const nsAString& aProp, bool& found)
|
||||
{
|
||||
// Currently removing property, attribute is already removed.
|
||||
if (mRemovingProp) {
|
||||
found = false;
|
||||
return;
|
||||
}
|
||||
|
||||
nsAutoString attr;
|
||||
if (!DataPropToAttr(aProp, attr)) {
|
||||
found = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user