Open Bug 1372552 Opened 5 years ago Updated 3 years ago

Consider not observing mutations in nsContentList when it is dirty


(Core :: DOM: Core & HTML, defect, P3)






(Reporter: smaug, Unassigned)


Right now nsContentList adds itself as an nsIMutationObserver in ctor and removes in dtor, meaning that even if list is dirty and returns early in mutation observing methods, there are always some virtual calls and state checks.
Not observing would mean that mRootNode should probably need to become strong ref.
Priority: -- → P2
Moving to p3 because no activity for at least 1 year(s).
See for more information
Priority: P2 → P3
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.