Bug 1184842. Pass aOldValue to all mutation observers. r=peterv

This commit is contained in:
Robert O'Callahan
2015-07-25 18:01:19 +12:00
parent 96a13d9b54
commit 5bde6d4aaa
28 changed files with 67 additions and 35 deletions

View File

@@ -259,7 +259,8 @@ bool nsDOMStringMap::AttrToDataProp(const nsAString& aAttr,
void
nsDOMStringMap::AttributeChanged(nsIDocument *aDocument, Element* aElement,
int32_t aNameSpaceID, nsIAtom* aAttribute,
int32_t aModType)
int32_t aModType,
const nsAttrValue* aOldValue)
{
if ((aModType == nsIDOMMutationEvent::ADDITION ||
aModType == nsIDOMMutationEvent::REMOVAL) &&