mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 83635 - Detach bindings when an element is removed from the document. r+a=sicking
This commit is contained in:
parent
fa881a64c7
commit
971b781063
@ -649,6 +649,7 @@ nsBindingManager::RemovedFromDocumentInternal(nsIContent* aContent,
|
||||
}
|
||||
|
||||
if (binding) {
|
||||
binding->PrototypeBinding()->BindingDetached(binding->GetBoundElement());
|
||||
binding->ChangeDocument(aOldDocument, nsnull);
|
||||
SetBinding(aContent, nsnull);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user