Bug 1793485 Comment 5 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

oh, the issue is different after all.
https://searchfox.org/mozilla-central/rev/560b7b1b174ed36912b969eee0c1920f3c59bc56/dom/base/nsStubMutationObserver.cpp#103-109 doesn't remove the wrapper from the list, but some other mutation observers do remove themselves from the list, and when they do removal, there can be deleted objects around.
We need a aNode->RemoveMutationObserver(this); call there

Or, remove mutation observer in https://searchfox.org/mozilla-central/rev/560b7b1b174ed36912b969eee0c1920f3c59bc56/toolkit/components/satchel/nsFormFillController.cpp#203-213
oh, the issue is different after all, sort of.
https://searchfox.org/mozilla-central/rev/560b7b1b174ed36912b969eee0c1920f3c59bc56/dom/base/nsStubMutationObserver.cpp#103-109 doesn't remove the wrapper from the list, but some other mutation observers do remove themselves from the list, and when they do removal, there can be deleted objects around.
We need a aNode->RemoveMutationObserver(this); call there

Or, remove mutation observer in https://searchfox.org/mozilla-central/rev/560b7b1b174ed36912b969eee0c1920f3c59bc56/toolkit/components/satchel/nsFormFillController.cpp#203-213

Back to Bug 1793485 Comment 5