diff --git a/dom/html/nsDOMStringMap.cpp b/dom/html/nsDOMStringMap.cpp index afe1cd69f16d..7b9eb00ddc9f 100644 --- a/dom/html/nsDOMStringMap.cpp +++ b/dom/html/nsDOMStringMap.cpp @@ -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; }